-
Notifications
You must be signed in to change notification settings - Fork 0
/
a00033.html
172 lines (150 loc) · 9.01 KB
/
a00033.html
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Contiki 2.5: ctk_menu Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>ctk_menu Struct Reference<br/>
<small>
[<a class="el" href="a00020.html">CTK device driver functions</a>]</small>
</h1><!-- doxytag: class="ctk_menu" -->
<p>Representation of an individual menu.
<a href="#_details">More...</a></p>
<p><code>#include <<a class="el" href="a00142_source.html">core/ctk/ctk.h</a>></code></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00033.html">ctk_menu</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00033.html#a3db782ac147f877ad858f963ce3a3f31">next</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Apointer to the next menu, or is NULL if this is the last menu, and should be used by the ctk-draw module when stepping through the menus when drawing them on screen. <a href="#a3db782ac147f877ad858f963ce3a3f31"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00033.html#ad615e76a042ea15b52b7f30edc4d4c89">title</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The menu title. <a href="#ad615e76a042ea15b52b7f30edc4d4c89"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00033.html#afe750b5bc481a67c6e7f684dbaa7bfd8">titlelen</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The length of the title in characters. <a href="#afe750b5bc481a67c6e7f684dbaa7bfd8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00033.html#a1929cc70bb8d66ead25d37828d68bfc2">nitems</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The total number of menu items in the menu. <a href="#a1929cc70bb8d66ead25d37828d68bfc2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00033.html#a4a97e6108145907fe4b83fd8f5862df5">active</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The currently active menu item. <a href="#a4a97e6108145907fe4b83fd8f5862df5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00034.html">ctk_menuitem</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00033.html#a5e3c53417a3e30ca1a51dfcfb0929d1f">items</a> [CTK_MAXMENUITEMS]</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The array which contains all the menu items. <a href="#a5e3c53417a3e30ca1a51dfcfb0929d1f"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Representation of an individual menu. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00585">585</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
<hr/><h2>Field Documentation</h2>
<a class="anchor" id="a4a97e6108145907fe4b83fd8f5862df5"></a><!-- doxytag: member="ctk_menu::active" ref="a4a97e6108145907fe4b83fd8f5862df5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned char <a class="el" href="a00033.html#a4a97e6108145907fe4b83fd8f5862df5">ctk_menu::active</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The currently active menu item. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00600">600</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
</div>
</div>
<a class="anchor" id="a5e3c53417a3e30ca1a51dfcfb0929d1f"></a><!-- doxytag: member="ctk_menu::items" ref="a5e3c53417a3e30ca1a51dfcfb0929d1f" args="[CTK_MAXMENUITEMS]" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="a00034.html">ctk_menuitem</a> <a class="el" href="a00033.html#a5e3c53417a3e30ca1a51dfcfb0929d1f">ctk_menu::items</a>[CTK_MAXMENUITEMS]<code> [read]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The array which contains all the menu items. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00602">602</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
</div>
</div>
<a class="anchor" id="a3db782ac147f877ad858f963ce3a3f31"></a><!-- doxytag: member="ctk_menu::next" ref="a3db782ac147f877ad858f963ce3a3f31" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="a00033.html">ctk_menu</a>* <a class="el" href="a00033.html#a3db782ac147f877ad858f963ce3a3f31">ctk_menu::next</a><code> [read]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Apointer to the next menu, or is NULL if this is the last menu, and should be used by the ctk-draw module when stepping through the menus when drawing them on screen. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00586">586</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
<p>Referenced by <a class="el" href="a00139_source.html#l00884">ctk_draw_menus()</a>, <a class="el" href="a00141_source.html#l00505">ctk_menu_add()</a>, and <a class="el" href="a00141_source.html#l00533">ctk_menu_remove()</a>.</p>
</div>
</div>
<a class="anchor" id="a1929cc70bb8d66ead25d37828d68bfc2"></a><!-- doxytag: member="ctk_menu::nitems" ref="a1929cc70bb8d66ead25d37828d68bfc2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned char <a class="el" href="a00033.html#a1929cc70bb8d66ead25d37828d68bfc2">ctk_menu::nitems</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The total number of menu items in the menu. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00598">598</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
</div>
</div>
<a class="anchor" id="ad615e76a042ea15b52b7f30edc4d4c89"></a><!-- doxytag: member="ctk_menu::title" ref="ad615e76a042ea15b52b7f30edc4d4c89" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char* <a class="el" href="a00033.html#ad615e76a042ea15b52b7f30edc4d4c89">ctk_menu::title</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The menu title. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00591">591</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
<p>Referenced by <a class="el" href="a00139_source.html#l00884">ctk_draw_menus()</a>.</p>
</div>
</div>
<a class="anchor" id="afe750b5bc481a67c6e7f684dbaa7bfd8"></a><!-- doxytag: member="ctk_menu::titlelen" ref="afe750b5bc481a67c6e7f684dbaa7bfd8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned char <a class="el" href="a00033.html#afe750b5bc481a67c6e7f684dbaa7bfd8">ctk_menu::titlelen</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The length of the title in characters. </p>
<p>Cached for speed reasons. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00592">592</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
</div>
</div>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Apr 11 14:23:58 2011 for Contiki 2.5 by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>