File: classCEGUI_1_1ButtonBase.html

package info (click to toggle)
cegui-mk2 0.7.6-3.3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 105,388 kB
  • ctags: 82,178
  • sloc: cpp: 142,729; ansic: 27,984; sh: 11,010; makefile: 2,275; python: 916; xml: 17
file content (401 lines) | stat: -rw-r--r-- 26,500 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
<!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: CEGUI::ButtonBase Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceCEGUI.html">CEGUI</a>      </li>
      <li class="navelem"><a class="el" href="classCEGUI_1_1ButtonBase.html">ButtonBase</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">CEGUI::ButtonBase Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="CEGUI::ButtonBase" --><!-- doxytag: inherits="CEGUI::Window" -->
<p>Base class for all the 'button' type widgets (push button, radio button, check-box, etc)  
 <a href="classCEGUI_1_1ButtonBase.html#details">More...</a></p>

<p>Inherits <a class="el" href="classCEGUI_1_1Window.html">CEGUI::Window</a>.</p>

<p>Inherited by <a class="el" href="classCEGUI_1_1Checkbox.html">CEGUI::Checkbox</a>, <a class="el" href="classCEGUI_1_1PushButton.html">CEGUI::PushButton</a>, <a class="el" href="classCEGUI_1_1RadioButton.html">CEGUI::RadioButton</a>, and <a class="el" href="classCEGUI_1_1TabButton.html">CEGUI::TabButton</a>.</p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png"/> Collaboration diagram for CEGUI::ButtonBase:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classCEGUI_1_1ButtonBase__coll__graph.gif" border="0" usemap="#CEGUI_1_1ButtonBase_coll__map" alt="Collaboration graph"/></div>
<map name="CEGUI_1_1ButtonBase_coll__map" id="CEGUI_1_1ButtonBase_coll__map">
<area shape="rect" id="node2" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv..." alt="" coords="95,96,215,125"/><area shape="rect" id="node4" href="classCEGUI_1_1PropertySet.html" title="Class that contains a collection of Property objects." alt="" coords="5,5,147,35"/><area shape="rect" id="node6" href="classCEGUI_1_1EventSet.html" title="Class that collects together a set of Event objects." alt="" coords="171,5,296,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classCEGUI_1_1ButtonBase-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ButtonBase.html#ac48730bc85a5e298dfe20c1235399730">isHovering</a> (void) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return true if user is hovering over this widget (or it's pushed and user is not over it for highlight)  <a href="#ac48730bc85a5e298dfe20c1235399730"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ButtonBase.html#aa5cdffecbc17c1662422a83684b6ae0d">isPushed</a> (void) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if the button widget is in the pushed state.  <a href="#aa5cdffecbc17c1662422a83684b6ae0d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af84c72d614a9f913a6ab45f42326ffb6"></a><!-- doxytag: member="CEGUI::ButtonBase::ButtonBase" ref="af84c72d614a9f913a6ab45f42326ffb6" args="(const String &amp;type, const String &amp;name)" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ButtonBase.html#af84c72d614a9f913a6ab45f42326ffb6">ButtonBase</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;type, const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor for <a class="el" href="classCEGUI_1_1ButtonBase.html" title="Base class for all the &#39;button&#39; type widgets (push button, radio button, check-box, etc)">ButtonBase</a> objects. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab078210e400c82125e50a38ba52dabc5"></a><!-- doxytag: member="CEGUI::ButtonBase::~ButtonBase" ref="ab078210e400c82125e50a38ba52dabc5" args="(void)" -->
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ButtonBase.html#ab078210e400c82125e50a38ba52dabc5">~ButtonBase</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor for <a class="el" href="classCEGUI_1_1ButtonBase.html" title="Base class for all the &#39;button&#39; type widgets (push button, radio button, check-box, etc)">ButtonBase</a> objects. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ButtonBase.html#a9af0026285582273b7a8d11bd6fcbe66">onMouseMove</a> (<a class="el" href="classCEGUI_1_1MouseEventArgs.html">MouseEventArgs</a> &amp;e)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Handler called when the mouse cursor has been moved within this window's area.  <a href="#a9af0026285582273b7a8d11bd6fcbe66"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ButtonBase.html#aa6b845dc5bada89186329b5d35461f80">onMouseButtonDown</a> (<a class="el" href="classCEGUI_1_1MouseEventArgs.html">MouseEventArgs</a> &amp;e)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Handler called when a mouse button has been depressed within this window's area.  <a href="#aa6b845dc5bada89186329b5d35461f80"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ButtonBase.html#ad28199915fe08115944fe740610231b0">onMouseButtonUp</a> (<a class="el" href="classCEGUI_1_1MouseEventArgs.html">MouseEventArgs</a> &amp;e)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Handler called when a mouse button has been released within this window's area.  <a href="#ad28199915fe08115944fe740610231b0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ButtonBase.html#a934808f0b709d41bf7f26834f00e4949">onCaptureLost</a> (<a class="el" href="classCEGUI_1_1WindowEventArgs.html">WindowEventArgs</a> &amp;e)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Handler called when this window loses capture of mouse inputs.  <a href="#a934808f0b709d41bf7f26834f00e4949"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ButtonBase.html#a35f904004981b4b8a4349ced75a1a98b">onMouseLeaves</a> (<a class="el" href="classCEGUI_1_1MouseEventArgs.html">MouseEventArgs</a> &amp;e)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Handler called when the mouse cursor is no longer over this window's surface area. This will be called when the mouse is not over a part of this Window's actual surface - even though technically the mouse is still within the Window's area, for example if the mouse moves over a child window.  <a href="#a35f904004981b4b8a4349ced75a1a98b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ButtonBase.html#a1050990c06b51d4733ff760fe7c2662e">updateInternalState</a> (const <a class="el" href="classCEGUI_1_1Vector2.html">Point</a> &amp;mouse_pos)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the internal state of the widget with the mouse at the given position.  <a href="#a1050990c06b51d4733ff760fe7c2662e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ButtonBase.html#a9495497dbb5e8416a088b4e907f841de">testClassName_impl</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;class_name) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return whether this window was inherited from the given class name at some point in the inheritance hierarchy.  <a href="#a9495497dbb5e8416a088b4e907f841de"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67487bdc339bc59098aaf0eefaabb31d"></a><!-- doxytag: member="CEGUI::ButtonBase::d_pushed" ref="a67487bdc339bc59098aaf0eefaabb31d" args="" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ButtonBase.html#a67487bdc339bc59098aaf0eefaabb31d">d_pushed</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">true when widget is pushed <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af76e6ae0c35b03ed3c93c6b0cc143a68"></a><!-- doxytag: member="CEGUI::ButtonBase::d_hovering" ref="af76e6ae0c35b03ed3c93c6b0cc143a68" args="" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ButtonBase.html#af76e6ae0c35b03ed3c93c6b0cc143a68">d_hovering</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">true when the button is in 'hover' state and requires the hover rendering. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Base class for all the 'button' type widgets (push button, radio button, check-box, etc) </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ac48730bc85a5e298dfe20c1235399730"></a><!-- doxytag: member="CEGUI::ButtonBase::isHovering" ref="ac48730bc85a5e298dfe20c1235399730" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CEGUI::ButtonBase::isHovering </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>return true if user is hovering over this widget (or it's pushed and user is not over it for highlight) </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the user is hovering or if the button is pushed and the mouse is not over the button. Otherwise return false. </dd></dl>

