Public Types | |
enum | orientation { HORZ, VERT } |
Public Member Functions | |
NCScrollbar (const NCWidget &parwid, NCursesWindow &par, wpos p, unsigned l, orientation orient) | |
virtual | ~NCScrollbar () |
void | set (unsigned tot, unsigned vis, unsigned start) |
Private Member Functions | |
void | adjust () |
void | draw_line (unsigned p, unsigned l, chtype ch=0) |
void | draw_bar (unsigned p, unsigned l) |
void | draw () |
Private Attributes | |
chtype | ch_forward |
chtype | ch_backward |
chtype | ch_barbeg |
chtype | ch_barend |
chtype | ch_barone |
const NCWidget & | parw |
NCursesWindow * | win |
orientation | type |
unsigned | len |
unsigned | total |
unsigned | visible |
unsigned | at |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|