Page 1 of 1

drawself definition StaticImage

Posted: Fri Feb 24, 2006 11:16
by olgarry
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").

Posted: Fri Feb 24, 2006 16:47
by Dalfy
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$

Posted: Fri Feb 24, 2006 19:46
by olgarry
I'm using CEGUI given with OGRE 1.0.6. Should i have to update my version of CEGUI ?

Posted: Fri Feb 24, 2006 23:13
by olgarry
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 ?

Posted: Sat Feb 25, 2006 02:44
by RenjiKage
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).

Posted: Sat Feb 25, 2006 08:46
by martignasse
There is a wiki page on this subject :wink:

Update the OgreSDK to use CEGUI SDK 0.4.1

hope it help.