drawSelf VS populateRenderCache

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

User avatar
vinnythetrue
Not too shy to talk
Not too shy to talk
Posts: 21
Joined: Wed Aug 10, 2005 10:29

drawSelf VS populateRenderCache

Postby vinnythetrue » Fri Oct 06, 2006 11:11

Hello guys !

Recently, I converted the rendering stuff of some of my custom widgets to renderCache oriented instead of drawSelf, as it is preconized in the 4.0 (I think) version. So far, am I right ?

Well, now that the visuals of my widgets are no longer updated every frame I have some clipping bugs. If the widget is not entirely clipped, images it draws are entirely visible while I scroll the pane in which I put these widgets...

I tried with or without a clipped rect in the cacheImage method, both results are unappropriate, but slightly different tough... Naturally, because they heritate from PushButton, everything comes back to normal when I pass the mouse among them, due to the requestDraw asked by the PushButton.

Did I miss something somewhere ?[/i]

Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 7 guests