Public Member Functions | |
scroll_bar (unsigned int max=100, panel *parent=0) | |
void | set_max (unsigned int max) |
void | set (unsigned int val) |
unsigned int | value () const |
void | up () |
void | down () |
void | resize (unsigned int size) |
virtual void | draw () |
virtual void | show () |
Private Member Functions | |
event::result | at_mouse (const mouse &ev) |
Private Attributes | |
mini_button | up_ |
mini_button | down_ |
DirectT::line_type | line_ |
bool | zero_ |
I use strange code here to avoid conflicts between refreshing scheme and internal logic
|
|
|
|
|
|
|
specific version of draw, specially for NDK engine Reimplemented from ndk::panel. |
|
|
|
|
|
|
|
|
|
|
|
|
|
down control button of scrollbar |
|
scrolling area with the slider |
|
up control button of scrollbar |
|
are line_ hidden or not? |