-
Notifications
You must be signed in to change notification settings - Fork 0
/
a00038.html
283 lines (240 loc) · 16.1 KB
/
a00038.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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
<!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_window 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_window Struct Reference<br/>
<small>
[<a class="el" href="a00020.html">CTK device driver functions</a>]</small>
</h1><!-- doxytag: class="ctk_window" -->
<p>Representation of a CTK window.
<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="a00038.html">ctk_window</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00038.html#a92e81d0f1ffd6a52ce0fa29caedaca3c">next</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The next window in the doubly linked list of open windows. <a href="#a92e81d0f1ffd6a52ce0fa29caedaca3c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00038.html">ctk_window</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00038.html#a5c2fbd8367afa325aaf22c6bbf3c634f">prev</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The previous window in the doubly linked list of open windows. <a href="#a5c2fbd8367afa325aaf22c6bbf3c634f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct ctk_desktop * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00038.html#a7764e1224f692ae285ef706eb361991f">desktop</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The desktop on which this window is open. <a href="#a7764e1224f692ae285ef706eb361991f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct process * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00038.html#aa0a9f81cb95a7f999c2618ee2c19afe6">owner</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The process that owns the window. <a href="#aa0a9f81cb95a7f999c2618ee2c19afe6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00038.html#a88d87bdebfbac969714162a150325eb9">title</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The title of the window. <a href="#a88d87bdebfbac969714162a150325eb9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00038.html#a286ad62dacbe17e4a1becf8d1e2d8dc4">titlelen</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The length of the title, cached for speed reasons. <a href="#a286ad62dacbe17e4a1becf8d1e2d8dc4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00038.html#ae28cceb9e11fde55afc3abe1c29688b8">w</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The width of the window, excluding window borders. <a href="#ae28cceb9e11fde55afc3abe1c29688b8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="a00038.html#ae2d4a4d04e07beaf18e7581f42d317dc">h</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The height of the window, excluding window borders. <a href="#ae2d4a4d04e07beaf18e7581f42d317dc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00036.html">ctk_widget</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00038.html#ab37295c4d4a76d30daef3c05e4c14bc4">inactive</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The list if widgets that cannot be selected by the user. <a href="#ab37295c4d4a76d30daef3c05e4c14bc4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00036.html">ctk_widget</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00038.html#ad5cf5ddb025397eb66da6753ce8492a4">active</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">The list of widgets that can be selected by the user. <a href="#ad5cf5ddb025397eb66da6753ce8492a4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="a00036.html">ctk_widget</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="a00038.html#aace937271af9c37837634f8dedcb0cf1">focused</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A pointer to the widget on the active list that is currently selected, or NULL if no widget is selected. <a href="#aace937271af9c37837634f8dedcb0cf1"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Representation of a CTK window. </p>
<p>For the CTK, each window is repessented by a <a class="el" href="a00038.html" title="Representation of a CTK window.">ctk_window</a> structure. All open windows are kept on a doubly linked list, linked by the next and prev fields in the <a class="el" href="a00038.html" title="Representation of a CTK window.">ctk_window</a> struct. The window structure holds all widgets that is contained in the window as well as a pointer to the currently selected widget. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00505">505</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
<hr/><h2>Field Documentation</h2>
<a class="anchor" id="ad5cf5ddb025397eb66da6753ce8492a4"></a><!-- doxytag: member="ctk_window::active" ref="ad5cf5ddb025397eb66da6753ce8492a4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="a00036.html">ctk_widget</a>* <a class="el" href="a00038.html#ad5cf5ddb025397eb66da6753ce8492a4">ctk_window::active</a><code> [read]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The list of widgets that can be selected by the user. </p>
<p>Buttons, hyperlinks, text entry fields, etc., are placed on this list. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00557">557</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
<p>Referenced by <a class="el" href="a00141_source.html#l00486">ctk_window_clear()</a>.</p>
</div>
</div>
<a class="anchor" id="a7764e1224f692ae285ef706eb361991f"></a><!-- doxytag: member="ctk_window::desktop" ref="a7764e1224f692ae285ef706eb361991f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct ctk_desktop* <a class="el" href="a00038.html#a7764e1224f692ae285ef706eb361991f">ctk_window::desktop</a><code> [read]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The desktop on which this window is open. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00511">511</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
</div>
</div>
<a class="anchor" id="aace937271af9c37837634f8dedcb0cf1"></a><!-- doxytag: member="ctk_window::focused" ref="aace937271af9c37837634f8dedcb0cf1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="a00036.html">ctk_widget</a>* <a class="el" href="a00038.html#aace937271af9c37837634f8dedcb0cf1">ctk_window::focused</a><code> [read]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>A pointer to the widget on the active list that is currently selected, or NULL if no widget is selected. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00561">561</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
<p>Referenced by <a class="el" href="a00132_source.html#l00240">ctk_draw_widget()</a>, and <a class="el" href="a00141_source.html#l00486">ctk_window_clear()</a>.</p>
</div>
</div>
<a class="anchor" id="ae2d4a4d04e07beaf18e7581f42d317dc"></a><!-- doxytag: member="ctk_window::h" ref="ae2d4a4d04e07beaf18e7581f42d317dc" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned char <a class="el" href="a00038.html#ae2d4a4d04e07beaf18e7581f42d317dc">ctk_window::h</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The height of the window, excluding window borders. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00548">548</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
<p>Referenced by <a class="el" href="a00132_source.html#l00266">ctk_draw_clear_window()</a>, <a class="el" href="a00139_source.html#l00754">ctk_draw_dialog()</a>, <a class="el" href="a00132_source.html#l00240">ctk_draw_widget()</a>, and <a class="el" href="a00132_source.html#l00328">ctk_draw_window()</a>.</p>
</div>
</div>
<a class="anchor" id="ab37295c4d4a76d30daef3c05e4c14bc4"></a><!-- doxytag: member="ctk_window::inactive" ref="ab37295c4d4a76d30daef3c05e4c14bc4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="a00036.html">ctk_widget</a>* <a class="el" href="a00038.html#ab37295c4d4a76d30daef3c05e4c14bc4">ctk_window::inactive</a><code> [read]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The list if widgets that cannot be selected by the user. </p>
<p>Labels and separator widgets are placed on this list. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00553">553</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
<p>Referenced by <a class="el" href="a00141_source.html#l00486">ctk_window_clear()</a>.</p>
</div>
</div>
<a class="anchor" id="a92e81d0f1ffd6a52ce0fa29caedaca3c"></a><!-- doxytag: member="ctk_window::next" ref="a92e81d0f1ffd6a52ce0fa29caedaca3c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="a00038.html">ctk_window</a>* <a class="el" href="a00038.html#a92e81d0f1ffd6a52ce0fa29caedaca3c">ctk_window::next</a><code> [read]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The next window in the doubly linked list of open windows. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00506">506</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
<p>Referenced by <a class="el" href="a00141_source.html#l00401">ctk_window_close()</a>, and <a class="el" href="a00141_source.html#l00348">ctk_window_open()</a>.</p>
</div>
</div>
<a class="anchor" id="aa0a9f81cb95a7f999c2618ee2c19afe6"></a><!-- doxytag: member="ctk_window::owner" ref="aa0a9f81cb95a7f999c2618ee2c19afe6" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct process* <a class="el" href="a00038.html#aa0a9f81cb95a7f999c2618ee2c19afe6">ctk_window::owner</a><code> [read]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The process that owns the window. </p>
<p>This process will be the receiver of all CTK signals that pertain to this window. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00514">514</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
</div>
</div>
<a class="anchor" id="a5c2fbd8367afa325aaf22c6bbf3c634f"></a><!-- doxytag: member="ctk_window::prev" ref="a5c2fbd8367afa325aaf22c6bbf3c634f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="a00038.html">ctk_window</a> * <a class="el" href="a00038.html#a5c2fbd8367afa325aaf22c6bbf3c634f">ctk_window::prev</a><code> [read]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The previous window in the doubly linked list of open windows. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00506">506</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
<p>Referenced by <a class="el" href="a00141_source.html#l00401">ctk_window_close()</a>, and <a class="el" href="a00141_source.html#l00348">ctk_window_open()</a>.</p>
</div>
</div>
<a class="anchor" id="a88d87bdebfbac969714162a150325eb9"></a><!-- doxytag: member="ctk_window::title" ref="a88d87bdebfbac969714162a150325eb9" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char* <a class="el" href="a00038.html#a88d87bdebfbac969714162a150325eb9">ctk_window::title</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The title of the window. </p>
<p>Used for constructing the "Dekstop" menu. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00519">519</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
</div>
</div>
<a class="anchor" id="a286ad62dacbe17e4a1becf8d1e2d8dc4"></a><!-- doxytag: member="ctk_window::titlelen" ref="a286ad62dacbe17e4a1becf8d1e2d8dc4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned char <a class="el" href="a00038.html#a286ad62dacbe17e4a1becf8d1e2d8dc4">ctk_window::titlelen</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The length of the title, cached for speed reasons. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00521">521</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
<p>Referenced by <a class="el" href="a00132_source.html#l00328">ctk_draw_window()</a>.</p>
</div>
</div>
<a class="anchor" id="ae28cceb9e11fde55afc3abe1c29688b8"></a><!-- doxytag: member="ctk_window::w" ref="ae28cceb9e11fde55afc3abe1c29688b8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">unsigned char <a class="el" href="a00038.html#ae28cceb9e11fde55afc3abe1c29688b8">ctk_window::w</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The width of the window, excluding window borders. </p>
<p>Definition at line <a class="el" href="a00142_source.html#l00548">548</a> of file <a class="el" href="a00142_source.html">ctk.h</a>.</p>
<p>Referenced by <a class="el" href="a00132_source.html#l00266">ctk_draw_clear_window()</a>, <a class="el" href="a00139_source.html#l00754">ctk_draw_dialog()</a>, <a class="el" href="a00132_source.html#l00240">ctk_draw_widget()</a>, and <a class="el" href="a00132_source.html#l00328">ctk_draw_window()</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>