Virtual U.org
Get Personal Training on VU Today
    
Top shadow
 
 register/help
User Name:

Password:

SliderGroup class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

SliderGroup Class Reference

#include <OSLIDER.H>

List of all members.

Public Methods

 SliderGroup (int)
 ~SliderGroup ()
void paint ()
int detect ()
Slideroperator[] (int recNo)

Public Attributes

int slider_num
Sliderslider_array


Detailed Description

UI base class for creating and handling logical groups of sliders whose total value is constant.

Definition at line 33 of file OSLIDER.H.


Constructor & Destructor Documentation

SliderGroup::SliderGroup int   
 

Definition at line 164 of file OSLIDER.CPP.

References slider_array, and slider_num.

SliderGroup::~SliderGroup   [inline]
 

Definition at line 40 of file OSLIDER.H.


Member Function Documentation

int SliderGroup::detect void   
 

Detect all sliders in this slider group. Since only one slider can be pressed at one time, so if any one of them is pressed, the previously pressed one will be pop up.

Return : <int> 1 - slider detected 0 - not detected

Definition at line 194 of file OSLIDER.CPP.

Slider& SliderGroup::operator[] int    recNo [inline]
 

Definition at line 45 of file OSLIDER.H.

References slider_num.

void SliderGroup::paint void   
 

Paint all sliders in this slider group.

Definition at line 175 of file OSLIDER.CPP.


Member Data Documentation

Slider* SliderGroup::slider_array
 

Definition at line 36 of file OSLIDER.H.

Referenced by SliderGroup().

int SliderGroup::slider_num
 

Definition at line 35 of file OSLIDER.H.

Referenced by operator[](), and SliderGroup().


The documentation for this class was generated from the following files:
Generated on Fri Aug 23 01:39:36 2002 for VirtualU by doxygen1.2.17