very confused with StaticImage....

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

cutenoob
Not too shy to talk
Not too shy to talk
Posts: 23
Joined: Tue Jul 11, 2006 02:28
Location: Shanghai

very confused with StaticImage....

Postby cutenoob » Thu Sep 28, 2006 13:58

Here is the problem...

StaticImage(root)
* |
* |
* StaticImage(panel)
* | |
* | |
* button1 button2

panel is inherit root ,, tow buttons are inherit panel

-------------------

well,,,First I set a image to root as background,,,next I do the same thing Set a Image to panel,but problem comes..All the button disappeared. :shock: :shock: That sound funny,but it really disappeared....

I'm pretty sure my code is propriety,,and the layout file is fine...

so what' wrong ? Is something messed render gradation ? or can't set tow images in one scene ? or if the parent have a image the son unallowed set image ??

any infomation will be appreciate :) :)

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

Postby Pompei2 » Tue Oct 03, 2006 21:48

what i think happens is that the buttons are still there, but UNDER the static Image. I think when you set the image to panel, CEGUI sets it to be the topmost. try to draw the buttons half on the static image to see if what i say is true ?


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 15 guests