drawself definition 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

User avatar
olgarry
Not too shy to talk
Not too shy to talk
Posts: 26
Joined: Sat Jan 14, 2006 10:23

drawself definition StaticImage

Postby olgarry » Fri Feb 24, 2006 11:16

Hello,

Can anyone tell me where i can find the source of the function "drawself" for StaticImage component ?
I downloaded the sources but i've just found the function "populateRenderCache" (seems to be old version of "drawself").

User avatar
Dalfy
CEGUI Team (Retired)
Posts: 130
Joined: Tue Oct 11, 2005 16:13
Location: Paris, FRANCE
Contact:

Postby Dalfy » Fri Feb 24, 2006 16:47

There is no method named drawself in cegui_mk2-0.4.1 and cvs HEAD version

Code: Select all

bash-3.00$ for name in `find -name "*.h"`; do grep "drawself" $name ; done
bash-3.00$ for name in `find -name "*.cpp"`; do grep "drawself" $name ; done
bash-3.00$

User avatar
olgarry
Not too shy to talk
Not too shy to talk
Posts: 26
Joined: Sat Jan 14, 2006 10:23

Postby olgarry » Fri Feb 24, 2006 19:46

I'm using CEGUI given with OGRE 1.0.6. Should i have to update my version of CEGUI ?

User avatar
olgarry
Not too shy to talk
Not too shy to talk
Posts: 26
Joined: Sat Jan 14, 2006 10:23

Postby olgarry » Fri Feb 24, 2006 23:13

Erf , apparently OGRE3D provide CEGUI mk2 0.3.x .That's why some of my CEGUI include files don't match with CEGUI documentation.

I'm using OGRE3D 1.0.6. I'd like using OGRE3D 1.0.7 with CEGUI mk2 0.4.1. But don't really understand what to do.

What i need to recompile exactly ? Only OGRE3D or both OGRE3D and CEGUI ?

User avatar
RenjiKage
Just popping in
Just popping in
Posts: 10
Joined: Sat Nov 26, 2005 15:56
Location: Kokubunji-shi, Tokyo-to, Japan

Postby RenjiKage » Sat Feb 25, 2006 02:44

1) Download the Ogre SDK 1.0.7
(Optional: Delete all CEGUI files (.h, .lib, .dll) in the SDK so you can't get filename conflicts)
2) Download the CEGUI 0.4.1 code
3) Compile CEGUI and the Ogre renderer
4) Use it! :)

I think that should work fine. In fact, it does for me (ok, I am using Ogre 1.0.6 but that makes no difference).

User avatar
martignasse
Just can't stay away
Just can't stay away
Posts: 227
Joined: Thu Apr 14, 2005 08:10
Location: Lyon, FRANCE

Postby martignasse » Sat Feb 25, 2006 08:46

There is a wiki page on this subject :wink:

Update the OgreSDK to use CEGUI SDK 0.4.1

hope it help.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 4 guests