|
#include <CScrollBar.h>

Public Member Functions | |
| CScrollBar (int layoutSize=16, CLayoutAlign layoutAlign=SP_ALIGN_RIGHT) | |
| CScrollBar (int x, int y, int w, int h) | |
| virtual bool | preferredSize (int &w, int &h) |
| int | handle (int event) |
| Custom handle() method - event processing. | |
| virtual std::string | className () const |
| Returns widget class name (internal SPTK RTTI). | |
Protected Member Functions | |
| void | draw () |
| Custom draw method to support SPTK themes. | |
Protected Attributes | |
| int | m_pushed |
| flag to detect pushed button | |
| sptk::CScrollBar::CScrollBar | ( | int | layoutSize = 16, |
|
| CLayoutAlign | layoutAlign = SP_ALIGN_RIGHT | |||
| ) | [inline] |
Constructor in SPTK style
| layoutSize | int, widget align in layout | |
| layoutAlign | CLayoutAlign, widget align in layout |
| sptk::CScrollBar::CScrollBar | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) | [inline] |
Constructor in FLTK style
| x | int, x-position | |
| y | int, y-position | |
| w | int, width | |
| h | int, height |
| virtual bool sptk::CScrollBar::preferredSize | ( | int & | w, | |
| int & | h | |||
| ) | [virtual] |
Computes the optimal progress bar size
| w | int&, input - width offered by the program, output - width required by widget | |
| h | int&, input - height offered by the program, output - height required by widget |
Reimplemented from sptk::CLayoutClient.