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

Password:

OBNDSLDR.H Source File
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

OBNDSLDR.H

Go to the documentation of this file.
00001 //Filename    : OBNDSLDR.H
00002 //Description : Header of object BoundedSlider
00003 
00004 #ifndef __OBNDSLDR_H
00005 #define __OBNDSLDR_H
00006 
00007 #include <OVGA.H>
00008 
00009 enum {NONE,INDICATOR,LOWER,UPPER};
00010 //--------- Define class BoundedSlider --------//
00011 //
00013 class BoundedSlider {
00014 public:
00015     short bounded_slider_x1, bounded_slider_x2, bounded_slider_y1, bounded_slider_y2;
00016     short bar_width;
00017     char bar_color, slider_color;
00018     double *lo_ptr, *up_ptr, *var_ptr, min_val, max_val, val_range;
00019     char lower_bound_null_flag;
00020     char init_flag, transparent_flag, enable_flag, result_flag;
00021     short *bounded_slider_bitmap;
00022     char highlight_indicator_flag;
00023     int data_fmt;
00024     double result_value;
00025 #if(GAME_VERSION>=200)
00026     char  lock_max, lock_min;
00027 #endif
00028 public:
00029     BoundedSlider();
00030     ~BoundedSlider();
00031     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);
00032     void deinit();
00033     void paint();
00034     void refresh();
00035     int detect();
00036 };
00037 
00038 //--------------------------//
00039 #endif

Generated on Fri Aug 23 01:37:16 2002 for VirtualU by doxygen1.2.17