Creating custom controls guide?
Posted: Mon Mar 10, 2008 11:32
Hi all,
I´m trying to build a mesh browser in ogre. I just need for this a window, a scrollbox (I just want one row) and some static images that will be generated dynamically depending on the width of the window.
I have been checking the docs, etc... and can´t find any tutorial about creating a custom control. I would like to create this as a custom control and make the control update the static images authomatically every 1/30 seconds to not eat too much cpu. This way I could add it to a Window, and athomatically should work without more intervention.
Could anybody give any tip about this?
Thanks in advance,
HexDump.
I´m trying to build a mesh browser in ogre. I just need for this a window, a scrollbox (I just want one row) and some static images that will be generated dynamically depending on the width of the window.
I have been checking the docs, etc... and can´t find any tutorial about creating a custom control. I would like to create this as a custom control and make the control update the static images authomatically every 1/30 seconds to not eat too much cpu. This way I could add it to a Window, and athomatically should work without more intervention.
Could anybody give any tip about this?
Thanks in advance,
HexDump.