|
The complete set of four images to draw a scroll bar. More...
#include <CThemeScrollBar.h>
Public Types | |
| enum | type { TROUGH , SLIDER } |
| Type of the scroll bar image. More... | |
Public Member Functions | |
| CScrollBarImages () noexcept | |
| Default constructor. | |
| void | load (CThemeScrollBarType atype, bool desaturateInactiveButtons, bool externalFile=false) |
| Loads the images from SPTK theme files. More... | |
| void | clear () |
| Clears the scrollbar images for the default theme. | |
Public Attributes | |
| CThemeScrollBarType | m_orientation |
| CThemeImageCollection | m_parts [3] |
| CThemeImageCollection | m_steppers [2] |
The complete set of four images to draw a scroll bar.
| 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 |
| CThemeScrollBarType sptk::CScrollBarImages::m_orientation |
Scrollbar orientation
| CThemeImageCollection sptk::CScrollBarImages::m_parts[3] |
Scrollbar parts
| CThemeImageCollection sptk::CScrollBarImages::m_steppers[2] |
Stepper buttons, 0/1 - (left or upper)normal/pressed, 2/3 - (right or buttom)normal/pressed