Hello everybody.
How do you use the 'enableOverrideColor' function? I'm always getting some errors. This is my code:
skin->enableOverrrideColor(true);
The compiler says it's not a member of IGUISkin.
Could somebody please give me an example of how to use it?
Thanks in advance.
How to use 'enableOverrideColor'?
It's not a member of IGUISkin.
It's a member of IGUIStaticText. You use it in conjuction with IStaticText->setOverrideColor(SColor).
You need to apply an override for each element. If you want to apply a color to all Skin items, you want to use IGUISkin->setColor();
Code: Select all
virtual void irr::gui::IGUIStaticText::enableOverrrideColor ( bool enable ) [pure virtual]
You need to apply an override for each element. If you want to apply a color to all Skin items, you want to use IGUISkin->setColor();
Crud, how do I do this again?