change the color of mygui

poncio

01-02-2009 12:05:29

Hi,

I want to know "can I change the color of som widgets of mygui?"
The color of mygui is blue, but i want to put it red or some other color.

Other question is, can I put a picture in the buttons of mygui???.

thanks.

Revy

01-02-2009 13:28:16

You can edit the file "core.png" in the directory "MyGUI_Media".
For example here is the file I used for a project: http://img522.imageshack.us/img522/1840/coreos1.png

Fort the second question I have no idea, sorry. But I would like to know the answer ^^

my.name

01-02-2009 14:07:05

>> Other question is, can I put a picture in the buttons of mygui???.

1.
MyGUI::ButtonPtr button = ... //create
MyGUI::StaticImagePtr image = button->createWidget ... // create
image->setNeedMouse(false); // for pick


2. in skin, for exemple
MultiListButton

poncio

02-02-2009 09:31:31

how do I edit core.png?? paint??? or another app??

thanks.

my.name

02-02-2009 10:30:59

yes

hpesoj

03-02-2009 13:47:41

Check out GIMP. You really don't want to use MS Paint for anything aside from pixel art.