sptk2 logo
SPTK Home Page

sptk::CScrollBarImages Class Reference
[GUI Classes]

The complete set of four images to draw a scroll bar. More...

#include <CThemeScrollBar.h>

List of all members.

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.


Detailed Description

The complete set of four images to draw a scroll bar.

Member Enumeration Documentation

Type of the scroll bar image.

Enumerator:
TROUGH  Image of the scroll bar without slider and buttons.
SLIDER  Image of the scroll bar slider.


Member Function Documentation

void sptk::CScrollBarImages::load ( CThemeScrollBarType  atype,
bool  desaturateInactiveButtons,
bool  externalFile = false 
)

Loads the images from SPTK theme files.

Parameters:
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


The documentation for this class was generated from the following file:

Mon Mar 5 11:56:19 2012: SPTK 3.5.7