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

Password:

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

ORADIO.H

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

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