File: CEGUITree_8h_source.html

package info (click to toggle)
cegui-mk2 0.7.6-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 105,384 kB
  • sloc: cpp: 142,729; ansic: 27,984; sh: 11,010; makefile: 2,275; python: 916; xml: 17
file content (410 lines) | stat: -rw-r--r-- 47,756 bytes parent folder | download | duplicates (2)
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
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
<!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>Crazy Eddies GUI System: CEGUITree.h Source File</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.7.4 -->
<script type="text/javascript">
function hasClass(ele,cls) {
  return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}

function addClass(ele,cls) {
  if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}

function removeClass(ele,cls) {
  if (hasClass(ele,cls)) {
    var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
    ele.className=ele.className.replace(reg,' ');
  }
}

function toggleVisibility(linkObj) {
 var base = linkObj.getAttribute('id');
 var summary = document.getElementById(base + '-summary');
 var content = document.getElementById(base + '-content');
 var trigger = document.getElementById(base + '-trigger');
 if ( hasClass(linkObj,'closed') ) {
   summary.style.display = 'none';
   content.style.display = 'block';
   trigger.src = 'open.png';
   removeClass(linkObj,'closed');
   addClass(linkObj,'opened');
 } else if ( hasClass(linkObj,'opened') ) {
   summary.style.display = 'block';
   content.style.display = 'none';
   trigger.src = 'closed.png';
   removeClass(linkObj,'opened');
   addClass(linkObj,'closed');
 }
 return false;
}
</script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Crazy Eddies GUI System&#160;<span id="projectnumber">0.7.6</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">CEGUITree.h</div>  </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/***********************************************************************</span>
<a name="l00002"></a>00002 <span class="comment">    filename:   CEGUITree.h</span>
<a name="l00003"></a>00003 <span class="comment">    created:    5-13-07</span>
<a name="l00004"></a>00004 <span class="comment">    author:             Jonathan Welch (Based on Code by David Durant)</span>
<a name="l00005"></a>00005 <span class="comment"> *************************************************************************/</span>
<a name="l00006"></a>00006 <span class="comment">/***************************************************************************</span>
<a name="l00007"></a>00007 <span class="comment"> *   Copyright (C) 2004 - 2006 Paul D Turner &amp; The CEGUI Development Team</span>
<a name="l00008"></a>00008 <span class="comment"> *</span>
<a name="l00009"></a>00009 <span class="comment"> *   Permission is hereby granted, free of charge, to any person obtaining</span>
<a name="l00010"></a>00010 <span class="comment"> *   a copy of this software and associated documentation files (the</span>
<a name="l00011"></a>00011 <span class="comment"> *   &quot;Software&quot;), to deal in the Software without restriction, including</span>
<a name="l00012"></a>00012 <span class="comment"> *   without limitation the rights to use, copy, modify, merge, publish,</span>
<a name="l00013"></a>00013 <span class="comment"> *   distribute, sublicense, and/or sell copies of the Software, and to</span>
<a name="l00014"></a>00014 <span class="comment"> *   permit persons to whom the Software is furnished to do so, subject to</span>
<a name="l00015"></a>00015 <span class="comment"> *   the following conditions:</span>
<a name="l00016"></a>00016 <span class="comment"> *</span>
<a name="l00017"></a>00017 <span class="comment"> *   The above copyright notice and this permission notice shall be</span>
<a name="l00018"></a>00018 <span class="comment"> *   included in all copies or substantial portions of the Software.</span>
<a name="l00019"></a>00019 <span class="comment"> *</span>
<a name="l00020"></a>00020 <span class="comment"> *   THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,</span>
<a name="l00021"></a>00021 <span class="comment"> *   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF</span>
<a name="l00022"></a>00022 <span class="comment"> *   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.</span>
<a name="l00023"></a>00023 <span class="comment"> *   IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR</span>
<a name="l00024"></a>00024 <span class="comment"> *   OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,</span>
<a name="l00025"></a>00025 <span class="comment"> *   ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR</span>
<a name="l00026"></a>00026 <span class="comment"> *   OTHER DEALINGS IN THE SOFTWARE.</span>
<a name="l00027"></a>00027 <span class="comment"> ***************************************************************************/</span>
<a name="l00028"></a>00028 <span class="preprocessor">#ifndef _CEGUITree_h_</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define _CEGUITree_h_</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &quot;../CEGUIBase.h&quot;</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include &quot;../CEGUIWindow.h&quot;</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include &quot;../CEGUIWindowManager.h&quot;</span>
<a name="l00034"></a>00034 <span class="preprocessor">#include &quot;CEGUITreeItem.h&quot;</span>
<a name="l00035"></a>00035 <span class="preprocessor">#include &quot;CEGUITreeProperties.h&quot;</span>
<a name="l00036"></a>00036 <span class="preprocessor">#include &lt;vector&gt;</span>
<a name="l00037"></a>00037 
<a name="l00038"></a>00038 <span class="preprocessor">#if defined(_MSC_VER)</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor">#       pragma warning(push)</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#       pragma warning(disable : 4251)</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span>
<a name="l00043"></a>00043 <span class="comment">// Start of CEGUI namespace section</span>
<a name="l00044"></a>00044 <span class="keyword">namespace </span>CEGUI
<a name="l00045"></a>00045 {
<a name="l00051"></a><a class="code" href="classCEGUI_1_1TreeEventArgs.html">00051</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1TreeEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning Tree events...">TreeEventArgs</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>
<a name="l00052"></a>00052 {
<a name="l00053"></a>00053 <span class="keyword">public</span>:
<a name="l00054"></a>00054     <a class="code" href="classCEGUI_1_1TreeEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning Tree events...">TreeEventArgs</a>(<a class="code" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>* wnd) : <a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>(wnd)
<a name="l00055"></a>00055         { treeItem = 0; }
<a name="l00056"></a>00056 
<a name="l00057"></a>00057     <a class="code" href="classCEGUI_1_1TreeItem.html" title="Base class for tree items.">TreeItem</a> *treeItem;
<a name="l00058"></a>00058 };
<a name="l00059"></a>00059 
<a name="l00060"></a>00060 
<a name="l00075"></a><a class="code" href="classCEGUI_1_1Tree.html">00075</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1Tree.html" title="Base class for standard Tree widget.">Tree</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>
<a name="l00076"></a>00076 {
<a name="l00077"></a>00077     <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classCEGUI_1_1TreeItem.html" title="Base class for tree items.">TreeItem</a>;
<a name="l00078"></a>00078     <span class="keyword">typedef</span>     std::vector&lt;TreeItem*&gt;  LBItemList;
<a name="l00079"></a>00079     
<a name="l00080"></a>00080 <span class="keyword">public</span>:
<a name="l00082"></a><a class="code" href="classCEGUI_1_1Tree.html#aab7c2ffdec6339ccd790a1b6ea2235ee">00082</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1Tree.html#aab7c2ffdec6339ccd790a1b6ea2235ee" title="Namespace for global events.">EventNamespace</a>;
<a name="l00083"></a>00083     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> WidgetTypeName;
<a name="l00084"></a>00084     
<a name="l00085"></a>00085     <span class="comment">/*************************************************************************</span>
<a name="l00086"></a>00086 <span class="comment">        Constants</span>
<a name="l00087"></a>00087 <span class="comment">     *************************************************************************/</span>
<a name="l00088"></a>00088     <span class="comment">// event names</span>
<a name="l00093"></a><a class="code" href="classCEGUI_1_1Tree.html#a818505b6477711268dc64589e8b3cac8">00093</a> <span class="comment"></span>    <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1Tree.html#a818505b6477711268dc64589e8b3cac8">EventListContentsChanged</a>;
<a name="l00100"></a><a class="code" href="classCEGUI_1_1Tree.html#a306bcc97632156a15beee3c04d38a622">00100</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1Tree.html#a306bcc97632156a15beee3c04d38a622">EventSelectionChanged</a>;
<a name="l00106"></a><a class="code" href="classCEGUI_1_1Tree.html#ab3ab09ad8734a949618c63173a2774ec">00106</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1Tree.html#ab3ab09ad8734a949618c63173a2774ec">EventSortModeChanged</a>;
<a name="l00112"></a><a class="code" href="classCEGUI_1_1Tree.html#ad0a05acdd66eaf530e2f45569cca0c6a">00112</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1Tree.html#ad0a05acdd66eaf530e2f45569cca0c6a">EventMultiselectModeChanged</a>;
<a name="l00119"></a><a class="code" href="classCEGUI_1_1Tree.html#aa665265ea2d9cf01c8ea0a8bfff640b0">00119</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1Tree.html#aa665265ea2d9cf01c8ea0a8bfff640b0">EventVertScrollbarModeChanged</a>;
<a name="l00126"></a><a class="code" href="classCEGUI_1_1Tree.html#a33d0079404580a266f135796b45f4cb9">00126</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1Tree.html#a33d0079404580a266f135796b45f4cb9">EventHorzScrollbarModeChanged</a>;
<a name="l00133"></a><a class="code" href="classCEGUI_1_1Tree.html#aa85d9eeacc2494bfbfca460ac6debcae">00133</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1Tree.html#aa85d9eeacc2494bfbfca460ac6debcae">EventBranchOpened</a>;
<a name="l00140"></a><a class="code" href="classCEGUI_1_1Tree.html#abcfc0fc03e4eb18b1ef9b6ad91c294fe">00140</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1Tree.html#abcfc0fc03e4eb18b1ef9b6ad91c294fe">EventBranchClosed</a>;
<a name="l00141"></a>00141 
<a name="l00142"></a>00142     <span class="comment">//Render the actual tree</span>
<a name="l00143"></a>00143     <span class="keywordtype">void</span> doTreeRender()
<a name="l00144"></a>00144         { populateGeometryBuffer(); }
<a name="l00145"></a>00145 
<a name="l00146"></a>00146     <span class="comment">//UpdateScrollbars</span>
<a name="l00147"></a>00147     <span class="keywordtype">void</span> doScrollbars()
<a name="l00148"></a>00148         { configureScrollbars(); }
<a name="l00149"></a>00149 
<a name="l00150"></a>00150     <span class="comment">/*************************************************************************</span>
<a name="l00151"></a>00151 <span class="comment">        Accessor Methods</span>
<a name="l00152"></a>00152 <span class="comment">     *************************************************************************/</span>
<a name="l00160"></a><a class="code" href="classCEGUI_1_1Tree.html#ac5a5ca85117ea2f87fbcb82cd00f99fe">00160</a>     <span class="keywordtype">size_t</span> getItemCount(<span class="keywordtype">void</span>)<span class="keyword"> const</span>
<a name="l00161"></a>00161 <span class="keyword">        </span>{ <span class="keywordflow">return</span> d_listItems.size(); }
<a name="l00162"></a>00162 
<a name="l00170"></a>00170     <span class="keywordtype">size_t</span> getSelectedCount(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00171"></a>00171 
<a name="l00180"></a>00180     <a class="code" href="classCEGUI_1_1TreeItem.html" title="Base class for tree items.">TreeItem</a>* getFirstSelectedItem(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00181"></a>00181         
<a name="l00191"></a><a class="code" href="classCEGUI_1_1Tree.html#ab9d4a9cea29e24a4ed8729fb2fdb7fba">00191</a>     <a class="code" href="classCEGUI_1_1TreeItem.html" title="Base class for tree items.">TreeItem</a>* getLastSelectedItem(<span class="keywordtype">void</span>)<span class="keyword"> const</span>
<a name="l00192"></a>00192 <span class="keyword">        </span>{ <span class="keywordflow">return</span> d_lastSelected; }
<a name="l00193"></a>00193 
<a name="l00211"></a>00211     <a class="code" href="classCEGUI_1_1TreeItem.html" title="Base class for tree items.">TreeItem</a>* getNextSelected(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1TreeItem.html" title="Base class for tree items.">TreeItem</a>* start_item) <span class="keyword">const</span>;
<a name="l00212"></a>00212     
<a name="l00213"></a>00213     <a class="code" href="classCEGUI_1_1TreeItem.html" title="Base class for tree items.">TreeItem</a>* getNextSelectedItemFromList(<span class="keyword">const</span> LBItemList &amp;itemList,
<a name="l00214"></a>00214                                           <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1TreeItem.html" title="Base class for tree items.">TreeItem</a>* start_item,
<a name="l00215"></a>00215                                           <span class="keywordtype">bool</span>&amp; foundStartItem) <span class="keyword">const</span>;
<a name="l00216"></a>00216 
<a name="l00225"></a><a class="code" href="classCEGUI_1_1Tree.html#a81903310aaa97d96fcbfcd06178969f5">00225</a>     <span class="keywordtype">bool</span> isSortEnabled(<span class="keywordtype">void</span>)<span class="keyword"> const</span>
<a name="l00226"></a>00226 <span class="keyword">        </span>{ <span class="keywordflow">return</span> d_sorted; }
<a name="l00227"></a>00227     
<a name="l00228"></a>00228     <span class="keywordtype">void</span> setItemRenderArea(<a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a>&amp; r)
<a name="l00229"></a>00229         { d_itemArea = r; }
<a name="l00230"></a>00230     
<a name="l00231"></a>00231     Scrollbar* getVertScrollbar()
<a name="l00232"></a>00232         { <span class="keywordflow">return</span> d_vertScrollbar; }
<a name="l00233"></a>00233 
<a name="l00234"></a>00234     Scrollbar* getHorzScrollbar()
<a name="l00235"></a>00235         { <span class="keywordflow">return</span> d_horzScrollbar; }
<a name="l00236"></a>00236 
<a name="l00244"></a><a class="code" href="classCEGUI_1_1Tree.html#aecb97d68700de81372e4448fcfbf6b30">00244</a>     <span class="keywordtype">bool</span> isMultiselectEnabled(<span class="keywordtype">void</span>)<span class="keyword"> const</span>
<a name="l00245"></a>00245 <span class="keyword">        </span>{ <span class="keywordflow">return</span> d_multiselect; }
<a name="l00246"></a>00246     
<a name="l00247"></a>00247     <span class="keywordtype">bool</span> isItemTooltipsEnabled(<span class="keywordtype">void</span>)<span class="keyword"> const</span>
<a name="l00248"></a>00248 <span class="keyword">        </span>{ <span class="keywordflow">return</span> d_itemTooltips; }
<a name="l00249"></a>00249 
<a name="l00269"></a>00269     TreeItem* findFirstItemWithText(<span class="keyword">const</span> String&amp; text);
<a name="l00270"></a>00270 
<a name="l00271"></a>00271     TreeItem* findNextItemWithText(<span class="keyword">const</span> String&amp; text,
<a name="l00272"></a>00272                                    <span class="keyword">const</span> TreeItem* start_item);
<a name="l00273"></a>00273 
<a name="l00274"></a>00274     TreeItem* findItemWithTextFromList(<span class="keyword">const</span> LBItemList &amp;itemList,
<a name="l00275"></a>00275                                        <span class="keyword">const</span> String&amp; text,
<a name="l00276"></a>00276                                        <span class="keyword">const</span> TreeItem* start_item,
<a name="l00277"></a>00277                                        <span class="keywordtype">bool</span> foundStartItem);
<a name="l00278"></a>00278 
<a name="l00298"></a>00298     TreeItem* findFirstItemWithID(uint searchID);
<a name="l00299"></a>00299     TreeItem* findNextItemWithID(uint searchID, <span class="keyword">const</span> TreeItem* start_item);
<a name="l00300"></a>00300     TreeItem* findItemWithIDFromList(<span class="keyword">const</span> LBItemList &amp;itemList, uint searchID,
<a name="l00301"></a>00301                                      <span class="keyword">const</span> TreeItem* start_item,
<a name="l00302"></a>00302                                      <span class="keywordtype">bool</span> foundStartItem);
<a name="l00303"></a>00303 
<a name="l00312"></a>00312     <span class="keywordtype">bool</span> isTreeItemInList(<span class="keyword">const</span> TreeItem* item) <span class="keyword">const</span>;
<a name="l00313"></a>00313 
<a name="l00322"></a>00322     <span class="keywordtype">bool</span> isVertScrollbarAlwaysShown(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00323"></a>00323 
<a name="l00332"></a>00332     <span class="keywordtype">bool</span> isHorzScrollbarAlwaysShown(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00333"></a>00333 
<a name="l00334"></a>00334     <span class="comment">/*************************************************************************</span>
<a name="l00335"></a>00335 <span class="comment">        Manipulator Methods</span>
<a name="l00336"></a>00336 <span class="comment">     *************************************************************************/</span>
<a name="l00348"></a>00348     <span class="keyword">virtual</span> <span class="keywordtype">void</span> initialise(<span class="keywordtype">void</span>);
<a name="l00349"></a>00349 
<a name="l00356"></a>00356     <span class="keywordtype">void</span> resetList(<span class="keywordtype">void</span>);
<a name="l00357"></a>00357 
<a name="l00370"></a>00370     <span class="keywordtype">void</span> addItem(TreeItem* item);
<a name="l00371"></a>00371 
<a name="l00395"></a>00395     <span class="keywordtype">void</span> insertItem(TreeItem* item, <span class="keyword">const</span> TreeItem* position);
<a name="l00396"></a>00396 
<a name="l00409"></a>00409     <span class="keywordtype">void</span> removeItem(<span class="keyword">const</span> TreeItem* item);
<a name="l00410"></a>00410 
<a name="l00418"></a>00418     <span class="keywordtype">void</span> clearAllSelections(<span class="keywordtype">void</span>);
<a name="l00419"></a>00419     <span class="keywordtype">bool</span> clearAllSelectionsFromList(<span class="keyword">const</span> LBItemList &amp;itemList);
<a name="l00420"></a>00420 
<a name="l00432"></a>00432     <span class="keywordtype">void</span> setSortingEnabled(<span class="keywordtype">bool</span> setting);
<a name="l00433"></a>00433 
<a name="l00446"></a>00446     <span class="keywordtype">void</span> setMultiselectEnabled(<span class="keywordtype">bool</span> setting);
<a name="l00447"></a>00447 
<a name="l00461"></a>00461     <span class="keywordtype">void</span> setShowVertScrollbar(<span class="keywordtype">bool</span> setting);
<a name="l00462"></a>00462 
<a name="l00476"></a>00476     <span class="keywordtype">void</span> setShowHorzScrollbar(<span class="keywordtype">bool</span> setting);
<a name="l00477"></a>00477     
<a name="l00478"></a>00478     <span class="keywordtype">void</span> setItemTooltipsEnabled(<span class="keywordtype">bool</span> setting);
<a name="l00479"></a>00479 
<a name="l00503"></a>00503     <span class="keywordtype">void</span> setItemSelectState(TreeItem* item, <span class="keywordtype">bool</span> state);
<a name="l00504"></a>00504 
<a name="l00528"></a>00528     <span class="keywordtype">void</span> setItemSelectState(<span class="keywordtype">size_t</span> item_index, <span class="keywordtype">bool</span> state);
<a name="l00529"></a>00529     
<a name="l00547"></a>00547     <span class="keyword">virtual</span> <span class="keywordtype">void</span> setLookNFeel(<span class="keyword">const</span> String&amp; look);
<a name="l00548"></a>00548     
<a name="l00562"></a>00562     <span class="keywordtype">void</span> handleUpdatedItemData(<span class="keywordtype">void</span>);
<a name="l00563"></a>00563 
<a name="l00577"></a>00577     <span class="keywordtype">void</span> ensureItemIsVisible(<span class="keyword">const</span> TreeItem* item);
<a name="l00578"></a>00578     
<a name="l00579"></a>00579     
<a name="l00580"></a>00580     <span class="comment">/*************************************************************************</span>
<a name="l00581"></a>00581 <span class="comment">     Construction and Destruction</span>
<a name="l00582"></a>00582 <span class="comment">     *************************************************************************/</span>
<a name="l00587"></a>00587     Tree(<span class="keyword">const</span> String&amp; type, <span class="keyword">const</span> String&amp; name);
<a name="l00588"></a>00588 
<a name="l00593"></a>00593     <span class="keyword">virtual</span> ~Tree(<span class="keywordtype">void</span>);
<a name="l00594"></a>00594 
<a name="l00595"></a>00595 <span class="keyword">protected</span>:
<a name="l00596"></a>00596     <span class="comment">/*************************************************************************</span>
<a name="l00597"></a>00597 <span class="comment">        Abstract Implementation Functions (must be provided by derived class)</span>
<a name="l00598"></a>00598 <span class="comment">     *************************************************************************/</span>
<a name="l00608"></a><a class="code" href="classCEGUI_1_1Tree.html#a9065f74dfa68d78cdffb908311350393">00608</a>     <span class="keyword">virtual</span>     <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a> getTreeRenderArea(<span class="keywordtype">void</span>)<span class="keyword"> const</span>
<a name="l00609"></a>00609 <span class="keyword">        </span>{ <span class="keywordflow">return</span> d_itemArea; }
<a name="l00610"></a>00610     
<a name="l00622"></a><a class="code" href="classCEGUI_1_1Tree.html#a0e9311458af24d3274fdb07904cefc58">00622</a>     <span class="keyword">virtual</span> <a class="code" href="classCEGUI_1_1Scrollbar.html" title="Base scroll bar class.">Scrollbar</a>* createVertScrollbar(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; name)<span class="keyword"> const</span>
<a name="l00623"></a>00623 <span class="keyword">        </span>{ <span class="keywordflow">return</span> (<a class="code" href="classCEGUI_1_1Scrollbar.html" title="Base scroll bar class.">Scrollbar</a>*)(WindowManager::getSingleton().getWindow(name)); }
<a name="l00624"></a>00624 
<a name="l00636"></a><a class="code" href="classCEGUI_1_1Tree.html#a238b6a6c78f4150cfb076185d0076b8b">00636</a>     <span class="keyword">virtual</span> <a class="code" href="classCEGUI_1_1Scrollbar.html" title="Base scroll bar class.">Scrollbar</a>* createHorzScrollbar(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; name)<span class="keyword"> const</span>
<a name="l00637"></a>00637 <span class="keyword">        </span>{ <span class="keywordflow">return</span> (<a class="code" href="classCEGUI_1_1Scrollbar.html" title="Base scroll bar class.">Scrollbar</a>*)(WindowManager::getSingleton().getWindow(name)); }
<a name="l00638"></a>00638 
<a name="l00649"></a><a class="code" href="classCEGUI_1_1Tree.html#a7f2e499ffad5dc0b1703ecc6792a3213">00649</a>     <span class="keyword">virtual</span>     <span class="keywordtype">void</span> cacheTreeBaseImagery()
<a name="l00650"></a>00650     {}
<a name="l00651"></a>00651     
<a name="l00652"></a>00652     <span class="comment">/*************************************************************************</span>
<a name="l00653"></a>00653 <span class="comment">        Implementation Functions</span>
<a name="l00654"></a>00654 <span class="comment">     *************************************************************************/</span>
<a name="l00659"></a>00659     <span class="keywordtype">bool</span> containsOpenItemRecursive(<span class="keyword">const</span> LBItemList&amp; itemList, <a class="code" href="classCEGUI_1_1TreeItem.html" title="Base class for tree items.">TreeItem</a>* item);
<a name="l00660"></a>00660 
<a name="l00665"></a>00665     <span class="keywordtype">void</span> addTreeEvents(<span class="keywordtype">void</span>);
<a name="l00666"></a>00666     
<a name="l00667"></a>00667     
<a name="l00673"></a>00673     <span class="keywordtype">void</span> configureScrollbars(<span class="keywordtype">void</span>);
<a name="l00674"></a>00674     
<a name="l00680"></a>00680     <span class="keywordtype">void</span> selectRange(<span class="keywordtype">size_t</span> start, <span class="keywordtype">size_t</span> end);
<a name="l00681"></a>00681     
<a name="l00686"></a>00686     <span class="keywordtype">float</span> getTotalItemsHeight(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00687"></a>00687     <span class="keywordtype">void</span> getTotalItemsInListHeight(<span class="keyword">const</span> LBItemList &amp;itemList,
<a name="l00688"></a>00688                                     <span class="keywordtype">float</span> *heightSum) <span class="keyword">const</span>;
<a name="l00689"></a>00689 
<a name="l00694"></a>00694     <span class="keywordtype">float</span> getWidestItemWidth(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00695"></a>00695     <span class="keywordtype">void</span> getWidestItemWidthInList(<span class="keyword">const</span> LBItemList &amp;itemList, <span class="keywordtype">int</span> itemDepth,
<a name="l00696"></a>00696                                   <span class="keywordtype">float</span> *widest) <span class="keyword">const</span>;
<a name="l00697"></a>00697     
<a name="l00706"></a>00706     <span class="keywordtype">bool</span> getHeightToItemInList(<span class="keyword">const</span> LBItemList &amp;itemList,
<a name="l00707"></a>00707                                <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1TreeItem.html" title="Base class for tree items.">TreeItem</a> *treeItem,
<a name="l00708"></a>00708                                <span class="keywordtype">int</span> itemDepth,
<a name="l00709"></a>00709                                <span class="keywordtype">float</span> *height) <span class="keyword">const</span>;
<a name="l00710"></a>00710 
<a name="l00719"></a>00719     <span class="keywordtype">bool</span> clearAllSelections_impl(<span class="keywordtype">void</span>);
<a name="l00720"></a>00720 
<a name="l00729"></a>00729     <a class="code" href="classCEGUI_1_1TreeItem.html" title="Base class for tree items.">TreeItem</a>* getItemAtPoint(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Vector2.html" title="Class used as a two dimensional vector (aka a Point)">Point</a>&amp; pt) <span class="keyword">const</span>;
<a name="l00730"></a>00730     <a class="code" href="classCEGUI_1_1TreeItem.html" title="Base class for tree items.">TreeItem</a>* getItemFromListAtPoint(<span class="keyword">const</span> LBItemList &amp;itemList, <span class="keywordtype">float</span> *bottomY,
<a name="l00731"></a>00731                                      <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Vector2.html" title="Class used as a two dimensional vector (aka a Point)">Point</a>&amp; pt) <span class="keyword">const</span>;
<a name="l00732"></a>00732 
<a name="l00744"></a>00744     <span class="keywordtype">bool</span> resetList_impl(<span class="keywordtype">void</span>);
<a name="l00745"></a>00745 
<a name="l00757"></a><a class="code" href="classCEGUI_1_1Tree.html#a4c2aa7c16ce8aa4a7be9d3864c55db5a">00757</a>     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> testClassName_impl(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; class_name)<span class="keyword"> const</span>
<a name="l00758"></a>00758 <span class="keyword">    </span>{
<a name="l00759"></a>00759         <span class="keywordflow">if</span> (class_name==(<span class="keyword">const</span> utf8*)<span class="stringliteral">&quot;Tree&quot;</span>)
<a name="l00760"></a>00760             <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00761"></a>00761 
<a name="l00762"></a>00762         <span class="keywordflow">return</span> <a class="code" href="classCEGUI_1_1Window.html#a2b58cf00b4790c9cb08acfc18d5d3b0b" title="Return whether this window was inherited from the given class name at some point in the inheritance h...">Window::testClassName_impl</a>(class_name);
<a name="l00763"></a>00763     }
<a name="l00764"></a>00764     
<a name="l00770"></a>00770     <span class="keywordtype">bool</span> handle_scrollChange(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1EventArgs.html" title="Base class used as the argument to all subscribers Event object.">EventArgs</a>&amp; args);
<a name="l00771"></a>00771     
<a name="l00772"></a>00772      <span class="comment">// overridden from Window base class.</span>
<a name="l00773"></a>00773      <span class="keyword">virtual</span> <span class="keywordtype">void</span> populateGeometryBuffer();
<a name="l00774"></a>00774  
<a name="l00775"></a>00775      <span class="keywordtype">void</span> drawItemList(LBItemList&amp; itemList, <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a>&amp; itemsArea, <span class="keywordtype">float</span> widest,
<a name="l00776"></a>00776                        <a class="code" href="classCEGUI_1_1Vector2.html" title="Class used as a two dimensional vector (aka a Point)">Vector2</a>&amp; itemPos, <a class="code" href="classCEGUI_1_1GeometryBuffer.html" title="Abstract class defining the interface for objects that buffer geometry for later rendering.">GeometryBuffer</a>&amp; geometry, <span class="keywordtype">float</span> alpha);
<a name="l00777"></a>00777     
<a name="l00778"></a>00778     <span class="comment">/*************************************************************************</span>
<a name="l00779"></a>00779 <span class="comment">        New event handlers</span>
<a name="l00780"></a>00780 <span class="comment">     *************************************************************************/</span>
<a name="l00785"></a>00785     <span class="keyword">virtual</span>     <span class="keywordtype">void</span> onListContentsChanged(<a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>&amp; e);
<a name="l00786"></a>00786 
<a name="l00792"></a>00792     <span class="keyword">virtual</span>     <span class="keywordtype">void</span> onSelectionChanged(<a class="code" href="classCEGUI_1_1TreeEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning Tree events...">TreeEventArgs</a>&amp; e);
<a name="l00793"></a>00793 
<a name="l00798"></a>00798     <span class="keyword">virtual</span>     <span class="keywordtype">void</span> onSortModeChanged(<a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>&amp; e);
<a name="l00799"></a>00799 
<a name="l00804"></a>00804     <span class="keyword">virtual</span>     <span class="keywordtype">void</span> onMultiselectModeChanged(<a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>&amp; e);
<a name="l00805"></a>00805 
<a name="l00811"></a>00811     <span class="keyword">virtual</span>     <span class="keywordtype">void</span> onVertScrollbarModeChanged(<a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>&amp; e);
<a name="l00812"></a>00812 
<a name="l00818"></a>00818     <span class="keyword">virtual</span>     <span class="keywordtype">void</span> onHorzScrollbarModeChanged(<a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>&amp; e);
<a name="l00819"></a>00819     
<a name="l00824"></a>00824     <span class="keyword">virtual</span>     <span class="keywordtype">void</span> onBranchOpened(<a class="code" href="classCEGUI_1_1TreeEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning Tree events...">TreeEventArgs</a>&amp; e);
<a name="l00825"></a>00825     
<a name="l00830"></a>00830     <span class="keyword">virtual</span>     <span class="keywordtype">void</span> onBranchClosed(<a class="code" href="classCEGUI_1_1TreeEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning Tree events...">TreeEventArgs</a>&amp; e);
<a name="l00831"></a>00831     
<a name="l00832"></a>00832     <span class="comment">/*************************************************************************</span>
<a name="l00833"></a>00833 <span class="comment">        Overridden Event handlers</span>
<a name="l00834"></a>00834 <span class="comment">     *************************************************************************/</span>
<a name="l00835"></a>00835     <span class="keyword">virtual</span> <span class="keywordtype">void</span> onSized(<a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>&amp; e);
<a name="l00836"></a>00836     <span class="keyword">virtual</span> <span class="keywordtype">void</span> onMouseButtonDown(<a class="code" href="classCEGUI_1_1MouseEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning mouse input...">MouseEventArgs</a>&amp; e);
<a name="l00837"></a>00837     <span class="keyword">virtual</span>     <span class="keywordtype">void</span> onMouseWheel(<a class="code" href="classCEGUI_1_1MouseEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning mouse input...">MouseEventArgs</a>&amp; e);
<a name="l00838"></a>00838     <span class="keyword">virtual</span> <span class="keywordtype">void</span> onMouseMove(<a class="code" href="classCEGUI_1_1MouseEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning mouse input...">MouseEventArgs</a>&amp; e);
<a name="l00839"></a>00839 
<a name="l00840"></a>00840     <span class="comment">/*************************************************************************</span>
<a name="l00841"></a>00841 <span class="comment">        Implementation Data</span>
<a name="l00842"></a>00842 <span class="comment">     *************************************************************************/</span>
<a name="l00844"></a><a class="code" href="classCEGUI_1_1Tree.html#a1674794d38a2ea56009fa914d8eaab8a">00844</a>     <span class="keywordtype">bool</span> <a class="code" href="classCEGUI_1_1Tree.html#a1674794d38a2ea56009fa914d8eaab8a" title="true if tree is sorted">d_sorted</a>;
<a name="l00846"></a><a class="code" href="classCEGUI_1_1Tree.html#a1516050dcf5792bc4e8a197a2a4a759f">00846</a>     <span class="keywordtype">bool</span> <a class="code" href="classCEGUI_1_1Tree.html#a1516050dcf5792bc4e8a197a2a4a759f" title="true if multi-select is enabled">d_multiselect</a>;
<a name="l00848"></a><a class="code" href="classCEGUI_1_1Tree.html#a1d9dcec8020057a786716440c8ac7dc6">00848</a>     <span class="keywordtype">bool</span> <a class="code" href="classCEGUI_1_1Tree.html#a1d9dcec8020057a786716440c8ac7dc6" title="true if vertical scrollbar should always be displayed">d_forceVertScroll</a>;
<a name="l00850"></a><a class="code" href="classCEGUI_1_1Tree.html#a1b9520e0365a17269d9fa5c76dda24ae">00850</a>     <span class="keywordtype">bool</span> <a class="code" href="classCEGUI_1_1Tree.html#a1b9520e0365a17269d9fa5c76dda24ae" title="true if horizontal scrollbar should always be displayed">d_forceHorzScroll</a>;
<a name="l00852"></a><a class="code" href="classCEGUI_1_1Tree.html#ad978a991556a19f2192453b89e3f9061">00852</a>     <span class="keywordtype">bool</span> <a class="code" href="classCEGUI_1_1Tree.html#ad978a991556a19f2192453b89e3f9061" title="true if each item should have an individual tooltip">d_itemTooltips</a>;
<a name="l00854"></a><a class="code" href="classCEGUI_1_1Tree.html#a2037bafd0e8aa538d3ee8401080acdb8">00854</a>     <a class="code" href="classCEGUI_1_1Scrollbar.html" title="Base scroll bar class.">Scrollbar</a>* <a class="code" href="classCEGUI_1_1Tree.html#a2037bafd0e8aa538d3ee8401080acdb8" title="vertical scroll-bar widget">d_vertScrollbar</a>;
<a name="l00856"></a><a class="code" href="classCEGUI_1_1Tree.html#a58eb6d5adc10bacfaa24010de71a368e">00856</a>     <a class="code" href="classCEGUI_1_1Scrollbar.html" title="Base scroll bar class.">Scrollbar</a>* <a class="code" href="classCEGUI_1_1Tree.html#a58eb6d5adc10bacfaa24010de71a368e" title="horizontal scroll-bar widget">d_horzScrollbar</a>;
<a name="l00858"></a><a class="code" href="classCEGUI_1_1Tree.html#aee65f3ac3c64a7b09550dd9e0d4bc8d4">00858</a>     LBItemList <a class="code" href="classCEGUI_1_1Tree.html#aee65f3ac3c64a7b09550dd9e0d4bc8d4" title="list of items in the tree.">d_listItems</a>;
<a name="l00860"></a><a class="code" href="classCEGUI_1_1Tree.html#aa9e69a1c12e691415989156897ae1164">00860</a>     <a class="code" href="classCEGUI_1_1TreeItem.html" title="Base class for tree items.">TreeItem</a>* <a class="code" href="classCEGUI_1_1Tree.html#aa9e69a1c12e691415989156897ae1164" title="holds pointer to the last selected item (used in range selections)">d_lastSelected</a>;
<a name="l00861"></a>00861     <a class="code" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>* d_openButtonImagery;
<a name="l00862"></a>00862     <a class="code" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>* d_closeButtonImagery;
<a name="l00863"></a>00863 
<a name="l00864"></a>00864 <span class="keyword">private</span>:
<a name="l00865"></a>00865     <span class="comment">/*************************************************************************</span>
<a name="l00866"></a>00866 <span class="comment">        Static Properties for this class</span>
<a name="l00867"></a>00867 <span class="comment">     *************************************************************************/</span>
<a name="l00868"></a>00868     <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1TreeProperties_1_1Sort.html" title="Property to access the sort setting of the Tree.">TreeProperties::Sort</a>                                 d_sortProperty;
<a name="l00869"></a>00869     <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1TreeProperties_1_1MultiSelect.html" title="Property to access the multi-select setting of the tree.">TreeProperties::MultiSelect</a>                  d_multiSelectProperty;
<a name="l00870"></a>00870     <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1TreeProperties_1_1ForceVertScrollbar.html" title="Property to access the &#39;always show&#39; setting for the vertical scroll bar of the tree.">TreeProperties::ForceVertScrollbar</a>   d_forceVertProperty;
<a name="l00871"></a>00871     <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1TreeProperties_1_1ForceHorzScrollbar.html" title="Property to access the &#39;always show&#39; setting for the horizontal scroll bar of the tree...">TreeProperties::ForceHorzScrollbar</a>   d_forceHorzProperty;
<a name="l00872"></a>00872     <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1TreeProperties_1_1ItemTooltips.html" title="Property to access the show item tooltips setting of the tree.">TreeProperties::ItemTooltips</a>                 d_itemTooltipsProperty;
<a name="l00873"></a>00873     
<a name="l00874"></a>00874     <span class="comment">/*************************************************************************</span>
<a name="l00875"></a>00875 <span class="comment">        Private methods</span>
<a name="l00876"></a>00876 <span class="comment">     *************************************************************************/</span>
<a name="l00877"></a>00877     <span class="keywordtype">void</span> addTreeProperties(<span class="keywordtype">void</span>);
<a name="l00878"></a>00878     <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a> d_itemArea;
<a name="l00879"></a>00879 };
<a name="l00880"></a>00880 
<a name="l00886"></a>00886 <span class="keywordtype">bool</span> <a class="code" href="namespaceCEGUI.html#a3e4cb7396cb57fe20d144c71904eabdf" title="Helper function used in sorting to compare two list box item text strings via the ListboxItem pointer...">lbi_less</a>(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1TreeItem.html" title="Base class for tree items.">TreeItem</a>* a, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1TreeItem.html" title="Base class for tree items.">TreeItem</a>* b);
<a name="l00887"></a>00887 
<a name="l00888"></a>00888 
<a name="l00894"></a>00894 <span class="keywordtype">bool</span> <a class="code" href="namespaceCEGUI.html#abde78fdeb4c15d8a136cc2f72d1d8f11" title="Helper function used in sorting to compare two list box item text strings via the ListboxItem pointer...">lbi_greater</a>(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1TreeItem.html" title="Base class for tree items.">TreeItem</a>* a, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1TreeItem.html" title="Base class for tree items.">TreeItem</a>* b);
<a name="l00895"></a>00895 
<a name="l00896"></a>00896 } <span class="comment">// End of  CEGUI namespace section</span>
<a name="l00897"></a>00897 
<a name="l00898"></a>00898 
<a name="l00899"></a>00899 <span class="preprocessor">#if defined(_MSC_VER)</span>
<a name="l00900"></a>00900 <span class="preprocessor"></span><span class="preprocessor">#       pragma warning(pop)</span>
<a name="l00901"></a>00901 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00902"></a>00902 <span class="preprocessor"></span>
<a name="l00903"></a>00903 <span class="preprocessor">#endif  // end of guard _CEGUITree_h_</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Sun Jan 22 2012 16:07:40 for Crazy Eddies GUI System by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>