File: CEGUIEditbox_8h_source.html

package info (click to toggle)
cegui-mk2 0.7.6-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 105,384 kB
  • sloc: cpp: 142,729; ansic: 27,984; sh: 11,010; makefile: 2,275; python: 916; xml: 17
file content (302 lines) | stat: -rw-r--r-- 37,112 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
<!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: CEGUIEditbox.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript">
function hasClass(ele,cls) {
  return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}

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

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

function toggleVisibility(linkObj) {
 var base = linkObj.getAttribute('id');
 var summary = document.getElementById(base + '-summary');
 var content = document.getElementById(base + '-content');
 var trigger = document.getElementById(base + '-trigger');
 if ( hasClass(linkObj,'closed') ) {
   summary.style.display = 'none';
   content.style.display = 'block';
   trigger.src = 'open.png';
   removeClass(linkObj,'closed');
   addClass(linkObj,'opened');
 } else if ( hasClass(linkObj,'opened') ) {
   summary.style.display = 'block';
   content.style.display = 'none';
   trigger.src = 'closed.png';
   removeClass(linkObj,'opened');
   addClass(linkObj,'closed');
 }
 return false;
}
</script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Crazy Eddies GUI System&#160;<span id="projectnumber">0.7.6</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">CEGUIEditbox.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:   CEGUIEditbox.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 Editbox 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 - 2009 Paul D Turner &amp; 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"> *   &quot;Software&quot;), 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 &quot;AS IS&quot;, 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 _CEGUIEditbox_h_</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#define _CEGUIEditbox_h_</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span>
<a name="l00033"></a>00033 <span class="preprocessor">#include &quot;../CEGUIBase.h&quot;</span>
<a name="l00034"></a>00034 <span class="preprocessor">#include &quot;../CEGUIWindow.h&quot;</span>
<a name="l00035"></a>00035 <span class="preprocessor">#include &quot;CEGUIEditboxProperties.h&quot;</span>
<a name="l00036"></a>00036 
<a name="l00037"></a>00037 <span class="preprocessor">#if defined(_MSC_VER)</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span><span class="preprocessor">#   pragma warning(push)</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor">#   pragma warning(disable : 4251)</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span>
<a name="l00042"></a>00042 <span class="comment">// Start of CEGUI namespace section</span>
<a name="l00043"></a>00043 <span class="keyword">namespace </span>CEGUI
<a name="l00044"></a>00044 {
<a name="l00046"></a><a class="code" href="classCEGUI_1_1EditboxWindowRenderer.html">00046</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1EditboxWindowRenderer.html" title="Base class for the EditboxWindowRenderer class.">EditboxWindowRenderer</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="l00047"></a>00047 {
<a name="l00048"></a>00048 <span class="keyword">public</span>:
<a name="l00050"></a>00050     <a class="code" href="classCEGUI_1_1EditboxWindowRenderer.html" title="Base class for the EditboxWindowRenderer class.">EditboxWindowRenderer</a>(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; name);
<a name="l00051"></a>00051 
<a name="l00064"></a>00064     <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> getTextIndexFromPosition(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Vector2.html" title="Class used as a two dimensional vector (aka a Point)">Point</a>&amp; pt) <span class="keyword">const</span> = 0;
<a name="l00065"></a>00065 };
<a name="l00066"></a>00066 
<a name="l00067"></a>00067 <span class="comment">//----------------------------------------------------------------------------//</span>
<a name="l00068"></a>00068 
<a name="l00070"></a><a class="code" href="classCEGUI_1_1Editbox.html">00070</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1Editbox.html" title="Base class for an Editbox widget.">Editbox</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="l00071"></a>00071 {
<a name="l00072"></a>00072 <span class="keyword">public</span>:
<a name="l00074"></a><a class="code" href="classCEGUI_1_1Editbox.html#a28d0e77e3fe2ccf0b673b77275cba94d">00074</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_1Editbox.html#a28d0e77e3fe2ccf0b673b77275cba94d" title="Namespace for global events.">EventNamespace</a>;
<a name="l00076"></a><a class="code" href="classCEGUI_1_1Editbox.html#a07b2aa2464e8820163fefaf4610ba0b8">00076</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_1Editbox.html#a07b2aa2464e8820163fefaf4610ba0b8" title="Window factory name.">WidgetTypeName</a>;
<a name="l00082"></a><a class="code" href="classCEGUI_1_1Editbox.html#a4afd04c075b11fc60c0a17d5a52d732a">00082</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1Editbox.html#a4afd04c075b11fc60c0a17d5a52d732a">EventReadOnlyModeChanged</a>;
<a name="l00088"></a><a class="code" href="classCEGUI_1_1Editbox.html#a3b4a7ee738096cc8a733bc7ed99f0f4c">00088</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_1Editbox.html#a3b4a7ee738096cc8a733bc7ed99f0f4c">EventMaskedRenderingModeChanged</a>;
<a name="l00095"></a><a class="code" href="classCEGUI_1_1Editbox.html#aef8aba616569086dc89e91933ce6a52c">00095</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_1Editbox.html#aef8aba616569086dc89e91933ce6a52c">EventMaskCodePointChanged</a>;
<a name="l00101"></a><a class="code" href="classCEGUI_1_1Editbox.html#aaaccc0f8650dcc019ec13032305423c4">00101</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_1Editbox.html#aaaccc0f8650dcc019ec13032305423c4">EventValidationStringChanged</a>;
<a name="l00107"></a><a class="code" href="classCEGUI_1_1Editbox.html#ae22fd6f886a0c1cc278c36f9b5a28a41">00107</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_1Editbox.html#ae22fd6f886a0c1cc278c36f9b5a28a41">EventMaximumTextLengthChanged</a>;
<a name="l00113"></a><a class="code" href="classCEGUI_1_1Editbox.html#a5914642dd90304932b225b07ee398601">00113</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_1Editbox.html#a5914642dd90304932b225b07ee398601">EventTextInvalidated</a>;
<a name="l00120"></a><a class="code" href="classCEGUI_1_1Editbox.html#acc0098f35887bbfb8dda4bb50bd1b938">00120</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_1Editbox.html#acc0098f35887bbfb8dda4bb50bd1b938">EventInvalidEntryAttempted</a>;
<a name="l00126"></a><a class="code" href="classCEGUI_1_1Editbox.html#a30a3263e943aa407da31936806130762">00126</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1Editbox.html#a30a3263e943aa407da31936806130762">EventCaratMoved</a>;
<a name="l00132"></a><a class="code" href="classCEGUI_1_1Editbox.html#ab67e6cc93ac0b3849e0c2be5ed8c43a6">00132</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_1Editbox.html#ab67e6cc93ac0b3849e0c2be5ed8c43a6">EventTextSelectionChanged</a>;
<a name="l00138"></a><a class="code" href="classCEGUI_1_1Editbox.html#a7dea371061bcd085a587e8393c8f4c7b">00138</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_1Editbox.html#a7dea371061bcd085a587e8393c8f4c7b">EventEditboxFull</a>;
<a name="l00145"></a><a class="code" href="classCEGUI_1_1Editbox.html#a443b42106b04ea73e6e4015f75f2c563">00145</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_1Editbox.html#a443b42106b04ea73e6e4015f75f2c563">EventTextAccepted</a>;
<a name="l00146"></a>00146 
<a name="l00155"></a>00155     <span class="keywordtype">bool</span> hasInputFocus(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00156"></a>00156 
<a name="l00165"></a><a class="code" href="classCEGUI_1_1Editbox.html#aa5c6612849e31ed77183011c50126945">00165</a>     <span class="keywordtype">bool</span> isReadOnly(<span class="keywordtype">void</span>)<span class="keyword"> const</span>
<a name="l00166"></a>00166 <span class="keyword">        </span>{<span class="keywordflow">return</span> d_readOnly;}
<a name="l00167"></a>00167 
<a name="l00177"></a><a class="code" href="classCEGUI_1_1Editbox.html#a0b20fe61058a187f363fa9d2e2387e3d">00177</a>     <span class="keywordtype">bool</span> isTextMasked(<span class="keywordtype">void</span>)<span class="keyword"> const</span>
<a name="l00178"></a>00178 <span class="keyword">        </span>{<span class="keywordflow">return</span> d_maskText;}
<a name="l00179"></a>00179 
<a name="l00200"></a>00200     <span class="keywordtype">bool</span> isTextValid(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00201"></a>00201 
<a name="l00214"></a><a class="code" href="classCEGUI_1_1Editbox.html#a8a779ed8eeae317eaf68178074f874e2">00214</a>     <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; getValidationString(<span class="keywordtype">void</span>)<span class="keyword"> const</span>
<a name="l00215"></a>00215 <span class="keyword">        </span>{<span class="keywordflow">return</span> d_validationString;}
<a name="l00216"></a>00216 
<a name="l00224"></a>00224     <span class="keywordtype">size_t</span> getCaratIndex(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00225"></a>00225 
<a name="l00235"></a>00235     <span class="keywordtype">size_t</span> getSelectionStartIndex(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00236"></a>00236 
<a name="l00245"></a>00245     <span class="keywordtype">size_t</span> getSelectionEndIndex(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00246"></a>00246 
<a name="l00256"></a>00256     <span class="keywordtype">size_t</span> getSelectionLength(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00257"></a>00257 
<a name="l00266"></a><a class="code" href="classCEGUI_1_1Editbox.html#a3bc9f426f94470fd9e69f6b18e8c37a9">00266</a>     utf32 getMaskCodePoint(<span class="keywordtype">void</span>)<span class="keyword"> const</span>
<a name="l00267"></a>00267 <span class="keyword">        </span>{<span class="keywordflow">return</span> d_maskCodePoint;}
<a name="l00268"></a>00268 
<a name="l00282"></a><a class="code" href="classCEGUI_1_1Editbox.html#a000fdd54b1bbea10d15cdb9cb0b5010e">00282</a>     <span class="keywordtype">size_t</span> getMaxTextLength(<span class="keywordtype">void</span>)<span class="keyword"> const</span>
<a name="l00283"></a>00283 <span class="keyword">        </span>{<span class="keywordflow">return</span> d_maxTextLen;}
<a name="l00284"></a>00284 
<a name="l00296"></a>00296     <span class="keywordtype">void</span> setReadOnly(<span class="keywordtype">bool</span> setting);
<a name="l00297"></a>00297 
<a name="l00310"></a>00310     <span class="keywordtype">void</span> setTextMasked(<span class="keywordtype">bool</span> setting);
<a name="l00311"></a>00311 
<a name="l00327"></a>00327     <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>&amp; validation_string);
<a name="l00328"></a>00328 
<a name="l00341"></a>00341     <span class="keywordtype">void</span> setCaratIndex(<span class="keywordtype">size_t</span> carat_pos);
<a name="l00342"></a>00342 
<a name="l00360"></a>00360     <span class="keywordtype">void</span> setSelection(<span class="keywordtype">size_t</span> start_pos, <span class="keywordtype">size_t</span> end_pos);
<a name="l00361"></a>00361 
<a name="l00373"></a>00373     <span class="keywordtype">void</span> setMaskCodePoint(utf32 code_point);
<a name="l00374"></a>00374 
<a name="l00391"></a>00391     <span class="keywordtype">void</span> setMaxTextLength(<span class="keywordtype">size_t</span> max_len);
<a name="l00392"></a>00392 
<a name="l00394"></a>00394     <a class="code" href="classCEGUI_1_1Editbox.html" title="Base class for an Editbox widget.">Editbox</a>(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; type, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; name);
<a name="l00395"></a>00395 
<a name="l00397"></a>00397     <span class="keyword">virtual</span> ~<a class="code" href="classCEGUI_1_1Editbox.html" title="Base class for an Editbox widget.">Editbox</a>(<span class="keywordtype">void</span>);
<a name="l00398"></a>00398 
<a name="l00399"></a>00399 <span class="keyword">protected</span>:
<a name="l00412"></a>00412     <span class="keywordtype">size_t</span> getTextIndexFromPosition(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Vector2.html" title="Class used as a two dimensional vector (aka a Point)">Point</a>&amp; pt) <span class="keyword">const</span>;
<a name="l00413"></a>00413 
<a name="l00415"></a>00415     <span class="keywordtype">void</span> clearSelection(<span class="keywordtype">void</span>);
<a name="l00416"></a>00416 
<a name="l00425"></a>00425     <span class="keywordtype">void</span> eraseSelectedText(<span class="keywordtype">bool</span> modify_text = <span class="keyword">true</span>);
<a name="l00426"></a>00426 
<a name="l00432"></a>00432     <span class="keywordtype">bool</span> isStringValid(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; str) <span class="keyword">const</span>;
<a name="l00433"></a>00433 
<a name="l00435"></a>00435     <span class="keywordtype">void</span> handleBackspace(<span class="keywordtype">void</span>);
<a name="l00436"></a>00436 
<a name="l00438"></a>00438     <span class="keywordtype">void</span> handleDelete(<span class="keywordtype">void</span>);
<a name="l00439"></a>00439 
<a name="l00441"></a>00441     <span class="keywordtype">void</span> handleCharLeft(uint sysKeys);
<a name="l00442"></a>00442 
<a name="l00444"></a>00444     <span class="keywordtype">void</span> handleWordLeft(uint sysKeys);
<a name="l00445"></a>00445 
<a name="l00447"></a>00447     <span class="keywordtype">void</span> handleCharRight(uint sysKeys);
<a name="l00448"></a>00448 
<a name="l00450"></a>00450     <span class="keywordtype">void</span> handleWordRight(uint sysKeys);
<a name="l00451"></a>00451 
<a name="l00453"></a>00453     <span class="keywordtype">void</span> handleHome(uint sysKeys);
<a name="l00454"></a>00454 
<a name="l00456"></a>00456     <span class="keywordtype">void</span> handleEnd(uint sysKeys);
<a name="l00457"></a>00457 
<a name="l00470"></a><a class="code" href="classCEGUI_1_1Editbox.html#ab004c500cadaf81973efab30ee3d445e">00470</a>     <span class="keyword">virtual</span> <span class="keywordtype">bool</span> testClassName_impl(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; class_name)<span class="keyword"> const</span>
<a name="l00471"></a>00471 <span class="keyword">    </span>{
<a name="l00472"></a>00472         <span class="keywordflow">if</span> (class_name==<span class="stringliteral">&quot;Editbox&quot;</span>)      <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00473"></a>00473         <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="l00474"></a>00474     }
<a name="l00475"></a>00475 
<a name="l00477"></a><a class="code" href="classCEGUI_1_1Editbox.html#a25ce125527f6448f195d2d8c89d8d771">00477</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>&amp; name)<span class="keyword"> const</span>
<a name="l00478"></a>00478 <span class="keyword">    </span>{
<a name="l00479"></a>00479         <span class="keywordflow">return</span> (name == <span class="stringliteral">&quot;Editbox&quot;</span>);
<a name="l00480"></a>00480     }
<a name="l00481"></a>00481 
<a name="l00486"></a>00486     <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>&amp; e);
<a name="l00487"></a>00487 
<a name="l00493"></a>00493     <span class="keyword">virtual</span> <span class="keywordtype">void</span> onMaskedRenderingModeChanged(<a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>&amp; e);
<a name="l00494"></a>00494 
<a name="l00500"></a>00500     <span class="keyword">virtual</span> <span class="keywordtype">void</span> onMaskCodePointChanged(<a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>&amp; e);
<a name="l00501"></a>00501 
<a name="l00506"></a>00506     <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>&amp; e);
<a name="l00507"></a>00507 
<a name="l00512"></a>00512     <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>&amp; e);
<a name="l00513"></a>00513 
<a name="l00522"></a>00522     <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>&amp; e);
<a name="l00523"></a>00523 
<a name="l00529"></a>00529     <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>&amp; e);
<a name="l00530"></a>00530 
<a name="l00535"></a>00535     <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>&amp; e);
<a name="l00536"></a>00536 
<a name="l00541"></a>00541     <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>&amp; e);
<a name="l00542"></a>00542 
<a name="l00548"></a>00548     <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>&amp; e);
<a name="l00549"></a>00549 
<a name="l00555"></a>00555     <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>&amp; e);
<a name="l00556"></a>00556 
<a name="l00557"></a>00557     <span class="comment">// Overridden event handlers</span>
<a name="l00558"></a>00558     <span class="keywordtype">void</span> onMouseButtonDown(<a class="code" href="classCEGUI_1_1MouseEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning mouse input...">MouseEventArgs</a>&amp; e);
<a name="l00559"></a>00559     <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>&amp; e);
<a name="l00560"></a>00560     <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>&amp; e);
<a name="l00561"></a>00561     <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>&amp; e);
<a name="l00562"></a>00562     <span class="keywordtype">void</span> onMouseMove(<a class="code" href="classCEGUI_1_1MouseEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning mouse input...">MouseEventArgs</a>&amp; e);
<a name="l00563"></a>00563     <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>&amp; e);
<a name="l00564"></a>00564     <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>&amp; e);
<a name="l00565"></a>00565     <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>&amp; e);
<a name="l00566"></a>00566     <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>&amp; e);
<a name="l00567"></a>00567 
<a name="l00569"></a><a class="code" href="classCEGUI_1_1Editbox.html#a0d6c63ff97ffb74b89f34028bee62628">00569</a>     <span class="keywordtype">bool</span> <a class="code" href="classCEGUI_1_1Editbox.html#a0d6c63ff97ffb74b89f34028bee62628" title="True if the editbox is in read-only mode.">d_readOnly</a>;
<a name="l00571"></a><a class="code" href="classCEGUI_1_1Editbox.html#a2be6c38f93feced0df90aa3f7e1d06c6">00571</a>     <span class="keywordtype">bool</span> <a class="code" href="classCEGUI_1_1Editbox.html#a2be6c38f93feced0df90aa3f7e1d06c6" title="True if the editbox text should be rendered masked.">d_maskText</a>;
<a name="l00573"></a><a class="code" href="classCEGUI_1_1Editbox.html#a75db63ee42adeb9b75610339acf91491">00573</a>     utf32 <a class="code" href="classCEGUI_1_1Editbox.html#a75db63ee42adeb9b75610339acf91491" title="Code point to use when rendering masked text.">d_maskCodePoint</a>;
<a name="l00575"></a><a class="code" href="classCEGUI_1_1Editbox.html#a04c63233f60c56243641b0bc569d8132">00575</a>     <span class="keywordtype">size_t</span> <a class="code" href="classCEGUI_1_1Editbox.html#a04c63233f60c56243641b0bc569d8132" title="Maximum number of characters for this Editbox.">d_maxTextLen</a>;
<a name="l00577"></a><a class="code" href="classCEGUI_1_1Editbox.html#af2288a65ab7ee6e8d2d59ec1d0dc78d4">00577</a>     <span class="keywordtype">size_t</span> <a class="code" href="classCEGUI_1_1Editbox.html#af2288a65ab7ee6e8d2d59ec1d0dc78d4" title="Position of the carat / insert-point.">d_caratPos</a>;
<a name="l00579"></a><a class="code" href="classCEGUI_1_1Editbox.html#a70b72b1d78644c97be7032c4ca1f206c">00579</a>     <span class="keywordtype">size_t</span> <a class="code" href="classCEGUI_1_1Editbox.html#a70b72b1d78644c97be7032c4ca1f206c" title="Start of selection area.">d_selectionStart</a>;
<a name="l00581"></a><a class="code" href="classCEGUI_1_1Editbox.html#a1ba588b2432cbbb0e437178abf3ae362">00581</a>     <span class="keywordtype">size_t</span> <a class="code" href="classCEGUI_1_1Editbox.html#a1ba588b2432cbbb0e437178abf3ae362" title="End of selection area.">d_selectionEnd</a>;
<a name="l00583"></a><a class="code" href="classCEGUI_1_1Editbox.html#a5a1140ab7b753cd7ae2a5384ea6f9d73">00583</a>     <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1Editbox.html#a5a1140ab7b753cd7ae2a5384ea6f9d73" title="Copy of validation reg-ex string.">d_validationString</a>;
<a name="l00585"></a><a class="code" href="classCEGUI_1_1Editbox.html#a9b59297fdc3b7a6a6babc2d553b83337">00585</a>     <a class="code" href="classCEGUI_1_1RegexMatcher.html" title="Interface for Regex matching support classes.">RegexMatcher</a>* <a class="code" href="classCEGUI_1_1Editbox.html#a9b59297fdc3b7a6a6babc2d553b83337" title="Pointer to class used for validation of text.">d_validator</a>;
<a name="l00587"></a><a class="code" href="classCEGUI_1_1Editbox.html#a8cc5e9762e18697bb77c09dedc778003">00587</a>     <span class="keywordtype">bool</span> <a class="code" href="classCEGUI_1_1Editbox.html#a8cc5e9762e18697bb77c09dedc778003" title="true when a selection is being dragged.">d_dragging</a>;
<a name="l00589"></a><a class="code" href="classCEGUI_1_1Editbox.html#a9e51072af48c94a1a17b15080d64228c">00589</a>     <span class="keywordtype">size_t</span> <a class="code" href="classCEGUI_1_1Editbox.html#a9e51072af48c94a1a17b15080d64228c" title="Selection index for drag selection anchor point.">d_dragAnchorIdx</a>;
<a name="l00590"></a>00590 
<a name="l00591"></a>00591 <span class="keyword">private</span>:
<a name="l00592"></a>00592     <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1EditboxProperties_1_1ReadOnly.html" title="Property to access the read-only setting of the edit box.">EditboxProperties::ReadOnly</a>         d_readOnlyProperty;
<a name="l00593"></a>00593     <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1EditboxProperties_1_1MaskText.html" title="Property to access the mask text setting of the edit box.">EditboxProperties::MaskText</a>         d_maskTextProperty;
<a name="l00594"></a>00594     <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1EditboxProperties_1_1MaskCodepoint.html" title="Property to access the mask text setting of the edit box.">EditboxProperties::MaskCodepoint</a>    d_maskCodepointProperty;
<a name="l00595"></a>00595     <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1EditboxProperties_1_1ValidationString.html" title="Property to access the string used for regular expression validation of the edit box text...">EditboxProperties::ValidationString</a> d_validationStringProperty;
<a name="l00596"></a>00596     <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1EditboxProperties_1_1CaratIndex.html" title="Property to access the current carat index.">EditboxProperties::CaratIndex</a>       d_caratIndexProperty;
<a name="l00597"></a>00597     <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1EditboxProperties_1_1SelectionStart.html" title="Property to access the current selection start index.">EditboxProperties::SelectionStart</a>   d_selectionStartProperty;
<a name="l00598"></a>00598     <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1EditboxProperties_1_1SelectionLength.html" title="Property to access the current selection length.">EditboxProperties::SelectionLength</a>  d_selectionLengthProperty;
<a name="l00599"></a>00599     <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1EditboxProperties_1_1MaxTextLength.html" title="Property to access the maximum text length for the edit box.">EditboxProperties::MaxTextLength</a>    d_maxTextLengthProperty;
<a name="l00600"></a>00600 
<a name="l00601"></a>00601     <span class="keywordtype">void</span> addEditboxProperties(<span class="keywordtype">void</span>);
<a name="l00602"></a>00602 };
<a name="l00603"></a>00603 
<a name="l00604"></a>00604 } <span class="comment">// End of  CEGUI namespace section</span>
<a name="l00605"></a>00605 
<a name="l00606"></a>00606 <span class="preprocessor">#if defined(_MSC_VER)</span>
<a name="l00607"></a>00607 <span class="preprocessor"></span><span class="preprocessor">#   pragma warning(pop)</span>
<a name="l00608"></a>00608 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00609"></a>00609 <span class="preprocessor"></span>
<a name="l00610"></a>00610 <span class="preprocessor">#endif  // end of guard _CEGUIEditbox_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&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>