diff options
Diffstat (limited to 'dat.h')
-rw-r--r-- | dat.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -32,7 +32,12 @@ enum { ACalibrating, ABombing, + BRest = 0, + BHover, + Boardmargin = 50, + Btnborder = 4, + Btnpadding = 2, TW = 16, TH = TW, MAPW = 17, @@ -163,6 +168,16 @@ struct MatchInfo char conclusion[16]; }; +typedef struct Button Button; + +struct Button +{ + char *label; + Rectangle r; + int status; + void (*handler)(Button*); +}; + typedef struct Mentry Mentry; typedef struct Mlist Mlist; typedef struct Menulist Menulist; |