From bd9827a64c938b3793c6fb8d38fd6c5236c2e8e7 Mon Sep 17 00:00:00 2001 From: Oliver Schinagl Date: Thu, 6 Jan 2005 12:58:38 +0000 Subject: Added inputgain. --- Graphic_Equalizer/include/eventhandler_shared.hch | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/Graphic_Equalizer/include/eventhandler_shared.hch b/Graphic_Equalizer/include/eventhandler_shared.hch index 75b688c..1ca19a8 100644 --- a/Graphic_Equalizer/include/eventhandler_shared.hch +++ b/Graphic_Equalizer/include/eventhandler_shared.hch @@ -30,8 +30,9 @@ typedef struct { ram unsigned 10 equalizer_display[128]; unsigned 10 active_preset; unsigned 10 volume_position; + unsigned 10 inputgain_position; unsigned 8 mask; - unsigned 5 address_offset_index; + unsigned 5 image, image_about; unsigned 4 mode; unsigned 4 equalizer_mode; unsigned 1 button_demo_state; @@ -40,12 +41,17 @@ typedef struct { } events_t; -#define MODE_SKIN 0x01 -#define MODE_HELP 0x02 -#define MODE_GRAPH 0x03 -#define MODE_ABOUT 0x04 -#define MODE_ABOUT_BUSY 0x05 +#define IMAGE_ABOUT_TOP_FONTYS 0x00 +#define IMAGE_ABOUT_TOP_TASS 0x01 +#define IMAGE_ABOUT_TOP_TRANSFER 0x02 +#define IMAGE_ABOUT_TOP_CELOXICA 0x03 +#define IMAGE_ABOUT_TOP_DETAILS 0x04 +#define IMAGE_ABOUT_BOTTOM 0x05 +#define IMAGE_SKIN 0x06 +#define IMAGE_HELP 0x07 +#define IMAGE_ABOUT 0x08 +#define IMAGE_GRAPH 0x09 #define EQUALIZERMODE_FULL 0x05 @@ -53,6 +59,7 @@ typedef struct { #define EQUALIZERMODE_PRECISE 0x00 + /* * Volume Control lookuptable. * TODO: This table is now hardcoded. To ensure full skinability this table @@ -60,6 +67,8 @@ typedef struct { */ extern unsigned 5 volumecontrol_table[46]; +extern unsigned 4 inputgain_table[46]; + /* * Equalizer lookup tables. * TODO: This table is now hardcoded. To ensure full skinability this table -- cgit v0.12