diff options
Diffstat (limited to 'dat.h')
-rw-r--r-- | dat.h | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -1,5 +1,18 @@ +/* palette colors */ +enum { + PCBlack, + PCWhite, + NCOLOR +}; + +enum { + MAXZOOM = 8 +}; + typedef struct Layer Layer; typedef struct Canvas Canvas; +typedef struct HUD HUD; +typedef struct HUDWidget HUDWidget; struct Layer { @@ -17,3 +30,17 @@ struct Canvas Layer layers; Layer *curlayer; }; + +struct HUD +{ + Point2 p; + HUDWidget *widgets; +}; + +struct HUDWidget +{ + Point2 p; + char *fmt; + va_arg va; + HUDWidget *next; +}; |