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

Password:

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

BoundedSlider Class Reference

UI class for drawing sliders. More...

#include <OBNDSLDR.H>

List of all members.

Public Methods

 BoundedSlider ()
 ~BoundedSlider ()
void init (int, int, int, int, double *, double *, double *, double, double, char=1, int=Vga::active_buf->color_up, int=Vga::active_buf->color_dark, int=8)
void deinit ()
void paint ()
void refresh ()
int detect ()

Public Attributes

short bounded_slider_x1
short bounded_slider_x2
short bounded_slider_y1
short bounded_slider_y2
short bar_width
char bar_color
char slider_color
double * lo_ptr
double * up_ptr
double * var_ptr
double min_val
double max_val
double val_range
char lower_bound_null_flag
char init_flag
char transparent_flag
char enable_flag
char result_flag
short * bounded_slider_bitmap
char highlight_indicator_flag
int data_fmt
double result_value


Detailed Description

UI class for drawing sliders.

Definition at line 13 of file OBNDSLDR.H.


Constructor & Destructor Documentation

BoundedSlider::BoundedSlider  
 

Definition at line 23 of file Obndsldr.cpp.

References NULL.

BoundedSlider::~BoundedSlider  
 

Definition at line 32 of file Obndsldr.cpp.


Member Function Documentation

void BoundedSlider::deinit  
 

Definition at line 101 of file Obndsldr.cpp.

References mem_del, and NULL.

int BoundedSlider::detect void   
 

Return: 1-pressed on slider, variables updated 0-not pressed on slider

Definition at line 255 of file Obndsldr.cpp.

Referenced by Test::detect().

void BoundedSlider::init int   ,
int   ,
int   ,
int   ,
double *   ,
double *   ,
double *   ,
double   ,
double   ,
char    = 1,
int    = Vga::active_buf-,
color_up   ,
int    = Vga::active_buf-,
color_dark   ,
int    = 8
 

Referenced by Test::report().

void BoundedSlider::paint  
 

Definition at line 114 of file Obndsldr.cpp.

Referenced by Test::report().

void BoundedSlider::refresh  
 

Definition at line 126 of file Obndsldr.cpp.

Referenced by Test::report().


Member Data Documentation

char BoundedSlider::bar_color
 

Definition at line 17 of file OBNDSLDR.H.

short BoundedSlider::bar_width
 

Definition at line 16 of file OBNDSLDR.H.

short* BoundedSlider::bounded_slider_bitmap
 

Definition at line 21 of file OBNDSLDR.H.

short BoundedSlider::bounded_slider_x1
 

Definition at line 15 of file OBNDSLDR.H.

short BoundedSlider::bounded_slider_x2
 

Definition at line 15 of file OBNDSLDR.H.

short BoundedSlider::bounded_slider_y1
 

Definition at line 15 of file OBNDSLDR.H.

short BoundedSlider::bounded_slider_y2
 

Definition at line 15 of file OBNDSLDR.H.

int BoundedSlider::data_fmt
 

Definition at line 23 of file OBNDSLDR.H.

char BoundedSlider::enable_flag
 

Definition at line 20 of file OBNDSLDR.H.

char BoundedSlider::highlight_indicator_flag
 

Definition at line 22 of file OBNDSLDR.H.

char BoundedSlider::init_flag
 

Definition at line 20 of file OBNDSLDR.H.

double* BoundedSlider::lo_ptr
 

Definition at line 18 of file OBNDSLDR.H.

char BoundedSlider::lower_bound_null_flag
 

Definition at line 19 of file OBNDSLDR.H.

double BoundedSlider::max_val
 

Definition at line 18 of file OBNDSLDR.H.

double BoundedSlider::min_val
 

Definition at line 18 of file OBNDSLDR.H.

char BoundedSlider::result_flag
 

Definition at line 20 of file OBNDSLDR.H.

double BoundedSlider::result_value
 

Definition at line 24 of file OBNDSLDR.H.

char BoundedSlider::slider_color
 

Definition at line 17 of file OBNDSLDR.H.

char BoundedSlider::transparent_flag
 

Definition at line 20 of file OBNDSLDR.H.

double * BoundedSlider::up_ptr
 

Definition at line 18 of file OBNDSLDR.H.

double BoundedSlider::val_range
 

Definition at line 18 of file OBNDSLDR.H.

double * BoundedSlider::var_ptr
 

Definition at line 18 of file OBNDSLDR.H.


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