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 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473
|
<!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: CEGUICombobox.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 <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 Page</span></a></li>
<li><a href="pages.html"><span>Related 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 List</span></a></li>
</ul>
</div>
<div class="header">
<div class="headertitle">
<div class="title">CEGUICombobox.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: CEGUICombobox.h</span>
<a name="l00003"></a>00003 <span class="comment"> created: 13/4/2004</span>
<a name="l00004"></a>00004 <span class="comment"> author: Paul D Turner</span>
<a name="l00005"></a>00005 <span class="comment"> </span>
<a name="l00006"></a>00006 <span class="comment"> purpose: Interface to base class for Combobox widget</span>
<a name="l00007"></a>00007 <span class="comment">*************************************************************************/</span>
<a name="l00008"></a>00008 <span class="comment">/***************************************************************************</span>
<a name="l00009"></a>00009 <span class="comment"> * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining</span>
<a name="l00012"></a>00012 <span class="comment"> * a copy of this software and associated documentation files (the</span>
<a name="l00013"></a>00013 <span class="comment"> * "Software"), to deal in the Software without restriction, including</span>
<a name="l00014"></a>00014 <span class="comment"> * without limitation the rights to use, copy, modify, merge, publish,</span>
<a name="l00015"></a>00015 <span class="comment"> * distribute, sublicense, and/or sell copies of the Software, and to</span>
<a name="l00016"></a>00016 <span class="comment"> * permit persons to whom the Software is furnished to do so, subject to</span>
<a name="l00017"></a>00017 <span class="comment"> * the following conditions:</span>
<a name="l00018"></a>00018 <span class="comment"> *</span>
<a name="l00019"></a>00019 <span class="comment"> * The above copyright notice and this permission notice shall be</span>
<a name="l00020"></a>00020 <span class="comment"> * included in all copies or substantial portions of the Software.</span>
<a name="l00021"></a>00021 <span class="comment"> *</span>
<a name="l00022"></a>00022 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,</span>
<a name="l00023"></a>00023 <span class="comment"> * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF</span>
<a name="l00024"></a>00024 <span class="comment"> * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.</span>
<a name="l00025"></a>00025 <span class="comment"> * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR</span>
<a name="l00026"></a>00026 <span class="comment"> * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,</span>
<a name="l00027"></a>00027 <span class="comment"> * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR</span>
<a name="l00028"></a>00028 <span class="comment"> * OTHER DEALINGS IN THE SOFTWARE.</span>
<a name="l00029"></a>00029 <span class="comment"> ***************************************************************************/</span>
<a name="l00030"></a>00030 <span class="preprocessor">#ifndef _CEGUICombobox_h_</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define _CEGUICombobox_h_</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span>
<a name="l00033"></a>00033 <span class="preprocessor">#include "../CEGUIBase.h"</span>
<a name="l00034"></a>00034 <span class="preprocessor">#include "../CEGUIWindow.h"</span>
<a name="l00035"></a>00035 <span class="preprocessor">#include "CEGUIComboboxProperties.h"</span>
<a name="l00036"></a>00036
<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
<a name="l00044"></a>00044 <span class="comment">// Start of CEGUI namespace section</span>
<a name="l00045"></a>00045 <span class="keyword">namespace </span>CEGUI
<a name="l00046"></a>00046 {
<a name="l00047"></a>00047
<a name="l00052"></a><a class="code" href="classCEGUI_1_1Combobox.html">00052</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1Combobox.html" title="Base class for the Combobox widget.">Combobox</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="l00053"></a>00053 {
<a name="l00054"></a>00054 <span class="keyword">public</span>:
<a name="l00055"></a><a class="code" href="classCEGUI_1_1Combobox.html#a1fb465d4a32168e817ebf4bfb27ab1c2">00055</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_1Combobox.html#a1fb465d4a32168e817ebf4bfb27ab1c2" title="Namespace for global events.">EventNamespace</a>;
<a name="l00056"></a><a class="code" href="classCEGUI_1_1Combobox.html#af6208df5573d15ca7d5af2c8aa5e39a9">00056</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_1Combobox.html#af6208df5573d15ca7d5af2c8aa5e39a9" title="Window factory name.">WidgetTypeName</a>;
<a name="l00057"></a>00057
<a name="l00058"></a>00058 <span class="comment">/*************************************************************************</span>
<a name="l00059"></a>00059 <span class="comment"> Constants</span>
<a name="l00060"></a>00060 <span class="comment"> *************************************************************************/</span>
<a name="l00061"></a>00061 <span class="comment">// event names from edit box</span>
<a name="l00067"></a><a class="code" href="classCEGUI_1_1Combobox.html#a351161b113fc678a4232c9747a8a587a">00067</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_1Combobox.html#a351161b113fc678a4232c9747a8a587a">EventReadOnlyModeChanged</a>;
<a name="l00073"></a><a class="code" href="classCEGUI_1_1Combobox.html#a0d959b71161d03fb6cb26589dba2a8b8">00073</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_1Combobox.html#a0d959b71161d03fb6cb26589dba2a8b8">EventValidationStringChanged</a>;
<a name="l00079"></a><a class="code" href="classCEGUI_1_1Combobox.html#a9209836dd4fb63fcfa86bc5c64dc078e">00079</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_1Combobox.html#a9209836dd4fb63fcfa86bc5c64dc078e">EventMaximumTextLengthChanged</a>;
<a name="l00086"></a><a class="code" href="classCEGUI_1_1Combobox.html#af72387565ce9f6276cbbcf8d962106b3">00086</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_1Combobox.html#af72387565ce9f6276cbbcf8d962106b3">EventTextInvalidated</a>;
<a name="l00093"></a><a class="code" href="classCEGUI_1_1Combobox.html#a99280795f934747602c27a6eb445cdee">00093</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_1Combobox.html#a99280795f934747602c27a6eb445cdee">EventInvalidEntryAttempted</a>;
<a name="l00099"></a><a class="code" href="classCEGUI_1_1Combobox.html#a10a7a7484dfe6dab758697676d7197a1">00099</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_1Combobox.html#a10a7a7484dfe6dab758697676d7197a1">EventCaratMoved</a>;
<a name="l00105"></a><a class="code" href="classCEGUI_1_1Combobox.html#aae338a9ae421d375b6fd97ad026a745c">00105</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_1Combobox.html#aae338a9ae421d375b6fd97ad026a745c">EventTextSelectionChanged</a>;
<a name="l00112"></a><a class="code" href="classCEGUI_1_1Combobox.html#a5e4dd3cfbb3afeedf3b05ce7487621de">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_1Combobox.html#a5e4dd3cfbb3afeedf3b05ce7487621de">EventEditboxFull</a>;
<a name="l00119"></a><a class="code" href="classCEGUI_1_1Combobox.html#a99e7d242390f1af6a12d7aad7e8e7f0e">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_1Combobox.html#a99e7d242390f1af6a12d7aad7e8e7f0e">EventTextAccepted</a>;
<a name="l00120"></a>00120
<a name="l00121"></a>00121 <span class="comment">// event names from list box</span>
<a name="l00127"></a><a class="code" href="classCEGUI_1_1Combobox.html#ace951e54543d1627d475ebd91902eb79">00127</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_1Combobox.html#ace951e54543d1627d475ebd91902eb79">EventListContentsChanged</a>;
<a name="l00134"></a><a class="code" href="classCEGUI_1_1Combobox.html#a61cedef15a8ee63d967f1311b6518e0e">00134</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_1Combobox.html#a61cedef15a8ee63d967f1311b6518e0e">EventListSelectionChanged</a>;
<a name="l00140"></a><a class="code" href="classCEGUI_1_1Combobox.html#a87379601847e0700cce3b263bb279402">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_1Combobox.html#a87379601847e0700cce3b263bb279402">EventSortModeChanged</a>;
<a name="l00147"></a><a class="code" href="classCEGUI_1_1Combobox.html#a78e86683234b64a87298a92bf4b3aa9f">00147</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_1Combobox.html#a78e86683234b64a87298a92bf4b3aa9f">EventVertScrollbarModeChanged</a>;
<a name="l00154"></a><a class="code" href="classCEGUI_1_1Combobox.html#aec6701461f65a41f378e2627c1f06afb">00154</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_1Combobox.html#aec6701461f65a41f378e2627c1f06afb">EventHorzScrollbarModeChanged</a>;
<a name="l00155"></a>00155
<a name="l00156"></a>00156 <span class="comment">// events we produce / generate ourselves</span>
<a name="l00162"></a><a class="code" href="classCEGUI_1_1Combobox.html#a96912c1b157a41b66c9818c7a36e2828">00162</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_1Combobox.html#a96912c1b157a41b66c9818c7a36e2828">EventDropListDisplayed</a>;
<a name="l00168"></a><a class="code" href="classCEGUI_1_1Combobox.html#ad7c7dd6cbbbdcacfd09604a765ff6513">00168</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_1Combobox.html#ad7c7dd6cbbbdcacfd09604a765ff6513">EventDropListRemoved</a>;
<a name="l00174"></a><a class="code" href="classCEGUI_1_1Combobox.html#a6eecf5fa8aa1227f28695b3b7304ce58">00174</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_1Combobox.html#a6eecf5fa8aa1227f28695b3b7304ce58">EventListSelectionAccepted</a>;
<a name="l00175"></a>00175
<a name="l00176"></a>00176 <span class="comment">/*************************************************************************</span>
<a name="l00177"></a>00177 <span class="comment"> Child Widget name suffix constants</span>
<a name="l00178"></a>00178 <span class="comment"> *************************************************************************/</span>
<a name="l00179"></a><a class="code" href="classCEGUI_1_1Combobox.html#a960b969c4a8d1df2629bdfeac7b7d16e">00179</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_1Combobox.html#a960b969c4a8d1df2629bdfeac7b7d16e" title="Widget name suffix for the editbox component.">EditboxNameSuffix</a>;
<a name="l00180"></a><a class="code" href="classCEGUI_1_1Combobox.html#aeeff0a334410cc54dbade762c39df333">00180</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_1Combobox.html#aeeff0a334410cc54dbade762c39df333" title="Widget name suffix for the drop list component.">DropListNameSuffix</a>;
<a name="l00181"></a><a class="code" href="classCEGUI_1_1Combobox.html#ac8014c233d31f21f41ec1ab207d892f4">00181</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_1Combobox.html#ac8014c233d31f21f41ec1ab207d892f4" title="Widget name suffix for the button component.">ButtonNameSuffix</a>;
<a name="l00182"></a>00182
<a name="l00183"></a>00183 <span class="comment">// override from Window class</span>
<a name="l00184"></a>00184 <span class="keywordtype">bool</span> isHit(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Vector2.html" title="Class used as a two dimensional vector (aka a Point)">Vector2</a>& position,
<a name="l00185"></a>00185 <span class="keyword">const</span> <span class="keywordtype">bool</span> allow_disabled = <span class="keyword">false</span>) <span class="keyword">const</span>;
<a name="l00186"></a>00186
<a name="l00195"></a>00195 <span class="keywordtype">bool</span> getSingleClickEnabled(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00196"></a>00196
<a name="l00197"></a>00197
<a name="l00205"></a>00205 <span class="keywordtype">bool</span> isDropDownListVisible(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00206"></a>00206
<a name="l00207"></a>00207
<a name="l00218"></a>00218 <a class="code" href="classCEGUI_1_1Editbox.html" title="Base class for an Editbox widget.">Editbox</a>* getEditbox() <span class="keyword">const</span>;
<a name="l00219"></a>00219
<a name="l00230"></a>00230 <a class="code" href="classCEGUI_1_1PushButton.html" title="Base class to provide logic for push button type widgets.">PushButton</a>* getPushButton() <span class="keyword">const</span>;
<a name="l00231"></a>00231
<a name="l00243"></a>00243 <a class="code" href="classCEGUI_1_1ComboDropList.html" title="Base class for the combo box drop down list. This is a specialisation of the Listbox class...">ComboDropList</a>* getDropList() <span class="keyword">const</span>;
<a name="l00244"></a>00244
<a name="l00245"></a>00245
<a name="l00246"></a>00246 <span class="comment">/*************************************************************************</span>
<a name="l00247"></a>00247 <span class="comment"> Editbox Accessors</span>
<a name="l00248"></a>00248 <span class="comment"> *************************************************************************/</span>
<a name="l00256"></a>00256 <span class="keywordtype">bool</span> hasInputFocus(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00257"></a>00257
<a name="l00258"></a>00258
<a name="l00267"></a>00267 <span class="keywordtype">bool</span> isReadOnly(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00268"></a>00268
<a name="l00269"></a>00269
<a name="l00286"></a>00286 <span class="keywordtype">bool</span> isTextValid(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00287"></a>00287
<a name="l00288"></a>00288
<a name="l00300"></a>00300 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& getValidationString(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00301"></a>00301
<a name="l00302"></a>00302
<a name="l00310"></a>00310 <span class="keywordtype">size_t</span> getCaratIndex(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00311"></a>00311
<a name="l00312"></a>00312
<a name="l00321"></a>00321 <span class="keywordtype">size_t</span> getSelectionStartIndex(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00322"></a>00322
<a name="l00323"></a>00323
<a name="l00332"></a>00332 <span class="keywordtype">size_t</span> getSelectionEndIndex(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00333"></a>00333
<a name="l00334"></a>00334
<a name="l00342"></a>00342 <span class="keywordtype">size_t</span> getSelectionLength(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00343"></a>00343
<a name="l00344"></a>00344
<a name="l00356"></a>00356 <span class="keywordtype">size_t</span> getMaxTextLength(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00357"></a>00357
<a name="l00358"></a>00358
<a name="l00359"></a>00359 <span class="comment">/*************************************************************************</span>
<a name="l00360"></a>00360 <span class="comment"> List Accessors</span>
<a name="l00361"></a>00361 <span class="comment"> *************************************************************************/</span>
<a name="l00369"></a>00369 <span class="keywordtype">size_t</span> getItemCount(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00370"></a>00370
<a name="l00371"></a>00371
<a name="l00380"></a>00380 <a class="code" href="classCEGUI_1_1ListboxItem.html" title="Base class for list box items.">ListboxItem</a>* getSelectedItem(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00381"></a>00381
<a name="l00382"></a>00382
<a name="l00395"></a>00395 <a class="code" href="classCEGUI_1_1ListboxItem.html" title="Base class for list box items.">ListboxItem</a>* getListboxItemFromIndex(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;
<a name="l00396"></a>00396
<a name="l00397"></a>00397
<a name="l00410"></a>00410 <span class="keywordtype">size_t</span> getItemIndex(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1ListboxItem.html" title="Base class for list box items.">ListboxItem</a>* item) <span class="keyword">const</span>;
<a name="l00411"></a>00411
<a name="l00412"></a>00412
<a name="l00420"></a>00420 <span class="keywordtype">bool</span> isSortEnabled(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00421"></a>00421
<a name="l00422"></a>00422
<a name="l00435"></a>00435 <span class="keywordtype">bool</span> isItemSelected(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;
<a name="l00436"></a>00436
<a name="l00437"></a>00437
<a name="l00455"></a>00455 <a class="code" href="classCEGUI_1_1ListboxItem.html" title="Base class for list box items.">ListboxItem</a>* findItemWithText(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& text, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1ListboxItem.html" title="Base class for list box items.">ListboxItem</a>* start_item);
<a name="l00456"></a>00456
<a name="l00457"></a>00457
<a name="l00465"></a>00465 <span class="keywordtype">bool</span> isListboxItemInList(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1ListboxItem.html" title="Base class for list box items.">ListboxItem</a>* item) <span class="keyword">const</span>;
<a name="l00466"></a>00466
<a name="l00467"></a>00467
<a name="l00476"></a>00476 <span class="keywordtype">bool</span> isVertScrollbarAlwaysShown(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00477"></a>00477
<a name="l00478"></a>00478
<a name="l00487"></a>00487 <span class="keywordtype">bool</span> isHorzScrollbarAlwaysShown(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00488"></a>00488
<a name="l00489"></a>00489
<a name="l00490"></a>00490 <span class="comment">/*************************************************************************</span>
<a name="l00491"></a>00491 <span class="comment"> Combobox Manipulators</span>
<a name="l00492"></a>00492 <span class="comment"> *************************************************************************/</span>
<a name="l00503"></a>00503 <span class="keyword">virtual</span> <span class="keywordtype">void</span> initialiseComponents(<span class="keywordtype">void</span>);
<a name="l00504"></a>00504
<a name="l00505"></a>00505
<a name="l00513"></a>00513 <span class="keywordtype">void</span> showDropList(<span class="keywordtype">void</span>);
<a name="l00514"></a>00514
<a name="l00515"></a>00515
<a name="l00523"></a>00523 <span class="keywordtype">void</span> hideDropList(<span class="keywordtype">void</span>);
<a name="l00524"></a>00524
<a name="l00525"></a>00525
<a name="l00537"></a>00537 <span class="keywordtype">void</span> setSingleClickEnabled(<span class="keywordtype">bool</span> setting);
<a name="l00538"></a>00538
<a name="l00539"></a>00539
<a name="l00540"></a>00540 <span class="comment">/*************************************************************************</span>
<a name="l00541"></a>00541 <span class="comment"> Editbox Manipulators</span>
<a name="l00542"></a>00542 <span class="comment"> *************************************************************************/</span>
<a name="l00554"></a>00554 <span class="keywordtype">void</span> setReadOnly(<span class="keywordtype">bool</span> setting);
<a name="l00555"></a>00555
<a name="l00556"></a>00556
<a name="l00571"></a>00571 <span class="keywordtype">void</span> setValidationString(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& validation_string);
<a name="l00572"></a>00572
<a name="l00573"></a>00573
<a name="l00585"></a>00585 <span class="keywordtype">void</span> setCaratIndex(<span class="keywordtype">size_t</span> carat_pos);
<a name="l00586"></a>00586
<a name="l00587"></a>00587
<a name="l00603"></a>00603 <span class="keywordtype">void</span> setSelection(<span class="keywordtype">size_t</span> start_pos, <span class="keywordtype">size_t</span> end_pos);
<a name="l00604"></a>00604
<a name="l00605"></a>00605
<a name="l00620"></a>00620 <span class="keywordtype">void</span> setMaxTextLength(<span class="keywordtype">size_t</span> max_len);
<a name="l00621"></a>00621
<a name="l00622"></a>00622
<a name="l00630"></a>00630 <span class="keywordtype">void</span> activateEditbox(<span class="keywordtype">void</span>);
<a name="l00631"></a>00631
<a name="l00632"></a>00632
<a name="l00633"></a>00633 <span class="comment">/*************************************************************************</span>
<a name="l00634"></a>00634 <span class="comment"> List Manipulators</span>
<a name="l00635"></a>00635 <span class="comment"> *************************************************************************/</span>
<a name="l00642"></a>00642 <span class="keywordtype">void</span> resetList(<span class="keywordtype">void</span>);
<a name="l00643"></a>00643
<a name="l00644"></a>00644
<a name="l00656"></a>00656 <span class="keywordtype">void</span> addItem(<a class="code" href="classCEGUI_1_1ListboxItem.html" title="Base class for list box items.">ListboxItem</a>* item);
<a name="l00657"></a>00657
<a name="l00658"></a>00658
<a name="l00676"></a>00676 <span class="keywordtype">void</span> insertItem(<a class="code" href="classCEGUI_1_1ListboxItem.html" title="Base class for list box items.">ListboxItem</a>* item, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1ListboxItem.html" title="Base class for list box items.">ListboxItem</a>* position);
<a name="l00677"></a>00677
<a name="l00678"></a>00678
<a name="l00690"></a>00690 <span class="keywordtype">void</span> removeItem(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1ListboxItem.html" title="Base class for list box items.">ListboxItem</a>* item);
<a name="l00691"></a>00691
<a name="l00692"></a>00692
<a name="l00700"></a>00700 <span class="keywordtype">void</span> clearAllSelections(<span class="keywordtype">void</span>);
<a name="l00701"></a>00701
<a name="l00702"></a>00702
<a name="l00713"></a>00713 <span class="keywordtype">void</span> setSortingEnabled(<span class="keywordtype">bool</span> setting);
<a name="l00714"></a>00714
<a name="l00715"></a>00715
<a name="l00727"></a>00727 <span class="keywordtype">void</span> setShowVertScrollbar(<span class="keywordtype">bool</span> setting);
<a name="l00728"></a>00728
<a name="l00729"></a>00729
<a name="l00741"></a>00741 <span class="keywordtype">void</span> setShowHorzScrollbar(<span class="keywordtype">bool</span> setting);
<a name="l00742"></a>00742
<a name="l00743"></a>00743
<a name="l00763"></a>00763 <span class="keywordtype">void</span> setItemSelectState(<a class="code" href="classCEGUI_1_1ListboxItem.html" title="Base class for list box items.">ListboxItem</a>* item, <span class="keywordtype">bool</span> state);
<a name="l00764"></a>00764
<a name="l00765"></a>00765
<a name="l00785"></a>00785 <span class="keywordtype">void</span> setItemSelectState(<span class="keywordtype">size_t</span> item_index, <span class="keywordtype">bool</span> state);
<a name="l00786"></a>00786
<a name="l00787"></a>00787
<a name="l00800"></a>00800 <span class="keywordtype">void</span> handleUpdatedListItemData(<span class="keywordtype">void</span>);
<a name="l00801"></a>00801
<a name="l00802"></a>00802
<a name="l00803"></a>00803 <span class="comment">/*************************************************************************</span>
<a name="l00804"></a>00804 <span class="comment"> Construction and Destruction</span>
<a name="l00805"></a>00805 <span class="comment"> *************************************************************************/</span>
<a name="l00810"></a>00810 <a class="code" href="classCEGUI_1_1Combobox.html" title="Base class for the Combobox widget.">Combobox</a>(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& type, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& name);
<a name="l00811"></a>00811
<a name="l00812"></a>00812
<a name="l00817"></a>00817 <span class="keyword">virtual</span> ~<a class="code" href="classCEGUI_1_1Combobox.html" title="Base class for the Combobox widget.">Combobox</a>(<span class="keywordtype">void</span>);
<a name="l00818"></a>00818
<a name="l00819"></a>00819
<a name="l00820"></a>00820 <span class="keyword">protected</span>:
<a name="l00821"></a>00821 <span class="comment">/*************************************************************************</span>
<a name="l00822"></a>00822 <span class="comment"> Implementation Methods</span>
<a name="l00823"></a>00823 <span class="comment"> *************************************************************************/</span>
<a name="l00828"></a>00828 <span class="keywordtype">bool</span> button_PressHandler(<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>& e);
<a name="l00829"></a>00829
<a name="l00830"></a>00830
<a name="l00835"></a>00835 <span class="keywordtype">bool</span> droplist_SelectionAcceptedHandler(<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>& e);
<a name="l00836"></a>00836
<a name="l00837"></a>00837
<a name="l00842"></a>00842 <span class="keywordtype">bool</span> droplist_HiddenHandler(<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>& e);
<a name="l00843"></a>00843
<a name="l00844"></a>00844
<a name="l00849"></a>00849 <span class="keywordtype">bool</span> editbox_MouseDownHandler(<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>& e);
<a name="l00850"></a>00850
<a name="l00851"></a>00851
<a name="l00862"></a><a class="code" href="classCEGUI_1_1Combobox.html#a0b27a7354d5c2463af4f2cacae88ac66">00862</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>& class_name)<span class="keyword"> const</span>
<a name="l00863"></a>00863 <span class="keyword"> </span>{
<a name="l00864"></a>00864 <span class="keywordflow">if</span> (class_name==<span class="stringliteral">"Combobox"</span>) <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00865"></a>00865 <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="l00866"></a>00866 }
<a name="l00867"></a>00867
<a name="l00873"></a>00873 <span class="keywordtype">void</span> itemSelectChangeTextUpdate(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1ListboxItem.html" title="Base class for list box items.">ListboxItem</a>* <span class="keyword">const</span> item,
<a name="l00874"></a>00874 <span class="keywordtype">bool</span> new_state, <span class="keywordtype">bool</span> old_state);
<a name="l00875"></a>00875
<a name="l00876"></a>00876 <span class="comment">/*************************************************************************</span>
<a name="l00877"></a>00877 <span class="comment"> Handlers to relay child widget events so they appear to come from us</span>
<a name="l00878"></a>00878 <span class="comment"> *************************************************************************/</span>
<a name="l00879"></a>00879 <span class="keywordtype">bool</span> editbox_ReadOnlyChangedHandler(<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>& e);
<a name="l00880"></a>00880 <span class="keywordtype">bool</span> editbox_ValidationStringChangedHandler(<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>& e);
<a name="l00881"></a>00881 <span class="keywordtype">bool</span> editbox_MaximumTextLengthChangedHandler(<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>& e);
<a name="l00882"></a>00882 <span class="keywordtype">bool</span> editbox_TextInvalidatedEventHandler(<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>& e);
<a name="l00883"></a>00883 <span class="keywordtype">bool</span> editbox_InvalidEntryAttemptedHandler(<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>& e);
<a name="l00884"></a>00884 <span class="keywordtype">bool</span> editbox_CaratMovedHandler(<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>& e);
<a name="l00885"></a>00885 <span class="keywordtype">bool</span> editbox_TextSelectionChangedHandler(<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>& e);
<a name="l00886"></a>00886 <span class="keywordtype">bool</span> editbox_EditboxFullEventHandler(<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>& e);
<a name="l00887"></a>00887 <span class="keywordtype">bool</span> editbox_TextAcceptedEventHandler(<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>& e);
<a name="l00888"></a>00888 <span class="keywordtype">bool</span> editbox_TextChangedEventHandler(<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>& e);
<a name="l00889"></a>00889 <span class="keywordtype">bool</span> listbox_ListContentsChangedHandler(<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>& e);
<a name="l00890"></a>00890 <span class="keywordtype">bool</span> listbox_ListSelectionChangedHandler(<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>& e);
<a name="l00891"></a>00891 <span class="keywordtype">bool</span> listbox_SortModeChangedHandler(<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>& e);
<a name="l00892"></a>00892 <span class="keywordtype">bool</span> listbox_VertScrollModeChangedHandler(<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>& e);
<a name="l00893"></a>00893 <span class="keywordtype">bool</span> listbox_HorzScrollModeChangedHandler(<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>& e);
<a name="l00894"></a>00894
<a name="l00895"></a>00895
<a name="l00896"></a>00896 <span class="comment">/*************************************************************************</span>
<a name="l00897"></a>00897 <span class="comment"> New Events for Combobox</span>
<a name="l00898"></a>00898 <span class="comment"> *************************************************************************/</span>
<a name="l00903"></a>00903 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onReadOnlyChanged(<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>& e);
<a name="l00904"></a>00904
<a name="l00905"></a>00905
<a name="l00910"></a>00910 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onValidationStringChanged(<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>& e);
<a name="l00911"></a>00911
<a name="l00912"></a>00912
<a name="l00917"></a>00917 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onMaximumTextLengthChanged(<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>& e);
<a name="l00918"></a>00918
<a name="l00919"></a>00919
<a name="l00924"></a>00924 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onTextInvalidatedEvent(<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>& e);
<a name="l00925"></a>00925
<a name="l00926"></a>00926
<a name="l00931"></a>00931 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onInvalidEntryAttempted(<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>& e);
<a name="l00932"></a>00932
<a name="l00933"></a>00933
<a name="l00938"></a>00938 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onCaratMoved(<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>& e);
<a name="l00939"></a>00939
<a name="l00940"></a>00940
<a name="l00945"></a>00945 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onTextSelectionChanged(<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>& e);
<a name="l00946"></a>00946
<a name="l00947"></a>00947
<a name="l00952"></a>00952 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onEditboxFullEvent(<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>& e);
<a name="l00953"></a>00953
<a name="l00954"></a>00954
<a name="l00959"></a>00959 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onTextAcceptedEvent(<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>& e);
<a name="l00960"></a>00960
<a name="l00961"></a>00961
<a name="l00966"></a>00966 <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>& e);
<a name="l00967"></a>00967
<a name="l00968"></a>00968
<a name="l00974"></a>00974 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onListSelectionChanged(<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>& e);
<a name="l00975"></a>00975
<a name="l00976"></a>00976
<a name="l00981"></a>00981 <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>& e);
<a name="l00982"></a>00982
<a name="l00983"></a>00983
<a name="l00989"></a>00989 <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>& e);
<a name="l00990"></a>00990
<a name="l00991"></a>00991
<a name="l00997"></a>00997 <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>& e);
<a name="l00998"></a>00998
<a name="l00999"></a>00999
<a name="l01004"></a>01004 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onDropListDisplayed(<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>& e);
<a name="l01005"></a>01005
<a name="l01006"></a>01006
<a name="l01011"></a>01011 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onDroplistRemoved(<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>& e);
<a name="l01012"></a>01012
<a name="l01013"></a>01013
<a name="l01018"></a>01018 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onListSelectionAccepted(<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>& e);
<a name="l01019"></a>01019
<a name="l01020"></a>01020
<a name="l01021"></a>01021 <span class="comment">/*************************************************************************</span>
<a name="l01022"></a>01022 <span class="comment"> Overridden Event handlers</span>
<a name="l01023"></a>01023 <span class="comment"> *************************************************************************/</span>
<a name="l01024"></a>01024 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onFontChanged(<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>& e);
<a name="l01025"></a>01025 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onTextChanged(<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>& e);
<a name="l01026"></a>01026 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onActivated(<a class="code" href="classCEGUI_1_1ActivationEventArgs.html" title="EventArgs based class that is used for Activated and Deactivated window events.">ActivationEventArgs</a>& e);
<a name="l01027"></a>01027
<a name="l01028"></a>01028
<a name="l01029"></a>01029 <span class="comment">/*************************************************************************</span>
<a name="l01030"></a>01030 <span class="comment"> Implementation Data</span>
<a name="l01031"></a>01031 <span class="comment"> *************************************************************************/</span>
<a name="l01032"></a><a class="code" href="classCEGUI_1_1Combobox.html#af7608ab14727b9e2b6b5fbe540e25fc4">01032</a> <span class="keywordtype">bool</span> <a class="code" href="classCEGUI_1_1Combobox.html#af7608ab14727b9e2b6b5fbe540e25fc4" title="true if user can show and select from list in a single click.">d_singleClickOperation</a>;
<a name="l01033"></a>01033
<a name="l01034"></a>01034
<a name="l01035"></a>01035 <span class="keyword">private</span>:
<a name="l01036"></a>01036 <span class="comment">/*************************************************************************</span>
<a name="l01037"></a>01037 <span class="comment"> Static Properties for this class</span>
<a name="l01038"></a>01038 <span class="comment"> *************************************************************************/</span>
<a name="l01039"></a>01039 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ComboboxProperties_1_1ReadOnly.html" title="Property to access the read-only setting of the edit box.">ComboboxProperties::ReadOnly</a> d_readOnlyProperty;
<a name="l01040"></a>01040 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ComboboxProperties_1_1ValidationString.html" title="Property to access the string used for regular expression validation of the edit box text...">ComboboxProperties::ValidationString</a> d_validationStringProperty;
<a name="l01041"></a>01041 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ComboboxProperties_1_1CaratIndex.html" title="Property to access the current carat index.">ComboboxProperties::CaratIndex</a> d_caratIndexProperty;
<a name="l01042"></a>01042 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ComboboxProperties_1_1EditSelectionStart.html" title="Property to access the current selection start index.">ComboboxProperties::EditSelectionStart</a> d_selStartProperty;
<a name="l01043"></a>01043 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ComboboxProperties_1_1EditSelectionLength.html" title="Property to access the current selection length.">ComboboxProperties::EditSelectionLength</a> d_selLengthProperty;
<a name="l01044"></a>01044 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ComboboxProperties_1_1MaxEditTextLength.html" title="Property to access the maximum text length for the edit box.">ComboboxProperties::MaxEditTextLength</a> d_maxTextLengthProperty;
<a name="l01045"></a>01045 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ComboboxProperties_1_1SortList.html" title="Property to access the sort setting of the list box.">ComboboxProperties::SortList</a> d_sortProperty;
<a name="l01046"></a>01046 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ComboboxProperties_1_1ForceVertScrollbar.html" title="Property to access the 'always show' setting for the vertical scroll bar of the list box...">ComboboxProperties::ForceVertScrollbar</a> d_forceVertProperty;
<a name="l01047"></a>01047 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ComboboxProperties_1_1ForceHorzScrollbar.html" title="Property to access the 'always show' setting for the horizontal scroll bar of the list box...">ComboboxProperties::ForceHorzScrollbar</a> d_forceHorzProperty;
<a name="l01048"></a>01048 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ComboboxProperties_1_1SingleClickMode.html" title="Property to access the 'single click mode' setting for the combo box.">ComboboxProperties::SingleClickMode</a> d_singleClickOperationProperty;
<a name="l01049"></a>01049
<a name="l01050"></a>01050 <span class="comment">/*************************************************************************</span>
<a name="l01051"></a>01051 <span class="comment"> Private methods</span>
<a name="l01052"></a>01052 <span class="comment"> *************************************************************************/</span>
<a name="l01053"></a>01053 <span class="keywordtype">void</span> addComboboxProperties(<span class="keywordtype">void</span>);
<a name="l01054"></a>01054 };
<a name="l01055"></a>01055
<a name="l01056"></a>01056 } <span class="comment">// End of CEGUI namespace section</span>
<a name="l01057"></a>01057
<a name="l01058"></a>01058 <span class="preprocessor">#if defined(_MSC_VER)</span>
<a name="l01059"></a>01059 <span class="preprocessor"></span><span class="preprocessor"># pragma warning(pop)</span>
<a name="l01060"></a>01060 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l01061"></a>01061 <span class="preprocessor"></span>
<a name="l01062"></a>01062 <span class="preprocessor">#endif // end of guard _CEGUICombobox_h_</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Sun Jan 22 2012 16:07:39 for Crazy Eddies GUI System by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>
|