|
#include <CThemeScrollBar.h>
Public Types | |
| enum | type { TROUGH, SLIDER } |
| Type of the scroll bar image. More... | |
Public Member Functions | |
| CScrollBarImages () | |
| Default constructor. | |
| void | load (CThemeScrollBarType atype, bool desaturateInactiveButtons, bool externalFile=false) |
| Loads the images from SPTK theme files. | |
| void | clear () |
| Clears the scrollbar images for the default theme. | |
Public Attributes | |
| CThemeScrollBarType | m_orientation |
| CThemeImageCollection | m_parts [2] |
| Scrollbar parts. | |
| CThemeImageCollection | m_steppers [2] |
| Stepper buttons, 0/1 - (left or upper)normal/pressed, 2/3 - (right or buttom)normal/pressed. | |
| void sptk::CScrollBarImages::load | ( | CThemeScrollBarType | atype, | |
| bool | desaturateInactiveButtons, | |||
| bool | externalFile = false | |||
| ) |
Loads the images from SPTK theme files.
| atype | CThemeScrollBarType, scroll bar type | |
| desaturateInactiveButtons | bool, if true then inactive buttons are desaturated | |
| externalFile | bool, if true then the file belongs to GTK theme and not to SPTK theme tar |