summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/include/display_shared.hch
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2004-11-24 15:11:08 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2004-11-24 15:11:08 (GMT)
commit2210cc86054ecb222af457fdede9c8ac44891d5e (patch)
treee443547ca24bba4ee372cbe8974aa83a0cb9af22 /Graphic_Equalizer/include/display_shared.hch
parentba3f9224d0800fb3d830f966f661d3ead22fc327 (diff)
downloadTASS-2210cc86054ecb222af457fdede9c8ac44891d5e.zip
TASS-2210cc86054ecb222af457fdede9c8ac44891d5e.tar.gz
TASS-2210cc86054ecb222af457fdede9c8ac44891d5e.tar.bz2
added skindata struct to store specific information for the skin.
renamed 'BUTTON_1' etc to a more appropiate name, CONCAVE and CONVEX buttons.
Diffstat (limited to 'Graphic_Equalizer/include/display_shared.hch')
-rw-r--r--Graphic_Equalizer/include/display_shared.hch19
1 files changed, 14 insertions, 5 deletions
diff --git a/Graphic_Equalizer/include/display_shared.hch b/Graphic_Equalizer/include/display_shared.hch
index de2e760..5a8438b 100644
--- a/Graphic_Equalizer/include/display_shared.hch
+++ b/Graphic_Equalizer/include/display_shared.hch
@@ -21,6 +21,15 @@
+typedef struct {
+ unsigned 10 area_spectrum_bottom, area_spectrum_top, area_spectrum_left, area_spectrum_right;
+ unsigned 10 area_waveform_bottom, area_waveform_top, area_waveform_left, area_waveform_right;
+ unsigned 10 area_volume_bottom, area_volume_top, area_volume_left, area_volume_right;
+ unsigned 24 color_area_volume, color_area_waveform, color_area_spectrum_top, color_area_spectrum_bottom, color_equalizer;
+} skindata_t;
+
+
+
/*
* Define all area's of the display.
*/
@@ -39,11 +48,11 @@
#define BUTTON_PRESET_5 0x0b
#define BUTTON_PRESET_6 0x0c
-#define BUTTON_1 0x0d
-#define BUTTON_2 0x0e
-#define BUTTON_3 0x0f
-#define BUTTON_4 0x10
-#define BUTTON_5 0x11
+#define BUTTON_CONVEX_FULL 0x0d /* / \ */
+#define BUTTON_CONVEX_HALF 0x0e /* /\ */
+#define BUTTON_PRECISE 0x0f /* | */
+#define BUTTON_CONCAVE_HALF 0x10 /* \/ */
+#define BUTTON_CONCAVE_FULL 0x11 /* \ / */
#define BUTTON_HELP 0x12
#define BUTTON_MODE 0x13