IGUISkin changes

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
Halan
Posts: 447
Joined: Tue Oct 04, 2005 8:17 pm
Location: Germany, Freak City
Contact:

IGUISkin changes

Post by Halan »

You may have seen that I have been working with Klaskers GUI for some time.

I have some problems though. IGUISkin needs sperate functions for drawing ProgressBars and CheckBoxes. Using the same Background for edit boxes and checkBoxxes just doesn't make it easy to produce a nice looking GUI.

greets,
Halan
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

You're getting a pointer to the element that wants to be drawn. Just check the type of the element and choose how you want to draw it.
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
Halan
Posts: 447
Joined: Tue Oct 04, 2005 8:17 pm
Location: Germany, Freak City
Contact:

Post by Halan »

Sylence wrote:You're getting a pointer to the element that wants to be drawn. Just check the type of the element and choose how you want to draw it.
I thought about that too but seemed as a workaround for me...
Sylence
Posts: 725
Joined: Sat Mar 03, 2007 9:01 pm
Location: Germany
Contact:

Post by Sylence »

Pointer to the element which wishes to draw this icon. This parameter is usually not used by IGUISkin, but can be used for example by more complex implementations to find out how to draw the part exactly.
This is the purpose of this parameter
Software documentation is like sex. If it's good you want more. If it's bad it's better than nothing.
Post Reply