summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/include/display.hch
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2004-11-26 15:49:47 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2004-11-26 15:49:47 (GMT)
commit171c432587f844eb007f9afb9beab81d7252cf93 (patch)
tree13ad1d3655b8df9391588da5f910ddb2da10fd34 /Graphic_Equalizer/include/display.hch
parent2890033f504a8b01d345baed6acf0d0326768c91 (diff)
downloadTASS-171c432587f844eb007f9afb9beab81d7252cf93.zip
TASS-171c432587f844eb007f9afb9beab81d7252cf93.tar.gz
TASS-171c432587f844eb007f9afb9beab81d7252cf93.tar.bz2
Re-Changed macro's to functions.
Diffstat (limited to 'Graphic_Equalizer/include/display.hch')
-rw-r--r--Graphic_Equalizer/include/display.hch6
1 files changed, 3 insertions, 3 deletions
diff --git a/Graphic_Equalizer/include/display.hch b/Graphic_Equalizer/include/display.hch
index dcc0105..3e6ebf2 100644
--- a/Graphic_Equalizer/include/display.hch
+++ b/Graphic_Equalizer/include/display.hch
@@ -26,7 +26,7 @@
*/
#define PIXEL_VOLUME (0x0000ff)
#define PIXEL_EQUALIZER (0xff0000)
-#define PIXEL_SPECTRUM ((((skindata.area_spectrum_bottom -(SCANY <- 10)) <<1) <- 8) @ 0x00 @ (((skindata.area_spectrum_bottom -(SCANY <- 10)) <<1) <- 8))
+#define PIXEL_SPECTRUM ((((skindata->area_spectrum_bottom -(SCANY <- 10)) <<1) <- 8) @ 0x00 @ (((skindata->area_spectrum_bottom -(SCANY <- 10)) <<1) <- 8))
#define PIXEL_WAVEFORM (0x0000ff)
@@ -37,14 +37,14 @@
* informs events what the current mask is. To optain the current mask we need
* the X and Y coordinates from our mousedata pointer.
*/
-macro proc display_main(skindata, audiodata, events, mousedata, CLOCKRATE, VIDEOOUT, RAM_BANK0);
+void display_main(skindata_t *skindata, audiodata_t *audiodata, events_t *events, mousedata_t *mousedata);
/*
* reload equalizer bars into the display memory.
*/
-macro proc reload_equalizer(events, equalizer_levels, preset_offset);
+void reload_equalizer(events_t *events, unsigned 4 *equalizer_levels, unsigned 10 preset_offset);
#else
#error "ERROR file display.hch multiple times included"