1 registered members (rki),
405
guests, and 1
spider. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: "pan_create" - big problem
[Re: Spirit]
#136319
09/11/07 08:15
09/11/07 08:15
|
Joined: Aug 2005
Posts: 390 Florida
oldschoolj
Senior Member
|
Senior Member
Joined: Aug 2005
Posts: 390
Florida
|
sorry bud, but it's not wrong, and even if thats what the manual says, it works flawlessly the way I have my code. And not only that, but it works for 36 different button counters, at the same time, so.... heh. option a:
PANEL* some_panel = { ..... .... flags = VISIBLE; }
option b: PANEL* dummy_panel;
dummy_panel = pan_create ("content.....; flags |= VISIBLE;", layer);
Last edited by oldschoolj; 09/11/07 08:23.
you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe.
__________________________________
yours truly
|
|
|
Re: "pan_create" - big problem
[Re: Spirit]
#136320
09/11/07 11:22
09/11/07 11:22
|
Joined: Jul 2006
Posts: 150 Deutschland/Germany, nahe Hamb...
dennis
OP
Member
|
OP
Member
Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
|
Thanks for all the answers..!
To MrCode: The file format PNG is supported by the engine. (see manual: File formats -> "Supported image formats are PCX, BMP, TGA, DDS, PNG, JPG, and WAD")
I also tried with BMAP....did not work, too.
To Ottawa: I tried that. Did not work, too.
To hack-panther: Well I probably have to use a dummy panel for each function I want to call, too.
To Spirit: I have now tried with a background image and a certain size....it does not work......
------------------------------------
Oldschoolj, you say your panels are working..can you post an example panel?
|
|
|
Re: "pan_create" - big problem
[Re: jcl]
#136322
09/11/07 16:57
09/11/07 16:57
|
Joined: Aug 2005
Posts: 390 Florida
oldschoolj
Senior Member
|
Senior Member
Joined: Aug 2005
Posts: 390
Florida
|
i actually had no diea that was the wrong way to do it, because ive never recieved an error from doign it that way..... but thanks for pointing it out. And to the guy that I said it wasnt the wrong way of doing it sorry man, I'm not that knowledgable of a coder. I just saw that he had flags = instead of flags |=, and mine worked so i figured he had his wrong LOL
you can find me with my face in the keyboard, unshaven, listening to some nameless techno tragedy, and hashing through code over a cold cup a stale joe.
__________________________________
yours truly
|
|
|
|