diff --git a/ubb-la/gui.c b/ubb-la/gui.c index cf695cd..bb69a95 100644 --- a/ubb-la/gui.c +++ b/ubb-la/gui.c @@ -32,6 +32,10 @@ #define XRES 320 /* canvas width */ #define YRES 240 /* canvas height */ + +/* ----- Colors ------------------------------------------------------------ */ + + #define TEXT_RGBA 0xffffffff /* general text */ #define UNIT_RGBA 0xb0e0ffff /* units */ #define MAP_BUF_RGBA 0x808080ff /* buffer in the map */ @@ -41,6 +45,10 @@ #define LABEL_RGBA 0xffffffff /* channel label */ #define DIV_RGBA 0x808080ff /* divisions */ + +/* ----- Layout ------------------------------------------------------------ */ + + #define XCENTER ((XRES+CH_XOFF)/2) #define XWIDTH (XRES-CH_XOFF) @@ -68,6 +76,10 @@ #define DIV_INT_X 80 #define DIV_INT_Y INTERVAL_Y + +/* ----- Miscellaneous definitions ----------------------------------------- */ + + #define REPEAT_DELAY_MS 300 #define REPEAT_INTERVAL_MS 30