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
|
<!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: CEGUIMultiLineEditbox.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">CEGUIMultiLineEditbox.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: CEGUIMultiLineEditbox.h</span>
<a name="l00003"></a>00003 <span class="comment"> created: 30/6/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 the Multi-lien edit box base class.</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 _CEGUIMultiLineEditbox_h_</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define _CEGUIMultiLineEditbox_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 "../CEGUIFont.h"</span>
<a name="l00036"></a>00036 <span class="preprocessor">#include "CEGUIMultiLineEditboxProperties.h"</span>
<a name="l00037"></a>00037
<a name="l00038"></a>00038 <span class="preprocessor">#include <vector></span>
<a name="l00039"></a>00039
<a name="l00040"></a>00040
<a name="l00041"></a>00041 <span class="preprocessor">#if defined(_MSC_VER)</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="preprocessor"># pragma warning(push)</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor"># pragma warning(disable : 4251)</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00045"></a>00045 <span class="preprocessor"></span>
<a name="l00046"></a>00046
<a name="l00047"></a>00047 <span class="comment">// Start of CEGUI namespace section</span>
<a name="l00048"></a>00048 <span class="keyword">namespace </span>CEGUI
<a name="l00049"></a>00049 {
<a name="l00054"></a><a class="code" href="classCEGUI_1_1MultiLineEditboxWindowRenderer.html">00054</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1MultiLineEditboxWindowRenderer.html" title="Base class for multi-line edit box window renderer objects.">MultiLineEditboxWindowRenderer</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1WindowRenderer.html" title="Base-class for the assignable WindowRenderer object.">WindowRenderer</a>
<a name="l00055"></a>00055 {
<a name="l00056"></a>00056 <span class="keyword">public</span>:
<a name="l00061"></a>00061 <a class="code" href="classCEGUI_1_1MultiLineEditboxWindowRenderer.html" title="Base class for multi-line edit box window renderer objects.">MultiLineEditboxWindowRenderer</a>(<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="l00062"></a>00062
<a name="l00071"></a>00071 <span class="keyword">virtual</span> <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a> getTextRenderArea(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0;
<a name="l00072"></a>00072
<a name="l00073"></a>00073 <span class="keyword">protected</span>:
<a name="l00074"></a>00074 <span class="comment">// base class overrides</span>
<a name="l00075"></a>00075 <span class="keywordtype">void</span> onLookNFeelAssigned();
<a name="l00076"></a>00076 };
<a name="l00077"></a>00077
<a name="l00082"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html">00082</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1MultiLineEditbox.html" title="Base class for the multi-line edit box widget.">MultiLineEditbox</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="l00083"></a>00083 {
<a name="l00084"></a>00084 <span class="keyword">public</span>:
<a name="l00085"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a17b71a3b362a049ec22d5ccadf2e361d">00085</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_1MultiLineEditbox.html#a17b71a3b362a049ec22d5ccadf2e361d" title="Namespace for global events.">EventNamespace</a>;
<a name="l00086"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#afe1a7090b18cb4d17d478fcb82ca9b5a">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_1MultiLineEditbox.html#afe1a7090b18cb4d17d478fcb82ca9b5a" title="Window factory name.">WidgetTypeName</a>;
<a name="l00087"></a>00087
<a name="l00088"></a>00088 <span class="comment">/*************************************************************************</span>
<a name="l00089"></a>00089 <span class="comment"> Constants</span>
<a name="l00090"></a>00090 <span class="comment"> *************************************************************************/</span>
<a name="l00091"></a>00091 <span class="comment">// event names</span>
<a name="l00097"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#aaae1e99aa75b003af18ea204cd77e09c">00097</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_1MultiLineEditbox.html#aaae1e99aa75b003af18ea204cd77e09c">EventReadOnlyModeChanged</a>;
<a name="l00103"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a84d9acc4c8cffd4f7cc57278ad31ee14">00103</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_1MultiLineEditbox.html#a84d9acc4c8cffd4f7cc57278ad31ee14">EventWordWrapModeChanged</a>;
<a name="l00110"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a561d59a53676b09fffce083f5a646fae">00110</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_1MultiLineEditbox.html#a561d59a53676b09fffce083f5a646fae">EventMaximumTextLengthChanged</a>;
<a name="l00116"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#ac0c22a456bafd830e2f303b9c5294564">00116</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_1MultiLineEditbox.html#ac0c22a456bafd830e2f303b9c5294564">EventCaratMoved</a>;
<a name="l00122"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#ae7811967efc9b22c5f0e9ba127ae8e6c">00122</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_1MultiLineEditbox.html#ae7811967efc9b22c5f0e9ba127ae8e6c">EventTextSelectionChanged</a>;
<a name="l00129"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a2e5d63e756570af8e01b214c93de487b">00129</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_1MultiLineEditbox.html#a2e5d63e756570af8e01b214c93de487b">EventEditboxFull</a>;
<a name="l00136"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#aa37785d613418543ccd2b83e61d32c64">00136</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_1MultiLineEditbox.html#aa37785d613418543ccd2b83e61d32c64">EventVertScrollbarModeChanged</a>;
<a name="l00143"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#acbc250a7300531927f80a4c9a08adfd0">00143</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_1MultiLineEditbox.html#acbc250a7300531927f80a4c9a08adfd0">EventHorzScrollbarModeChanged</a>;
<a name="l00144"></a>00144
<a name="l00145"></a>00145 <span class="comment">/*************************************************************************</span>
<a name="l00146"></a>00146 <span class="comment"> Child Widget name suffix constants</span>
<a name="l00147"></a>00147 <span class="comment"> *************************************************************************/</span>
<a name="l00148"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a9caee6095eb18545db98631f16416142">00148</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_1MultiLineEditbox.html#a9caee6095eb18545db98631f16416142" title="Widget name suffix for the vertical scrollbar component.">VertScrollbarNameSuffix</a>;
<a name="l00149"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#aa4ac13634db47bc627a24541a50b39c1">00149</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_1MultiLineEditbox.html#aa4ac13634db47bc627a24541a50b39c1" title="Widget name suffix for the horizontal scrollbar component.">HorzScrollbarNameSuffix</a>;
<a name="l00150"></a>00150
<a name="l00151"></a>00151 <span class="comment">/*************************************************************************</span>
<a name="l00152"></a>00152 <span class="comment"> Implementation struct</span>
<a name="l00153"></a>00153 <span class="comment"> *************************************************************************/</span>
<a name="l00159"></a><a class="code" href="structCEGUI_1_1MultiLineEditbox_1_1LineInfo.html">00159</a> <span class="keyword">struct </span><a class="code" href="structCEGUI_1_1MultiLineEditbox_1_1LineInfo.html" title="struct used to store information about a formatted line within the paragraph.">LineInfo</a>
<a name="l00160"></a>00160 {
<a name="l00161"></a><a class="code" href="structCEGUI_1_1MultiLineEditbox_1_1LineInfo.html#aa3f7bf5eaaa4cb89e1ea68980f184d16">00161</a> <span class="keywordtype">size_t</span> <a class="code" href="structCEGUI_1_1MultiLineEditbox_1_1LineInfo.html#aa3f7bf5eaaa4cb89e1ea68980f184d16" title="Starting index for this line.">d_startIdx</a>;
<a name="l00162"></a><a class="code" href="structCEGUI_1_1MultiLineEditbox_1_1LineInfo.html#a5cc0c5c86efdcf932575762c0ee21869">00162</a> <span class="keywordtype">size_t</span> <a class="code" href="structCEGUI_1_1MultiLineEditbox_1_1LineInfo.html#a5cc0c5c86efdcf932575762c0ee21869" title="Code point length of this line.">d_length</a>;
<a name="l00163"></a><a class="code" href="structCEGUI_1_1MultiLineEditbox_1_1LineInfo.html#a23ab24e5bdd58e581f83c788fe481a00">00163</a> <span class="keywordtype">float</span> <a class="code" href="structCEGUI_1_1MultiLineEditbox_1_1LineInfo.html#a23ab24e5bdd58e581f83c788fe481a00" title="Rendered extent of this line.">d_extent</a>;
<a name="l00164"></a>00164 };
<a name="l00165"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a0e126190879d48d71796ba4568c50169">00165</a> <span class="keyword">typedef</span> std::vector<LineInfo> <a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a0e126190879d48d71796ba4568c50169" title="Type for collection of LineInfos.">LineList</a>;
<a name="l00166"></a>00166
<a name="l00167"></a>00167 <span class="comment">/*************************************************************************</span>
<a name="l00168"></a>00168 <span class="comment"> Accessor Functions</span>
<a name="l00169"></a>00169 <span class="comment"> *************************************************************************/</span>
<a name="l00178"></a>00178 <span class="keywordtype">bool</span> hasInputFocus(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00179"></a>00179
<a name="l00180"></a>00180
<a name="l00189"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a8d03cf382d03a17709af7f352d899513">00189</a> <span class="keywordtype">bool</span> <a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a8d03cf382d03a17709af7f352d899513" title="return true if the edit box is read-only.">isReadOnly</a>(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{<span class="keywordflow">return</span> d_readOnly;}
<a name="l00190"></a>00190
<a name="l00191"></a>00191
<a name="l00199"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#aa84dcfa3e66d90bc1f6e15434daebf84">00199</a> <span class="keywordtype">size_t</span> <a class="code" href="classCEGUI_1_1MultiLineEditbox.html#aa84dcfa3e66d90bc1f6e15434daebf84" title="return the current position of the carat.">getCaratIndex</a>(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{<span class="keywordflow">return</span> d_caratPos;}
<a name="l00200"></a>00200
<a name="l00201"></a>00201
<a name="l00210"></a>00210 <span class="keywordtype">size_t</span> getSelectionStartIndex(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00211"></a>00211
<a name="l00212"></a>00212
<a name="l00221"></a>00221 <span class="keywordtype">size_t</span> getSelectionEndIndex(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00222"></a>00222
<a name="l00223"></a>00223
<a name="l00231"></a>00231 <span class="keywordtype">size_t</span> getSelectionLength(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00232"></a>00232
<a name="l00233"></a>00233
<a name="l00241"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a1c51f632938f2e2effba174a15ce667e">00241</a> <span class="keywordtype">size_t</span> <a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a1c51f632938f2e2effba174a15ce667e" title="return the maximum text length set for this edit box.">getMaxTextLength</a>(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{<span class="keywordflow">return</span> d_maxTextLen;}
<a name="l00242"></a>00242
<a name="l00243"></a>00243
<a name="l00252"></a>00252 <span class="keywordtype">bool</span> isWordWrapped(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00253"></a>00253
<a name="l00254"></a>00254
<a name="l00266"></a>00266 <a class="code" href="classCEGUI_1_1Scrollbar.html" title="Base scroll bar class.">Scrollbar</a>* getVertScrollbar() <span class="keyword">const</span>;
<a name="l00267"></a>00267
<a name="l00276"></a>00276 <span class="keywordtype">bool</span> isVertScrollbarAlwaysShown(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00277"></a>00277
<a name="l00289"></a>00289 <a class="code" href="classCEGUI_1_1Scrollbar.html" title="Base scroll bar class.">Scrollbar</a>* getHorzScrollbar() <span class="keyword">const</span>;
<a name="l00290"></a>00290
<a name="l00291"></a>00291
<a name="l00300"></a>00300 <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a> getTextRenderArea(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00301"></a>00301
<a name="l00302"></a>00302 <span class="comment">// get d_lines</span>
<a name="l00303"></a>00303 <span class="keyword">const</span> LineList& getFormattedLines(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{<span class="keywordflow">return</span> d_lines;}
<a name="l00304"></a>00304
<a name="l00310"></a>00310 <span class="keywordtype">size_t</span> getLineNumberFromIndex(<span class="keywordtype">size_t</span> index) <span class="keyword">const</span>;
<a name="l00311"></a>00311
<a name="l00312"></a>00312 <span class="comment">/*************************************************************************</span>
<a name="l00313"></a>00313 <span class="comment"> Manipulators</span>
<a name="l00314"></a>00314 <span class="comment"> *************************************************************************/</span>
<a name="l00325"></a>00325 <span class="keyword">virtual</span> <span class="keywordtype">void</span> initialiseComponents(<span class="keywordtype">void</span>);
<a name="l00326"></a>00326
<a name="l00327"></a>00327
<a name="l00339"></a>00339 <span class="keywordtype">void</span> setReadOnly(<span class="keywordtype">bool</span> setting);
<a name="l00340"></a>00340
<a name="l00341"></a>00341
<a name="l00353"></a>00353 <span class="keywordtype">void</span> setCaratIndex(<span class="keywordtype">size_t</span> carat_pos);
<a name="l00354"></a>00354
<a name="l00355"></a>00355
<a name="l00371"></a>00371 <span class="keywordtype">void</span> setSelection(<span class="keywordtype">size_t</span> start_pos, <span class="keywordtype">size_t</span> end_pos);
<a name="l00372"></a>00372
<a name="l00373"></a>00373
<a name="l00384"></a>00384 <span class="keywordtype">void</span> setMaxTextLength(<span class="keywordtype">size_t</span> max_len);
<a name="l00385"></a>00385
<a name="l00386"></a>00386
<a name="l00391"></a>00391 <span class="keywordtype">void</span> ensureCaratIsVisible(<span class="keywordtype">void</span>);
<a name="l00392"></a>00392
<a name="l00393"></a>00393
<a name="l00405"></a>00405 <span class="keywordtype">void</span> setWordWrapping(<span class="keywordtype">bool</span> setting);
<a name="l00406"></a>00406
<a name="l00418"></a>00418 <span class="keywordtype">void</span> setShowVertScrollbar(<span class="keywordtype">bool</span> setting);
<a name="l00419"></a>00419
<a name="l00420"></a>00420 <span class="comment">// selection brush image property support</span>
<a name="l00421"></a>00421 <span class="keywordtype">void</span> setSelectionBrushImage(<span class="keyword">const</span> Image* image);
<a name="l00422"></a>00422 <span class="keyword">const</span> Image* getSelectionBrushImage() <span class="keyword">const</span>;
<a name="l00423"></a>00423
<a name="l00424"></a>00424 <span class="comment">/*************************************************************************</span>
<a name="l00425"></a>00425 <span class="comment"> Construction and Destruction</span>
<a name="l00426"></a>00426 <span class="comment"> *************************************************************************/</span>
<a name="l00431"></a>00431 MultiLineEditbox(<span class="keyword">const</span> String& type, <span class="keyword">const</span> String& name);
<a name="l00432"></a>00432
<a name="l00433"></a>00433
<a name="l00438"></a>00438 <span class="keyword">virtual</span> ~MultiLineEditbox(<span class="keywordtype">void</span>);
<a name="l00439"></a>00439
<a name="l00440"></a>00440
<a name="l00441"></a>00441 <span class="keyword">protected</span>:
<a name="l00442"></a>00442 <span class="comment">/*************************************************************************</span>
<a name="l00443"></a>00443 <span class="comment"> Implementation Methods (abstract)</span>
<a name="l00444"></a>00444 <span class="comment"> *************************************************************************/</span>
<a name="l00453"></a>00453 <span class="comment">//virtual Rect getTextRenderArea_impl(void) const = 0;</span>
<a name="l00454"></a>00454
<a name="l00455"></a>00455
<a name="l00456"></a>00456 <span class="comment">/*************************************************************************</span>
<a name="l00457"></a>00457 <span class="comment"> Implementation Methods</span>
<a name="l00458"></a>00458 <span class="comment"> *************************************************************************/</span>
<a name="l00465"></a>00465 <span class="keywordtype">void</span> formatText(<span class="keywordtype">void</span>);
<a name="l00466"></a>00466
<a name="l00475"></a>00475 <span class="keywordtype">void</span> formatText(<span class="keyword">const</span> <span class="keywordtype">bool</span> update_scrollbars);
<a name="l00476"></a>00476
<a name="l00487"></a>00487 <span class="keywordtype">size_t</span> getNextTokenLength(<span class="keyword">const</span> String& text, <span class="keywordtype">size_t</span> start_idx) <span class="keyword">const</span>;
<a name="l00488"></a>00488
<a name="l00489"></a>00489
<a name="l00494"></a>00494 <span class="keywordtype">void</span> configureScrollbars(<span class="keywordtype">void</span>);
<a name="l00495"></a>00495
<a name="l00496"></a>00496
<a name="l00507"></a>00507 <span class="keywordtype">size_t</span> getTextIndexFromPosition(<span class="keyword">const</span> <a class="code" href="namespaceCEGUI.html#a3db0ff15d079794a57964b7b16ca5aa2" title="Point class.">Point</a>& pt) <span class="keyword">const</span>;
<a name="l00508"></a>00508
<a name="l00509"></a>00509
<a name="l00514"></a>00514 <span class="keywordtype">void</span> clearSelection(<span class="keywordtype">void</span>);
<a name="l00515"></a>00515
<a name="l00516"></a>00516
<a name="l00524"></a>00524 <span class="keywordtype">void</span> eraseSelectedText(<span class="keywordtype">bool</span> modify_text = <span class="keyword">true</span>);
<a name="l00525"></a>00525
<a name="l00526"></a>00526
<a name="l00531"></a>00531 <span class="keywordtype">void</span> handleBackspace(<span class="keywordtype">void</span>);
<a name="l00532"></a>00532
<a name="l00533"></a>00533
<a name="l00538"></a>00538 <span class="keywordtype">void</span> handleDelete(<span class="keywordtype">void</span>);
<a name="l00539"></a>00539
<a name="l00540"></a>00540
<a name="l00545"></a>00545 <span class="keywordtype">void</span> handleCharLeft(uint sysKeys);
<a name="l00546"></a>00546
<a name="l00547"></a>00547
<a name="l00552"></a>00552 <span class="keywordtype">void</span> handleWordLeft(uint sysKeys);
<a name="l00553"></a>00553
<a name="l00554"></a>00554
<a name="l00559"></a>00559 <span class="keywordtype">void</span> handleCharRight(uint sysKeys);
<a name="l00560"></a>00560
<a name="l00561"></a>00561
<a name="l00566"></a>00566 <span class="keywordtype">void</span> handleWordRight(uint sysKeys);
<a name="l00567"></a>00567
<a name="l00568"></a>00568
<a name="l00573"></a>00573 <span class="keywordtype">void</span> handleDocHome(uint sysKeys);
<a name="l00574"></a>00574
<a name="l00575"></a>00575
<a name="l00580"></a>00580 <span class="keywordtype">void</span> handleDocEnd(uint sysKeys);
<a name="l00581"></a>00581
<a name="l00582"></a>00582
<a name="l00587"></a>00587 <span class="keywordtype">void</span> handleLineHome(uint sysKeys);
<a name="l00588"></a>00588
<a name="l00589"></a>00589
<a name="l00594"></a>00594 <span class="keywordtype">void</span> handleLineEnd(uint sysKeys);
<a name="l00595"></a>00595
<a name="l00596"></a>00596
<a name="l00601"></a>00601 <span class="keywordtype">void</span> handleLineUp(uint sysKeys);
<a name="l00602"></a>00602
<a name="l00603"></a>00603
<a name="l00608"></a>00608 <span class="keywordtype">void</span> handleLineDown(uint sysKeys);
<a name="l00609"></a>00609
<a name="l00610"></a>00610
<a name="l00615"></a>00615 <span class="keywordtype">void</span> handleNewLine(uint sysKeys);
<a name="l00616"></a>00616
<a name="l00617"></a>00617
<a name="l00622"></a>00622 <span class="keywordtype">void</span> handlePageUp(uint sysKeys);
<a name="l00623"></a>00623
<a name="l00624"></a>00624
<a name="l00629"></a>00629 <span class="keywordtype">void</span> handlePageDown(uint sysKeys);
<a name="l00630"></a>00630
<a name="l00631"></a>00631
<a name="l00642"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#adeb23e5945db783837a513689b3686fa">00642</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="l00643"></a>00643 <span class="keyword"> </span>{
<a name="l00644"></a>00644 <span class="keywordflow">if</span> ((class_name==<span class="stringliteral">"MultiLineEditBox"</span>) ||
<a name="l00645"></a>00645 (class_name==<span class="stringliteral">"MultiLineEditbox"</span>))
<a name="l00646"></a>00646 {
<a name="l00647"></a>00647 <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00648"></a>00648 }
<a name="l00649"></a>00649
<a name="l00650"></a>00650 <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="l00651"></a>00651 }
<a name="l00652"></a>00652
<a name="l00657"></a>00657 <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>& args);
<a name="l00658"></a>00658
<a name="l00659"></a>00659 <span class="comment">// handler triggered when vertical scrollbar is shown or hidden</span>
<a name="l00660"></a>00660 <span class="keywordtype">bool</span> handle_vertScrollbarVisibilityChanged(<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>&);
<a name="l00661"></a>00661
<a name="l00662"></a>00662 <span class="comment">// validate window renderer</span>
<a name="l00663"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#afb94426369d87295772f303484161cbf">00663</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> validateWindowRenderer(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& name)<span class="keyword"> const</span>
<a name="l00664"></a>00664 <span class="keyword"> </span>{
<a name="l00665"></a>00665 <span class="keywordflow">return</span> (name == EventNamespace);
<a name="l00666"></a>00666 }
<a name="l00667"></a>00667
<a name="l00668"></a>00668 <span class="comment">/*************************************************************************</span>
<a name="l00669"></a>00669 <span class="comment"> New event handlers</span>
<a name="l00670"></a>00670 <span class="comment"> *************************************************************************/</span>
<a name="l00675"></a>00675 <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="l00676"></a>00676
<a name="l00677"></a>00677
<a name="l00682"></a>00682 <span class="keywordtype">void</span> onWordWrapModeChanged(<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="l00683"></a>00683
<a name="l00684"></a>00684
<a name="l00689"></a>00689 <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="l00690"></a>00690
<a name="l00691"></a>00691
<a name="l00696"></a>00696 <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="l00697"></a>00697
<a name="l00698"></a>00698
<a name="l00703"></a>00703 <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="l00704"></a>00704
<a name="l00705"></a>00705
<a name="l00710"></a>00710 <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="l00711"></a>00711
<a name="l00712"></a>00712
<a name="l00717"></a>00717 <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="l00718"></a>00718
<a name="l00719"></a>00719
<a name="l00724"></a>00724 <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="l00725"></a>00725
<a name="l00726"></a>00726
<a name="l00727"></a>00727 <span class="comment">/*************************************************************************</span>
<a name="l00728"></a>00728 <span class="comment"> Overridden event handlers</span>
<a name="l00729"></a>00729 <span class="comment"> *************************************************************************/</span>
<a name="l00730"></a>00730 <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>& e);
<a name="l00731"></a>00731 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onMouseButtonUp(<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>& e);
<a name="l00732"></a>00732 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onMouseDoubleClicked(<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>& e);
<a name="l00733"></a>00733 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onMouseTripleClicked(<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>& e);
<a name="l00734"></a>00734 <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>& e);
<a name="l00735"></a>00735 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onCaptureLost(<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="l00736"></a>00736 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onCharacter(<a class="code" href="classCEGUI_1_1KeyEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning keyboard inp...">KeyEventArgs</a>& e);
<a name="l00737"></a>00737 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onKeyDown(<a class="code" href="classCEGUI_1_1KeyEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning keyboard inp...">KeyEventArgs</a>& e);
<a name="l00738"></a>00738 <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="l00739"></a>00739 <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>& e);
<a name="l00740"></a>00740 <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>& e);
<a name="l00741"></a>00741
<a name="l00742"></a>00742
<a name="l00743"></a>00743 <span class="comment">/*************************************************************************</span>
<a name="l00744"></a>00744 <span class="comment"> Implementation data</span>
<a name="l00745"></a>00745 <span class="comment"> *************************************************************************/</span>
<a name="l00746"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a9ecd0334afe6b4b074049efab53f800c">00746</a> <span class="keywordtype">bool</span> <a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a9ecd0334afe6b4b074049efab53f800c" title="true if the edit box is in read-only mode">d_readOnly</a>;
<a name="l00747"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a93430086e5d0ad5172fdd514b74e66af">00747</a> <span class="keywordtype">size_t</span> <a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a93430086e5d0ad5172fdd514b74e66af" title="Maximum number of characters for this Editbox.">d_maxTextLen</a>;
<a name="l00748"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a9707f291552a14124db2ad57a4ca2d4e">00748</a> <span class="keywordtype">size_t</span> <a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a9707f291552a14124db2ad57a4ca2d4e" title="Position of the carat / insert-point.">d_caratPos</a>;
<a name="l00749"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#aa0076300810d1e711332e2fd38c3219d">00749</a> <span class="keywordtype">size_t</span> <a class="code" href="classCEGUI_1_1MultiLineEditbox.html#aa0076300810d1e711332e2fd38c3219d" title="Start of selection area.">d_selectionStart</a>;
<a name="l00750"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a7e1256a0ad4b324f5a7f693e82226c6c">00750</a> <span class="keywordtype">size_t</span> <a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a7e1256a0ad4b324f5a7f693e82226c6c" title="End of selection area.">d_selectionEnd</a>;
<a name="l00751"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a447ba895d2e520d6933739d8febb2646">00751</a> <span class="keywordtype">bool</span> <a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a447ba895d2e520d6933739d8febb2646" title="true when a selection is being dragged.">d_dragging</a>;
<a name="l00752"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a1d1fd3edf8598df1cb187d51f73af017">00752</a> <span class="keywordtype">size_t</span> <a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a1d1fd3edf8598df1cb187d51f73af017" title="Selection index for drag selection anchor point.">d_dragAnchorIdx</a>;
<a name="l00753"></a>00753
<a name="l00754"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a4212e41d33ddbd1c605879210dd0910c">00754</a> <span class="keyword">static</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_1MultiLineEditbox.html#a4212e41d33ddbd1c605879210dd0910c" title="Holds what we consider to be line break characters.">d_lineBreakChars</a>;
<a name="l00755"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a6c118592fbb9ed216f3f642cb9612754">00755</a> <span class="keywordtype">bool</span> <a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a6c118592fbb9ed216f3f642cb9612754" title="true when formatting uses word-wrapping.">d_wordWrap</a>;
<a name="l00756"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#abf8a42c529e2f6486f6dfb3dab82d200">00756</a> <a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a0e126190879d48d71796ba4568c50169" title="Type for collection of LineInfos.">LineList</a> <a class="code" href="classCEGUI_1_1MultiLineEditbox.html#abf8a42c529e2f6486f6dfb3dab82d200" title="Holds the lines for the current formatting.">d_lines</a>;
<a name="l00757"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#ae881f96f819be44fa1ad8c9f5f26c06a">00757</a> <span class="keywordtype">float</span> <a class="code" href="classCEGUI_1_1MultiLineEditbox.html#ae881f96f819be44fa1ad8c9f5f26c06a" title="Holds the extent of the widest line as calculated in the last formatting pass.">d_widestExtent</a>;
<a name="l00758"></a>00758
<a name="l00759"></a>00759 <span class="comment">// component widget settings</span>
<a name="l00760"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#af1d68d563dee56dd72176ea32880f82e">00760</a> <span class="keywordtype">bool</span> <a class="code" href="classCEGUI_1_1MultiLineEditbox.html#af1d68d563dee56dd72176ea32880f82e" title="true if vertical scrollbar should always be displayed">d_forceVertScroll</a>;
<a name="l00761"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a2195dd3ee0421527363cc9d2f66494e1">00761</a> <span class="keywordtype">bool</span> <a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a2195dd3ee0421527363cc9d2f66494e1" title="true if horizontal scrollbar should always be displayed">d_forceHorzScroll</a>;
<a name="l00762"></a>00762
<a name="l00763"></a>00763 <span class="comment">// images</span>
<a name="l00764"></a><a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a4b2a6545fa6207fa117db61338e3248a">00764</a> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Image.html" title="Class that represents a single Image of an Imageset.">Image</a>* <a class="code" href="classCEGUI_1_1MultiLineEditbox.html#a4b2a6545fa6207fa117db61338e3248a" title="Image to use as the selection brush (should be set by derived class).">d_selectionBrush</a>;
<a name="l00765"></a>00765
<a name="l00766"></a>00766
<a name="l00767"></a>00767 <span class="keyword">private</span>:
<a name="l00768"></a>00768 <span class="comment">/*************************************************************************</span>
<a name="l00769"></a>00769 <span class="comment"> Static Properties for this class</span>
<a name="l00770"></a>00770 <span class="comment"> *************************************************************************/</span>
<a name="l00771"></a>00771 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1MultiLineEditboxProperties_1_1ReadOnly.html" title="Property to access the read-only setting of the edit box.">MultiLineEditboxProperties::ReadOnly</a> d_readOnlyProperty;
<a name="l00772"></a>00772 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1MultiLineEditboxProperties_1_1WordWrap.html" title="Property to access the word-wrap setting of the edit box.">MultiLineEditboxProperties::WordWrap</a> d_wordWrapProperty;
<a name="l00773"></a>00773 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1MultiLineEditboxProperties_1_1CaratIndex.html" title="Property to access the current carat index.">MultiLineEditboxProperties::CaratIndex</a> d_caratIndexProperty;
<a name="l00774"></a>00774 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1MultiLineEditboxProperties_1_1SelectionStart.html" title="Property to access the current selection start index.">MultiLineEditboxProperties::SelectionStart</a> d_selectionStartProperty;
<a name="l00775"></a>00775 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1MultiLineEditboxProperties_1_1SelectionLength.html" title="Property to access the current selection length.">MultiLineEditboxProperties::SelectionLength</a> d_selectionLengthProperty;
<a name="l00776"></a>00776 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1MultiLineEditboxProperties_1_1MaxTextLength.html" title="Property to access the maximum text length for the edit box.">MultiLineEditboxProperties::MaxTextLength</a> d_maxTextLengthProperty;
<a name="l00777"></a>00777 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1MultiLineEditboxProperties_1_1SelectionBrushImage.html" title="Property to access the selection brush image.">MultiLineEditboxProperties::SelectionBrushImage</a> d_selectionBrushProperty;
<a name="l00778"></a>00778 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1MultiLineEditboxProperties_1_1ForceVertScrollbar.html" title="Property to access the 'always show' setting for the vertical scroll bar of the box.">MultiLineEditboxProperties::ForceVertScrollbar</a> d_forceVertProperty;
<a name="l00779"></a>00779
<a name="l00780"></a>00780
<a name="l00781"></a>00781 <span class="comment">/*************************************************************************</span>
<a name="l00782"></a>00782 <span class="comment"> Private methods</span>
<a name="l00783"></a>00783 <span class="comment"> *************************************************************************/</span>
<a name="l00784"></a>00784 <span class="keywordtype">void</span> addMultiLineEditboxProperties(<span class="keywordtype">void</span>);
<a name="l00785"></a>00785 };
<a name="l00786"></a>00786
<a name="l00787"></a>00787 } <span class="comment">// End of CEGUI namespace section</span>
<a name="l00788"></a>00788
<a name="l00789"></a>00789 <span class="preprocessor">#if defined(_MSC_VER)</span>
<a name="l00790"></a>00790 <span class="preprocessor"></span><span class="preprocessor"># pragma warning(pop)</span>
<a name="l00791"></a>00791 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00792"></a>00792 <span class="preprocessor"></span>
<a name="l00793"></a>00793 <span class="preprocessor">#endif // end of guard _CEGUIMultiLineEditbox_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>
|