Build a custom skinned scroll bar

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
Daystar
Posts: 58
Joined: Tue Jul 17, 2007 3:53 pm
Contact:

Build a custom skinned scroll bar

Post by Daystar »

I was wondering how would you go about programming a custom scroll bar to a list box or a window?
DayStar
Moo
Posts: 30
Joined: Fri Jan 09, 2009 10:07 pm

Post by Moo »

Could you be a little more specific?
Are you talking about the built-in GUI namespace (irr::gui) or about a Win32 window? I assume you're talking about irr::gui. In this case, have a look at the API documentation:
[*]Scroll bar
[*]Skin
Good luck!
rogerborg wrote:Answering a noob question is like having sex with a midget: there's a wonderfully satisfying sensation of being a giant.
arras
Posts: 1622
Joined: Mon Apr 05, 2004 8:35 am
Location: Slovakia
Contact:

Post by arras »

You simply inherit from IGUIUnknown. Then you just write code which move marker along some line and store its relative position as integer or float which user can get via some kind of get() function.
Post Reply