blob: 77d365eaa1cc1eae0983ba5dd43cae60fa0199fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef _CBUTTON_H
#define _CBUTTON_H
#define BUTTON_MAX_TITLE 256
struct ButtonStruct {
double m_dXPos;
double m_dYPos;
double m_dWidth;
char m_pcTitle[BUTTON_MAX_TITLE];
int m_iType;
};
enum ButtonType {
BUTTON_CLICK,
BUTTON_RADIO,
BUTTON_LABEL
};
void ButtonRender(struct ButtonStruct *f_sButton);
#endif
|