Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CL_ScrollBar Class Reference

#include <scrollbar.h>

Inheritance diagram for CL_ScrollBar:

Inheritance graph
[legend]
Collaboration diagram for CL_ScrollBar:

Collaboration graph
[legend]
List of all members.

Public Methods

 CL_ScrollBar (const CL_ComponentOptions &options, CL_Component *parent, CL_StyleManager *style=NULL)
 Construction:.

 CL_ScrollBar (const CL_Rect &pos, int min, int max, bool orientation, CL_Component *parent, CL_StyleManager *style=NULL)
virtual ~CL_ScrollBar ()
CL_Componentget_client_area () const
 Attributes:.

bool is_vertical () const
bool is_tracking () const
int get_min_value () const
int get_max_value () const
int get_range () const
int get_value () const
bool is_dragging_slider () const
bool is_fixed_length_slider () const
CL_Rectget_slider_rect () const
void set_fixed_length_slider (bool fixed_length=true)
 Operations:.

void set_slider_length (int length)
void set_vertical (bool enable=true)
void set_tracking (bool enable=true)
void set_range (int min_value, int max_value)
void set_min_value (int value)
void set_max_value (int value)
void set_value (int value)
void increase (int step=1)
void decrease (int step=1)
CL_Signal_v1<int>& sig_value_changed ()
 Signals:.

CL_Signal_v0sig_slider_pressed ()
CL_Signal_v1<int>& sig_slider_moved ()
CL_Signal_v0sig_slider_released ()

Private Methods

 CL_ScrollBar (const CL_ScrollBar &copy)
 Implementation:.


Private Attributes

class CL_ScrollBar_Genericimpl
 Implementation:.


Constructor & Destructor Documentation

CL_ScrollBar::CL_ScrollBar ( const CL_ComponentOptions & options,
CL_Component * parent,
CL_StyleManager * style = NULL )
 

Construction:.

CL_ScrollBar::CL_ScrollBar ( const CL_Rect & pos,
int min,
int max,
bool orientation,
CL_Component * parent,
CL_StyleManager * style = NULL )
 

virtual CL_ScrollBar::~CL_ScrollBar ( ) [virtual]
 

CL_ScrollBar::CL_ScrollBar ( const CL_ScrollBar & copy ) [inline, private]
 

Implementation:.

Definition at line 153 of file scrollbar.h.


Member Function Documentation

void CL_ScrollBar::decrease ( int step = 1 )
 

CL_Component * CL_ScrollBar::get_client_area ( ) const
 

Attributes:.

int CL_ScrollBar::get_max_value ( ) const
 

int CL_ScrollBar::get_min_value ( ) const
 

int CL_ScrollBar::get_range ( ) const
 

CL_Rect& CL_ScrollBar::get_slider_rect ( ) const
 

int CL_ScrollBar::get_value ( ) const
 

void CL_ScrollBar::increase ( int step = 1 )
 

bool CL_ScrollBar::is_dragging_slider ( ) const
 

bool CL_ScrollBar::is_fixed_length_slider ( ) const
 

bool CL_ScrollBar::is_tracking ( ) const
 

bool CL_ScrollBar::is_vertical ( ) const
 

void CL_ScrollBar::set_fixed_length_slider ( bool fixed_length = true )
 

Operations:.

void CL_ScrollBar::set_max_value ( int value )
 

void CL_ScrollBar::set_min_value ( int value )
 

void CL_ScrollBar::set_range ( int min_value,
int max_value )
 

void CL_ScrollBar::set_slider_length ( int length )
 

void CL_ScrollBar::set_tracking ( bool enable = true )
 

void CL_ScrollBar::set_value ( int value )
 

void CL_ScrollBar::set_vertical ( bool enable = true )
 

CL_Signal_v1<int>& CL_ScrollBar::sig_slider_moved ( )
 

CL_Signal_v0& CL_ScrollBar::sig_slider_pressed ( )
 

CL_Signal_v0& CL_ScrollBar::sig_slider_released ( )
 

CL_Signal_v1< int > & CL_ScrollBar::sig_value_changed ( )
 

Signals:.


Member Data Documentation

class CL_ScrollBar_Generic* CL_ScrollBar::impl [private]
 

Implementation:.

Reimplemented from CL_Component.

Definition at line 154 of file scrollbar.h.


The documentation for this class was generated from the following file:
Generated at Wed Apr 4 19:57:23 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001