blob: d345da6bf552e51d8b52a3432225d5c5f32bf1cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Graphic Equalizer 2: C:/Project Marcel & Oliver/Graphic_Equalizer/include/display.hch Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">C:</a> / <a class="el" href="dir_000001.html">Project Marcel & Oliver</a> / <a class="el" href="dir_000002.html">Graphic_Equalizer</a> / <a class="el" href="dir_000003.html">include</a></div>
<h1>display.hch</h1><a href="display_8hch.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001
00019 <span class="preprocessor">#ifndef _DISPLAY_HCH</span>
<a name="l00020"></a><a class="code" href="display_8hch.html#a0">00020</a> <span class="preprocessor"></span><span class="preprocessor">#define _DISPLAY_HCH 1</span>
00021 <span class="preprocessor"></span>
00022
00023
00024 <span class="comment">/*</span>
00025 <span class="comment"> * Set the color for various items that will be drawn on screen.</span>
00026 <span class="comment"> */</span>
<a name="l00027"></a><a class="code" href="display_8hch.html#a1">00027</a> <span class="preprocessor">#define PIXEL (pixeldata <- 24)</span>
<a name="l00028"></a><a class="code" href="display_8hch.html#a2">00028</a> <span class="preprocessor"></span><span class="preprocessor">#define PIXEL_VOLUME (0x2d74b5)</span>
<a name="l00029"></a><a class="code" href="display_8hch.html#a3">00029</a> <span class="preprocessor"></span><span class="preprocessor">#define PIXEL_EQUALIZER (0xc7541f)</span>
<a name="l00030"></a><a class="code" href="display_8hch.html#a4">00030</a> <span class="preprocessor"></span><span class="preprocessor">#define PIXEL_SPECTRUM ((((skindata->area_spectrum_bottom -(SCANY <- 10)) <<1) <- 8) @ 0x00 @ (((skindata->area_spectrum_bottom -(SCANY <- 10)) <<1) <- 8))</span>
<a name="l00031"></a><a class="code" href="display_8hch.html#a5">00031</a> <span class="preprocessor"></span><span class="preprocessor">#define PIXEL_WAVEFORM (0x2d74b5)</span>
00032 <span class="preprocessor"></span>
00033
00034
00035 <span class="comment">/*</span>
00036 <span class="comment"> * Main display loop. This function never returns! It handles display output.</span>
00037 <span class="comment"> * It needs to respond to certain events set by the events pointer. Also it</span>
00038 <span class="comment"> * informs events what the current mask is. To optain the current mask we need</span>
00039 <span class="comment"> * the X and Y coordinates from our mousedata pointer.</span>
00040 <span class="comment"> */</span>
00041 <span class="keywordtype">void</span> <a class="code" href="display_8hcc.html#a2">display_main</a>(<a class="code" href="structskindata__t.html">skindata_t</a> *skindata, <a class="code" href="structaudiodata__t.html">audiodata_t</a> *audiodata, <a class="code" href="structevents__t.html">events_t</a> *events, <a class="code" href="structmousedata__t.html">mousedata_t</a> *mousedata);
00042
00043
00044
00045 <span class="comment">/*</span>
00046 <span class="comment"> * reload equalizer bars into the display memory.</span>
00047 <span class="comment"> */</span>
00048 <span class="keywordtype">void</span> <a class="code" href="display_8hcc.html#a3">reload_equalizer</a>(<a class="code" href="structevents__t.html">events_t</a> *events, <span class="keywordtype">unsigned</span> 4 *equalizer_levels_ptr);
00049
00050 <span class="preprocessor">#else</span>
00051 <span class="preprocessor"></span><span class="preprocessor">#error "ERROR file display.hch multiple times included"</span>
00052 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* --- _DISPLAY_HCH --- */</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:37:05 2004 for Graphic Equalizer 2 by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
</body>
</html>
|