APL/APL1.1/SAE11_2021/graph_sup.h
2021-11-24 10:24:18 +01:00

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