Changing static text

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Tyn
Posts: 932
Joined: Thu Nov 20, 2003 7:53 pm
Location: England
Contact:

Changing static text

Post by Tyn »

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.
thesmileman
Posts: 360
Joined: Tue Feb 10, 2004 2:20 am
Location: Lubbock, TX

Post by thesmileman »

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
saigumi
Posts: 921
Joined: Fri Aug 22, 2003 11:31 am
Location: St. Louis, MO USA
Contact:

Post by saigumi »

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?
Guest

Post by Guest »

Oh right, thanks a lot for that I was getting a little frustrated there :o
patlecat
Posts: 27
Joined: Wed Feb 18, 2004 11:19 am
Location: Switzerland

Post by patlecat »

I usually do a total or global search over the irrlicht sources in case I cannot find the info needed. Raw but allways gives results - Even if you don't find it :wink:
Post Reply