guizh_radioButton.zh#
Variables#
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
Functions#
int |
RadioButton_Create(int parent, int group, int tile, int cset, int text, int font, int textColor) |
void |
RadioButton_Select(int id) |
int |
RadioButton_GetGroup(int id) |
void |
RadioButton_SetUserData(int id, int data) |
void |
RadioButton_Draw(int id, int x, int y) |
void |
RadioButton_OnMouseEnter(int id) |
void |
RadioButton_OnMouseExit(int id) |
void |
RadioButton_OnMousePress(int id) |
void |
RadioButton_OnMouseRelease(int id) |
int |
|
int |
RadioButtonGroup_GetSelected(int id) |
void |
RadioButtonGroup_SetSelected(int groupID, int buttonID, bool addEvent) |
Variable descriptions#
const int RADBTN_GROUP = 0
🔗 Source
const int RADBTN_TILE = 1
🔗 Source
const int RADBTN_CSET = 2
🔗 Source
const int RADBTN_TEXT = 3
🔗 Source
const int RADBTN_FONT = 4
🔗 Source
const int RADBTN_TEXT_COLOR = 5
🔗 Source
const int RADBTN_STATE = 6
🔗 Source
const int RADBTN_USER_DATA = 7
🔗 Source
const int RBSTATE_UNDER_MOUSE = 1
🔗 Source
const int RBSTATE_CLICKED = 2
🔗 Source
const int RBSTATE_SELECTED = 4
🔗 Source
const int RBGROUP_SELECTED = 0
🔗 Source
Radio button group ———————————————————-
Function descriptions#
int RadioButton_Create(int parent, int group, int tile, int cset, int text, int font, int textColor) 🔗 Source
void RadioButton_Select(int id) 🔗 Source
int RadioButton_GetGroup(int id) 🔗 Source
void RadioButton_SetUserData(int id, int data) 🔗 Source
void RadioButton_Draw(int id, int x, int y) 🔗 Source
void RadioButton_OnMouseEnter(int id) 🔗 Source
void RadioButton_OnMouseExit(int id) 🔗 Source
void RadioButton_OnMousePress(int id) 🔗 Source
void RadioButton_OnMouseRelease(int id) 🔗 Source
int RadioButtonGroup_Create() 🔗 Source
int RadioButtonGroup_GetSelected(int id) 🔗 Source
void RadioButtonGroup_SetSelected(int groupID, int buttonID, bool addEvent) 🔗 Source
To be used by radio buttons, not users