![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXScrollbar.h>
Inheritance diagram for FXScrollbar:
Public Types | |
enum | { ID_TIMEWHEEL = FXWindow::ID_LAST, ID_AUTOINC_LINE, ID_AUTODEC_LINE, ID_AUTOINC_PAGE, ID_AUTODEC_PAGE, ID_AUTOINC_PIX, ID_AUTODEC_PIX, ID_LAST } |
Public Methods | |
FXScrollbar (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=SCROLLBAR_VERTICAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
Construct scroll bar. | |
virtual FXint | getDefaultWidth () |
Return default width. | |
virtual FXint | getDefaultHeight () |
Return default height. | |
void | setRange (FXint r) |
Set content size range. | |
FXint | getRange () const |
Return content size range. | |
void | setPage (FXint p) |
Set viewport page size. | |
FXint | getPage () const |
Return page size. | |
void | setLine (FXint l) |
Set scoll increment for line. | |
FXint | getLine () const |
Return line increment. | |
void | setPosition (FXint p) |
Change current scroll position. | |
FXint | getPosition () const |
return scroll position | |
void | setHiliteColor (FXColor clr) |
Change highlight color. | |
FXColor | getHiliteColor () const |
Return highlight color. | |
void | setShadowColor (FXColor clr) |
Change shadow color. | |
FXColor | getShadowColor () const |
Return shadow color. | |
FXColor | getBorderColor () const |
Change border color. | |
void | setBorderColor (FXColor clr) |
Return border color. | |
FXuint | getScrollbarStyle () const |
Change the scrollbar style. | |
void | setScrollbarStyle (FXuint style) |
Get the current scrollbar style. | |
virtual void | save (FXStream &store) const |
Save to stream. | |
virtual void | load (FXStream &store) |
Load from stream. | |
virtual | ~FXScrollbar () |
Destructor. |