</div>
</div>
<a class="anchor" id="aa5cdffecbc17c1662422a83684b6ae0d"></a><!-- doxytag: member="CEGUI::ButtonBase::isPushed" ref="aa5cdffecbc17c1662422a83684b6ae0d" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool CEGUI::ButtonBase::isPushed </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return true if the button widget is in the pushed state. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the button-type widget is pushed, false if the widget is not pushed. </dd></dl>

</div>
</div>
<a class="anchor" id="a934808f0b709d41bf7f26834f00e4949"></a><!-- doxytag: member="CEGUI::ButtonBase::onCaptureLost" ref="a934808f0b709d41bf7f26834f00e4949" args="(WindowEventArgs &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CEGUI::ButtonBase::onCaptureLost </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCEGUI_1_1WindowEventArgs.html">WindowEventArgs</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Handler called when this window loses capture of mouse inputs. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td><a class="el" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a> object whose 'window' pointer field is set to the window that triggered the event. For this event the trigger window is always 'this'. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classCEGUI_1_1Window.html#a14d613fe66ba50dacb9ee9490b64d26e">CEGUI::Window</a>.</p>

<p>Reimplemented in <a class="el" href="classCEGUI_1_1Thumb.html#abfb4c66fdfd52363a3bfd75836c205b2">CEGUI::Thumb</a>.</p>

</div>
</div>
<a class="anchor" id="aa6b845dc5bada89186329b5d35461f80"></a><!-- doxytag: member="CEGUI::ButtonBase::onMouseButtonDown" ref="aa6b845dc5bada89186329b5d35461f80" args="(MouseEventArgs &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CEGUI::ButtonBase::onMouseButtonDown </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCEGUI_1_1MouseEventArgs.html">MouseEventArgs</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Handler called when a mouse button has been depressed within this window's area. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td><a class="el" href="classCEGUI_1_1MouseEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning mouse input...">MouseEventArgs</a> object. All fields are valid. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classCEGUI_1_1Window.html#abb30780cd259d8328df6ff0809f8ce4a">CEGUI::Window</a>.</p>

<p>Reimplemented in <a class="el" href="classCEGUI_1_1TabButton.html#ada59c8ec5436f7fd4009563da9ebd5b6">CEGUI::TabButton</a>, and <a class="el" href="classCEGUI_1_1Thumb.html#ab462f37743f369c655d3384153cfca8b">CEGUI::Thumb</a>.</p>

</div>
</div>
<a class="anchor" id="ad28199915fe08115944fe740610231b0"></a><!-- doxytag: member="CEGUI::ButtonBase::onMouseButtonUp" ref="ad28199915fe08115944fe740610231b0" args="(MouseEventArgs &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CEGUI::ButtonBase::onMouseButtonUp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCEGUI_1_1MouseEventArgs.html">MouseEventArgs</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Handler called when a mouse button has been released within this window's area. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td><a class="el" href="classCEGUI_1_1MouseEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning mouse input...">MouseEventArgs</a> object. All fields are valid. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classCEGUI_1_1Window.html#ac03b4971d121ff91d6fc771386029792">CEGUI::Window</a>.</p>

<p>Reimplemented in <a class="el" href="classCEGUI_1_1Checkbox.html#aea1c6e5de0f0f42486f4c4d17648c1ce">CEGUI::Checkbox</a>, <a class="el" href="classCEGUI_1_1PushButton.html#ad822bc6964cd3b02088f22e57137bd6d">CEGUI::PushButton</a>, <a class="el" href="classCEGUI_1_1RadioButton.html#a54575c2137db5953a4bac50d8fba1283">CEGUI::RadioButton</a>, and <a class="el" href="classCEGUI_1_1TabButton.html#ab8f3df4867fc535b54ff53cb20e2d41f">CEGUI::TabButton</a>.</p>

</div>
</div>
<a class="anchor" id="a35f904004981b4b8a4349ced75a1a98b"></a><!-- doxytag: member="CEGUI::ButtonBase::onMouseLeaves" ref="a35f904004981b4b8a4349ced75a1a98b" args="(MouseEventArgs &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CEGUI::ButtonBase::onMouseLeaves </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCEGUI_1_1MouseEventArgs.html">MouseEventArgs</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Handler called when the mouse cursor is no longer over this window's surface area. This will be called when the mouse is not over a part of this Window's actual surface - even though technically the mouse is still within the Window's area, for example if the mouse moves over a child window. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td><a class="el" href="classCEGUI_1_1MouseEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning mouse input...">MouseEventArgs</a> object. All fields are valid.</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classCEGUI_1_1Window.html#a90bc97e235cf006d0c3c1974c4d6f419" title="Handler called when the mouse cursor has left this window&#39;s area.">Window::onMouseLeavesArea</a> </dd></dl>

<p>Reimplemented from <a class="el" href="classCEGUI_1_1Window.html#a284d0c96a5d4a77e352602380481123a">CEGUI::Window</a>.</p>

</div>
</div>
<a class="anchor" id="a9af0026285582273b7a8d11bd6fcbe66"></a><!-- doxytag: member="CEGUI::ButtonBase::onMouseMove" ref="a9af0026285582273b7a8d11bd6fcbe66" args="(MouseEventArgs &amp;e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void CEGUI::ButtonBase::onMouseMove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCEGUI_1_1MouseEventArgs.html">MouseEventArgs</a> &amp;&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Handler called when the mouse cursor has been moved within this window's area. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">e</td><td><a class="el" href="classCEGUI_1_1MouseEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning mouse input...">MouseEventArgs</a> object. All fields are valid. </td></tr>
  </table>
  </dd>
</dl>

<p>Reimplemented from <a class="el" href="classCEGUI_1_1Window.html#a6ed7a299dff48cf855256983b86c971d">CEGUI::Window</a>.</p>

<p>Reimplemented in <a class="el" href="classCEGUI_1_1TabButton.html#a9bc86c737536b6d37a67b2172fc79e80">CEGUI::TabButton</a>, and <a class="el" href="classCEGUI_1_1Thumb.html#afcfa5f7463cb1398236fc016df555a7f">CEGUI::Thumb</a>.</p>

</div>
</div>
<a class="anchor" id="a9495497dbb5e8416a088b4e907f841de"></a><!-- doxytag: member="CEGUI::ButtonBase::testClassName_impl" ref="a9495497dbb5e8416a088b4e907f841de" args="(const String &amp;class_name) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool CEGUI::ButtonBase::testClassName_impl </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> &amp;&#160;</td>
          <td class="paramname"><em>class_name</em></td><td>)</td>
          <td> const<code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return whether this window was inherited from the given class name at some point in the inheritance hierarchy. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">class_name</td><td>The class name that is to be checked.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if this window was inherited from <em>class_name</em>. false if not. </dd></dl>

<p>Reimplemented from <a class="el" href="classCEGUI_1_1Window.html#a2b58cf00b4790c9cb08acfc18d5d3b0b">CEGUI::Window</a>.</p>

<p>Reimplemented in <a class="el" href="classCEGUI_1_1Checkbox.html#afeab7a19cbe68387e6660d755c724f31">CEGUI::Checkbox</a>, <a class="el" href="classCEGUI_1_1PushButton.html#a36691e6348391c73f0c98748f48c3b60">CEGUI::PushButton</a>, <a class="el" href="classCEGUI_1_1RadioButton.html#ad53950ecb50be73ba5c613ea0cd893bd">CEGUI::RadioButton</a>, <a class="el" href="classCEGUI_1_1TabButton.html#a316ab1887df3ef9c5ffdb51523361e8a">CEGUI::TabButton</a>, and <a class="el" href="classCEGUI_1_1Thumb.html#a672d82b56249fbd17f4f7424e281444c">CEGUI::Thumb</a>.</p>

<p>References <a class="el" href="classCEGUI_1_1Window.html#a2b58cf00b4790c9cb08acfc18d5d3b0b">CEGUI::Window::testClassName_impl()</a>.</p>

<p>Referenced by <a class="el" href="classCEGUI_1_1TabButton.html#a316ab1887df3ef9c5ffdb51523361e8a">CEGUI::TabButton::testClassName_impl()</a>, <a class="el" href="classCEGUI_1_1RadioButton.html#ad53950ecb50be73ba5c613ea0cd893bd">CEGUI::RadioButton::testClassName_impl()</a>, <a class="el" href="classCEGUI_1_1PushButton.html#a36691e6348391c73f0c98748f48c3b60">CEGUI::PushButton::testClassName_impl()</a>, and <a class="el" href="classCEGUI_1_1Checkbox.html#afeab7a19cbe68387e6660d755c724f31">CEGUI::Checkbox::testClassName_impl()</a>.</p>

</div>
</div>
<a class="anchor" id="a1050990c06b51d4733ff760fe7c2662e"></a><!-- doxytag: member="CEGUI::ButtonBase::updateInternalState" ref="a1050990c06b51d4733ff760fe7c2662e" args="(const Point &amp;mouse_pos)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CEGUI::ButtonBase::updateInternalState </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCEGUI_1_1Vector2.html">Point</a> &amp;&#160;</td>
          <td class="paramname"><em>mouse_pos</em></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Update the internal state of the widget with the mouse at the given position. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mouse_pos</td><td>Point object describing, in screen pixel co-ordinates, the location of the mouse cursor.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing </dd></dl>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Sun Jan 22 2012 16:07:41 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>