#include <glui.h>
Inherits GLUI_Control.
Public Member Functions | |
int | mouse_down_handler (int local_x, int local_y) |
int | mouse_up_handler (int local_x, int local_y, bool inside) |
int | mouse_held_down_handler (int local_x, int local_y, bool inside) |
void | draw (int x, int y) |
void | update_size (void) |
void | draw_active_area (void) |
void | draw_checked (void) |
void | draw_unchecked (void) |
void | draw_O (void) |
GLUI_RadioButton (GLUI_RadioGroup *group, const char *name) | |
Public Attributes | |
int | orig_value |
bool | currently_inside |
int | text_x_offset |
GLUI_RadioGroup * | group |
Protected Member Functions | |
void | common_init () |
GLUI_RadioButton::GLUI_RadioButton | ( | GLUI_RadioGroup * | group, | |
const char * | name | |||
) |
void GLUI_RadioButton::common_init | ( | void | ) | [inline, protected] |
void GLUI_RadioButton::draw | ( | int | x, | |
int | y | |||
) | [virtual] |
Implements GLUI_Control.
void GLUI_RadioButton::draw_active_area | ( | void | ) |
void GLUI_RadioButton::draw_checked | ( | void | ) |
void GLUI_RadioButton::draw_O | ( | void | ) |
void GLUI_RadioButton::draw_unchecked | ( | void | ) |
int GLUI_RadioButton::mouse_down_handler | ( | int | local_x, | |
int | local_y | |||
) | [virtual] |
Reimplemented from GLUI_Control.
int GLUI_RadioButton::mouse_held_down_handler | ( | int | local_x, | |
int | local_y, | |||
bool | inside | |||
) | [virtual] |
Reimplemented from GLUI_Control.
int GLUI_RadioButton::mouse_up_handler | ( | int | local_x, | |
int | local_y, | |||
bool | inside | |||
) | [virtual] |
Reimplemented from GLUI_Control.
void GLUI_RadioButton::update_size | ( | void | ) | [virtual] |
Reimplemented from GLUI_Control.