Hey
I was checking the documentation the other day and I found a function in IGUIStaticText called SetText(), but now the documentation has been updated I can't find it. The addStaticText() function in IGUIEnviroment says that the function exists so I'm a little perplexed.
Changing static text
-
thesmileman
- Posts: 360
- Joined: Tue Feb 10, 2004 2:20 am
- Location: Lubbock, TX
If you ever loose a function in the API click on the functions link at the top and it will take you to a page with a list of all of the functions. Here is the link:
http://irrlicht.sourceforge.net/docu/functions.html
http://irrlicht.sourceforge.net/docu/functions.html
It's there.. though, it's in the IGUIElement class that IGUIStaticText bases off of.
Code: Select all
virtual void irr::gui::IGUIElement::setText ( const wchar_t * text ) [inline, virtual]
Sets the new caption of this element.
Crud, how do I do this again?