Main Page | Data Structures | Directories | File List | Data Fields | Globals

display.hch

Go to the documentation of this file.
00001 
00019 #ifndef _DISPLAY_HCH
00020 #define _DISPLAY_HCH 1
00021 
00022 
00023 
00024 /*
00025  * Set the color for various items that will be drawn on screen.
00026  */
00027 #define PIXEL                   (pixeldata <- 24)
00028 #define PIXEL_VOLUME            (0x2d74b5)
00029 #define PIXEL_EQUALIZER         (0xc7541f)
00030 #define PIXEL_SPECTRUM          ((((skindata->area_spectrum_bottom -(SCANY <- 10)) <<1) <- 8) @ 0x00 @ (((skindata->area_spectrum_bottom -(SCANY <- 10)) <<1) <- 8))
00031 #define PIXEL_WAVEFORM          (0x2d74b5)
00032 
00033 
00034 
00035 /*
00036  * Main display loop. This function never returns! It handles display output.
00037  * It needs to respond to certain events set by the events pointer. Also it
00038  * informs events what the current mask is. To optain the current mask we need
00039  * the X and Y coordinates from our mousedata pointer.
00040  */
00041 void display_main(skindata_t *skindata, audiodata_t *audiodata, events_t *events, mousedata_t *mousedata);
00042 
00043 
00044 
00045 /*
00046  * reload equalizer bars into the display memory.
00047  */
00048 void reload_equalizer(events_t *events, unsigned 4 *equalizer_levels_ptr);
00049 
00050 #else
00051 #error "ERROR file display.hch multiple times included"
00052 #endif /* --- _DISPLAY_HCH --- */

Generated on Thu Dec 9 14:37:05 2004 for Graphic Equalizer 2 by  doxygen 1.3.9.1