Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages | Examples

fgl::FGRadioGroupHorizontal Class Reference

#include <widgets.h>

Inheritance diagram for fgl::FGRadioGroupHorizontal:

Inheritance graph
[legend]
Collaboration diagram for fgl::FGRadioGroupHorizontal:

Collaboration graph
[legend]
List of all members.

Detailed Description

Widget to easier using of horizontal arrays of RadioButtons.
radio.png
Examples:

radio.cpp.


Public Member Functions

 FGRadioGroupHorizontal (int x, int y, char *names[], int keys[], int *init_value, void(*cb)(FGControl *, int), FGWindow *w, int step)


Constructor & Destructor Documentation

fgl::FGRadioGroupHorizontal::FGRadioGroupHorizontal int  x,
int  y,
char *  names[],
int  keys[],
int *  init_value,
void(*)(FGControl *, int)  cb,
FGWindow w,
int  step
[inline]
 

Creates the group of RadioButtons at exact coords into the FGWindow. The number of created objects is equivalent of the number of passed strings.

Parameters:
x start x coord
y start y coord
names an array of ASCIIZ strings terminated by 0 pointer, by example: char *names[]={"one","two","three",0};
keys an arrray (int []) of keys
init_value an initial index of active object on create time, by example: 1 for string "two"
cb standard OpenGUI CallBack routine
w the parent FGWindow object
step offset of x coordinates for each next button


Generated on Wed Feb 9 11:32:01 2005 for OpenGUI by  doxygen 1.4.0