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

Password:

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

ORADIOV.H

Go to the documentation of this file.
00001 //Filename    : ORADIOV.H
00002 //Description : Header of object vertical RadioButton
00003 //Owner           : Kevin(ho)
00004 #ifndef __ORADIOV_H
00005 #define __ORADIOV_H
00006 
00007 #include <OVGA.H>
00008 #include <OFONT.H>
00009 
00010 //--------- Define class RadioButton --------//
00011 //
00013 class RadioButtonVert {
00014 public:
00015     short radio_button_x1, radio_button_y1,
00016         radio_button_x2, radio_button_y2;
00017     short radio_button_x;
00018     short radio_button_width, radio_button_height;
00019     short paragraph_width, paragraph_height;
00020     int option_num;
00021     int *sel_num;
00022     int button_color;
00023     char **option_desc;
00024     short *desc_y;
00025     short *radio_button_bitmap;
00026     Font *font_ptr;
00027     char init_flag;
00028 
00029 private:
00030     void fill(short,short,int);
00031     void circle(short,short,int,int,char);
00032 
00033 public:
00034     RadioButtonVert();
00035     ~RadioButtonVert();
00036     void init(int,int,int,int,int,int*,char**,int=vga_back.color_border);
00037     void deinit();
00038     void paint();
00039     void refresh();
00040     int detect();
00041     void set_font(Font *fontPtr) { font_ptr = fontPtr; }
00042 
00043 };
00044 
00045 //--------------------------//
00046 #endif

Generated on Fri Aug 23 01:38:17 2002 for VirtualU by doxygen1.2.17