26 lines
380 B
C
26 lines
380 B
C
#ifndef _GRAPH_SUP_H
|
|
#define _GRAPH_SUP_H
|
|
|
|
struct Button {
|
|
int x;
|
|
int y;
|
|
int w;
|
|
int h;
|
|
char* id;
|
|
struct Button* next;
|
|
};
|
|
|
|
typedef struct Button button;
|
|
|
|
extern button* Buttons;
|
|
extern int BT_Count;
|
|
|
|
void clearButtons();
|
|
char* GetButton(int x, int y);
|
|
void AddButton(int x, int y, int w, int h, char* id);
|
|
|
|
int RegisterInputs(char * screen);
|
|
|
|
int DrawNextFrame(void);
|
|
|
|
#endif |