editbox background 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
lion
Posts: 12
Joined: Wed Dec 10, 2008 1:34 pm

editbox background color

Post by lion »

Hello everybody.

Can you help me: i did not found the way to change background color of a TextBox. Is there a simple solution of this problem?

For example, there is the method setBackgroundColor for a StaticText. But there is no analogue method for TextBox.
lion
Posts: 12
Joined: Wed Dec 10, 2008 1:34 pm

Post by lion »

I understand - nobody knows... :)
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

This isn't currently possible, but if you add it to the feature request tracker then someone will add it eventually.
Currently it uses EGDC_WINDOW, you can either edit this in CGUIEditBox.cpp, or turn the border off and draw your own border and background with IGUISkin::draw3DSunkenPane
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
lion
Posts: 12
Joined: Wed Dec 10, 2008 1:34 pm

Post by lion »

thank you
Post Reply