mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-16 19:15:55 +02:00
ubb-la/gui.c: add section comments for color and layout definitions
This commit is contained in:
parent
159a128d28
commit
ba033cc27e
12
ubb-la/gui.c
12
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user