Changing buttons font color

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
Valhalas
Posts: 5
Joined: Mon Mar 19, 2012 9:01 pm

Changing buttons font color

Post by Valhalas »

Hello,
I searched around for a while now and didn't find the suitable answer.
Is there really no way of changing buttons font color individually?
I want buttons text to change color, when user hovers on it, but it seems, that you can only set font color for ALL buttons. :cry:
Can anyone help me with this?
CuteAlien
Admin
Posts: 9935
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Changing buttons font color

Post by CuteAlien »

The only way to do that right now is using your own button-class. You can copy CGUIButton.cpp/.h rename the files and the classes and add that functionality. Otherwise that is not possible for now, sorry.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply