Date:2013-01-31 06:59:37 (11 years 1 month ago)
Author:Werner Almesberger
Commit:ba033cc27e7a0799e9b2dec7f69d1ecc76e778ad
Message:ubb-la/gui.c: add section comments for color and layout definitions

Files: ubb-la/gui.c (3 diffs)

Change Details

ubb-la/gui.c
3232#define XRES 320 /* canvas width */
3333#define YRES 240 /* canvas height */
3434
35
36/* ----- Colors ------------------------------------------------------------ */
37
38
3539#define TEXT_RGBA 0xffffffff /* general text */
3640#define UNIT_RGBA 0xb0e0ffff /* units */
3741#define MAP_BUF_RGBA 0x808080ff /* buffer in the map */
...... 
4145#define LABEL_RGBA 0xffffffff /* channel label */
4246#define DIV_RGBA 0x808080ff /* divisions */
4347
48
49/* ----- Layout ------------------------------------------------------------ */
50
51
4452#define XCENTER ((XRES+CH_XOFF)/2)
4553#define XWIDTH (XRES-CH_XOFF)
4654
...... 
6876#define DIV_INT_X 80
6977#define DIV_INT_Y INTERVAL_Y
7078
79
80/* ----- Miscellaneous definitions ----------------------------------------- */
81
82
7183#define REPEAT_DELAY_MS 300
7284#define REPEAT_INTERVAL_MS 30
7385

Archive Download the corresponding diff file

Branches:
master



interactive