diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2004-12-08 11:53:37 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2004-12-08 11:53:37 (GMT) |
commit | 7971c7b2e385ff61fb4f900064b5b19e0605a566 (patch) | |
tree | a686f4c773929cdf461b26b245a6dda8f2bba0cc /Graphic_Equalizer/include | |
parent | d41f7d35da426a8888fa8e4504667b1d40571304 (diff) | |
download | TASS-7971c7b2e385ff61fb4f900064b5b19e0605a566.zip TASS-7971c7b2e385ff61fb4f900064b5b19e0605a566.tar.gz TASS-7971c7b2e385ff61fb4f900064b5b19e0605a566.tar.bz2 |
We only use one var to lock the display from wherever.
Fixed some comments.
Removed mask only drawing of pixels as we either load with or without SmartMedia.
Diffstat (limited to 'Graphic_Equalizer/include')
-rw-r--r-- | Graphic_Equalizer/include/display.hch | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Graphic_Equalizer/include/display.hch b/Graphic_Equalizer/include/display.hch index 3e6ebf2..af29b4f 100644 --- a/Graphic_Equalizer/include/display.hch +++ b/Graphic_Equalizer/include/display.hch @@ -24,10 +24,11 @@ /*
* Set the color for various items that will be drawn on screen.
*/
-#define PIXEL_VOLUME (0x0000ff)
-#define PIXEL_EQUALIZER (0xff0000)
+#define PIXEL (pixeldata <- 24)
+#define PIXEL_VOLUME (0x2d74b5)
+#define PIXEL_EQUALIZER (0xc7541f)
#define PIXEL_SPECTRUM ((((skindata->area_spectrum_bottom -(SCANY <- 10)) <<1) <- 8) @ 0x00 @ (((skindata->area_spectrum_bottom -(SCANY <- 10)) <<1) <- 8))
-#define PIXEL_WAVEFORM (0x0000ff)
+#define PIXEL_WAVEFORM (0x2d74b5)
@@ -44,8 +45,8 @@ void display_main(skindata_t *skindata, audiodata_t *audiodata, events_t *events /*
* reload equalizer bars into the display memory.
*/
-void reload_equalizer(events_t *events, unsigned 4 *equalizer_levels, unsigned 10 preset_offset);
+void reload_equalizer(events_t *events, unsigned 4 *equalizer_levels_ptr);
#else
#error "ERROR file display.hch multiple times included"
-#endif /* --- _DISPLAY_HCH --- */
\ No newline at end of file +#endif /* --- _DISPLAY_HCH --- */
|