1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718
|
<!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::MenuItem 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 <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 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 List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class 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_1MenuItem.html">MenuItem</a> </li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-attribs">Static Public Attributes</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="#pro-attribs">Protected Attributes</a> </div>
<div class="headertitle">
<div class="title">CEGUI::MenuItem Class Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="CEGUI::MenuItem" --><!-- doxytag: inherits="CEGUI::ItemEntry" -->
<p>Base class for menu items.
<a href="classCEGUI_1_1MenuItem.html#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png"/> Inheritance diagram for CEGUI::MenuItem:</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_1MenuItem__inherit__graph.gif" border="0" usemap="#CEGUI_1_1MenuItem_inherit__map" alt="Inheritance graph"/></div>
<map name="CEGUI_1_1MenuItem_inherit__map" id="CEGUI_1_1MenuItem_inherit__map">
<area shape="rect" id="node2" href="classCEGUI_1_1ItemEntry.html" title="Base class for item type widgets." alt="" coords="5,83,136,112"/><area shape="rect" id="node4" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv..." alt="" coords="11,5,131,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-1-trigger" src="closed.png"/> Collaboration diagram for CEGUI::MenuItem:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classCEGUI_1_1MenuItem__coll__graph.gif" border="0" usemap="#CEGUI_1_1MenuItem_coll__map" alt="Collaboration graph"/></div>
<map name="CEGUI_1_1MenuItem_coll__map" id="CEGUI_1_1MenuItem_coll__map">
<area shape="rect" id="node2" href="classCEGUI_1_1ItemEntry.html" title="Base class for item type widgets." alt="" coords="5,5,136,35"/><area shape="rect" id="node4" href="classCEGUI_1_1PopupMenu.html" title="Base class for popup menus." alt="" coords="160,5,301,35"/><area shape="rect" id="node6" href="classCEGUI_1_1MenuItemProperties_1_1PopupOffset.html" title="Property to specify an offset for the popup menu position." alt="" coords="325,5,595,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classCEGUI_1_1MenuItem-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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a3cc91699377bbbc779ec56d3b62e555a">isHovering</a> (void) const </td></tr>
<tr><td class="mdescLeft"> </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="#a3cc91699377bbbc779ec56d3b62e555a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a35418613c8b926a4fd7b4b3fb6bedd4a">isPushed</a> (void) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return true if the button widget is in the pushed state. <a href="#a35418613c8b926a4fd7b4b3fb6bedd4a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6d389e4584006fe37c4116cf2ce6677d"></a><!-- doxytag: member="CEGUI::MenuItem::isOpened" ref="a6d389e4584006fe37c4116cf2ce6677d" args="(void) const " -->
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a6d389e4584006fe37c4116cf2ce6677d">isOpened</a> (void) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the popup menu attached to the menu item is open. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7307d6e8bd8ea23d9f5c383bb5819c9c"></a><!-- doxytag: member="CEGUI::MenuItem::isPopupClosing" ref="a7307d6e8bd8ea23d9f5c383bb5819c9c" args="(void) const " -->
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a7307d6e8bd8ea23d9f5c383bb5819c9c">isPopupClosing</a> (void) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the menu item popup is closing or not. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae03dea46020e3eba46dad4faa9f0894d"></a><!-- doxytag: member="CEGUI::MenuItem::hasAutoPopup" ref="ae03dea46020e3eba46dad4faa9f0894d" args="(void) const " -->
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#ae03dea46020e3eba46dad4faa9f0894d">hasAutoPopup</a> (void) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the menu item popup is closed or opened automatically if hovering with the mouse. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a02276733b2b5499b2ccb26c0770df237"></a><!-- doxytag: member="CEGUI::MenuItem::getAutoPopupTimeout" ref="a02276733b2b5499b2ccb26c0770df237" args="(void) const " -->
float </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a02276733b2b5499b2ccb26c0770df237">getAutoPopupTimeout</a> (void) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the time, which has to elapse before the popup window is opened/closed if the hovering state changes. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab0f164bd7390c7f70758d8d7b1e12f9b"></a><!-- doxytag: member="CEGUI::MenuItem::setAutoPopupTimeout" ref="ab0f164bd7390c7f70758d8d7b1e12f9b" args="(float time)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#ab0f164bd7390c7f70758d8d7b1e12f9b">setAutoPopupTimeout</a> (float time)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the time, which has to elapse before the popup window is opened/closed if the hovering state changes. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCEGUI_1_1PopupMenu.html">PopupMenu</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a023a7bb89459520d3e05e1fb7188989d">getPopupMenu</a> (void) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the <a class="el" href="classCEGUI_1_1PopupMenu.html" title="Base class for popup menus.">PopupMenu</a> that is currently attached to this <a class="el" href="classCEGUI_1_1MenuItem.html" title="Base class for menu items.">MenuItem</a>. <a href="#a023a7bb89459520d3e05e1fb7188989d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe870a1488774bfbe0b83191e02c33ca"></a><!-- doxytag: member="CEGUI::MenuItem::getPopupOffset" ref="abe870a1488774bfbe0b83191e02c33ca" args="(void) const " -->
const <a class="el" href="classCEGUI_1_1UVector2.html">UVector2</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#abe870a1488774bfbe0b83191e02c33ca">getPopupOffset</a> (void) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the current offset for popup placement. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2eeb02ed69bbdd35d1d0a138def0ecb9"></a><!-- doxytag: member="CEGUI::MenuItem::setPopupOffset" ref="a2eeb02ed69bbdd35d1d0a138def0ecb9" args="(const UVector2 &popupOffset)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a2eeb02ed69bbdd35d1d0a138def0ecb9">setPopupOffset</a> (const <a class="el" href="classCEGUI_1_1UVector2.html">UVector2</a> &popupOffset)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">sets the current offset for popup placement. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a42277e234d671d9d1621d91a40a30689">setPopupMenu</a> (<a class="el" href="classCEGUI_1_1PopupMenu.html">PopupMenu</a> *popup)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the popup menu for this item. <a href="#a42277e234d671d9d1621d91a40a30689"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a2699ac4d4c9e322e0fd8c76aa443c420">openPopupMenu</a> (bool notify=true)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Opens the <a class="el" href="classCEGUI_1_1PopupMenu.html" title="Base class for popup menus.">PopupMenu</a>. <a href="#a2699ac4d4c9e322e0fd8c76aa443c420"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a3b16e4d3aba45fd542a6a340984b1d63">closePopupMenu</a> (bool notify=true)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Closes the <a class="el" href="classCEGUI_1_1PopupMenu.html" title="Base class for popup menus.">PopupMenu</a>. <a href="#a3b16e4d3aba45fd542a6a340984b1d63"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a421600011d8fec5c2cebb870974d1d18">togglePopupMenu</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Toggles the <a class="el" href="classCEGUI_1_1PopupMenu.html" title="Base class for popup menus.">PopupMenu</a>. <a href="#a421600011d8fec5c2cebb870974d1d18"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab1813b7a820c71ee30459f8ef1bbd77d"></a><!-- doxytag: member="CEGUI::MenuItem::startPopupClosing" ref="ab1813b7a820c71ee30459f8ef1bbd77d" args="(void)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#ab1813b7a820c71ee30459f8ef1bbd77d">startPopupClosing</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">starts the closing timer for the popup, which will close it if the timer is enabled. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a57838be379a09a9e6914fb49a76aeb3f"></a><!-- doxytag: member="CEGUI::MenuItem::startPopupOpening" ref="a57838be379a09a9e6914fb49a76aeb3f" args="(void)" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a57838be379a09a9e6914fb49a76aeb3f">startPopupOpening</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">starts the opening timer for the popup, which will open it if the timer is enabled. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7494f2bed1cc99759908c3c39b6ded06"></a><!-- doxytag: member="CEGUI::MenuItem::MenuItem" ref="a7494f2bed1cc99759908c3c39b6ded06" args="(const String &type, const String &name)" -->
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a7494f2bed1cc99759908c3c39b6ded06">MenuItem</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &type, const <a class="el" href="classCEGUI_1_1String.html">String</a> &name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor for <a class="el" href="classCEGUI_1_1MenuItem.html" title="Base class for menu items.">MenuItem</a> objects. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0c524282cf9b8b8425f39c832a7ac6ef"></a><!-- doxytag: member="CEGUI::MenuItem::~MenuItem" ref="a0c524282cf9b8b8425f39c832a7ac6ef" args="(void)" -->
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a0c524282cf9b8b8425f39c832a7ac6ef">~MenuItem</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor for <a class="el" href="classCEGUI_1_1MenuItem.html" title="Base class for menu items.">MenuItem</a> objects. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22376d7a256528bc6273044fc95b7cba"></a><!-- doxytag: member="CEGUI::MenuItem::EventNamespace" ref="a22376d7a256528bc6273044fc95b7cba" args="" -->
static const <a class="el" href="classCEGUI_1_1String.html">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a22376d7a256528bc6273044fc95b7cba">EventNamespace</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Namespace for global events. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a23b29ccbed8e170bb9cf463a5346d2eb"></a><!-- doxytag: member="CEGUI::MenuItem::WidgetTypeName" ref="a23b29ccbed8e170bb9cf463a5346d2eb" args="" -->
static const <a class="el" href="classCEGUI_1_1String.html">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a23b29ccbed8e170bb9cf463a5346d2eb">WidgetTypeName</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> factory name. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classCEGUI_1_1String.html">String</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a0171b192982edb965d3d423b53aa4418">EventClicked</a></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"><a class="anchor" id="a7ecffbb0f6057b09956a24faccd67c4d"></a><!-- doxytag: member="CEGUI::MenuItem::onClicked" ref="a7ecffbb0f6057b09956a24faccd67c4d" args="(WindowEventArgs &e)" -->
virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a7ecffbb0f6057b09956a24faccd67c4d">onClicked</a> (<a class="el" href="classCEGUI_1_1WindowEventArgs.html">WindowEventArgs</a> &e)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">handler invoked internally when the <a class="el" href="classCEGUI_1_1MenuItem.html" title="Base class for menu items.">MenuItem</a> is clicked. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#aad53f1445e297267f79e90bfbefedf0a">onMouseMove</a> (<a class="el" href="classCEGUI_1_1MouseEventArgs.html">MouseEventArgs</a> &e)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Handler called when the mouse cursor has been moved within this window's area. <a href="#aad53f1445e297267f79e90bfbefedf0a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#aa8137fa6717e90b0636d03501f3921b8">onMouseButtonDown</a> (<a class="el" href="classCEGUI_1_1MouseEventArgs.html">MouseEventArgs</a> &e)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Handler called when a mouse button has been depressed within this window's area. <a href="#aa8137fa6717e90b0636d03501f3921b8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a4c08feb3fe1e227741e36e67766e3916">onMouseButtonUp</a> (<a class="el" href="classCEGUI_1_1MouseEventArgs.html">MouseEventArgs</a> &e)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Handler called when a mouse button has been released within this window's area. <a href="#a4c08feb3fe1e227741e36e67766e3916"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a2473085cad6f2072ee460282cd6e3b10">onCaptureLost</a> (<a class="el" href="classCEGUI_1_1WindowEventArgs.html">WindowEventArgs</a> &e)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Handler called when this window loses capture of mouse inputs. <a href="#a2473085cad6f2072ee460282cd6e3b10"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#acfb943deb8ab33c5af81b62307df5424">onMouseLeaves</a> (<a class="el" href="classCEGUI_1_1MouseEventArgs.html">MouseEventArgs</a> &e)</td></tr>
<tr><td class="mdescLeft"> </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="#acfb943deb8ab33c5af81b62307df5424"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a81a1ffbfa5d08b65604762f00c219b6c">onTextChanged</a> (<a class="el" href="classCEGUI_1_1WindowEventArgs.html">WindowEventArgs</a> &e)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Handler called when the window's text is changed. <a href="#a81a1ffbfa5d08b65604762f00c219b6c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a5ff2a1b5c70449eb79377bfee548fc48">updateSelf</a> (float elapsed)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform actual update processing for this <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>. <a href="#a5ff2a1b5c70449eb79377bfee548fc48"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a301555798af672c307937399045f4648">updateInternalState</a> (const <a class="el" href="classCEGUI_1_1Vector2.html">Point</a> &mouse_pos)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Update the internal state of the widget with the mouse at the given position. <a href="#a301555798af672c307937399045f4648"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a54e42345f03d61453310b6155506f82e">closeAllMenuItemPopups</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Recursive function that closes all popups down the hierarcy starting with this one. <a href="#a54e42345f03d61453310b6155506f82e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a7137ae713c056a28b09120f719d0db03">setPopupMenu_impl</a> (<a class="el" href="classCEGUI_1_1PopupMenu.html">PopupMenu</a> *popup, bool add_as_child=true)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the popup menu for this item. <a href="#a7137ae713c056a28b09120f719d0db03"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a1390ec335e4b11115b346da3482e72bd">testClassName_impl</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &class_name) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return whether this window was inherited from the given class name at some point in the inheritance hierarchy. <a href="#a1390ec335e4b11115b346da3482e72bd"></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="a77fd633b03c9d38c9aebf71a941b2007"></a><!-- doxytag: member="CEGUI::MenuItem::d_pushed" ref="a77fd633b03c9d38c9aebf71a941b2007" args="" -->
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a77fd633b03c9d38c9aebf71a941b2007">d_pushed</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">true when widget is pushed <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aec6f01f8ad0b5353accfab4df02dcf47"></a><!-- doxytag: member="CEGUI::MenuItem::d_hovering" ref="aec6f01f8ad0b5353accfab4df02dcf47" args="" -->
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#aec6f01f8ad0b5353accfab4df02dcf47">d_hovering</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">true when the button is in 'hover' state and requires the hover rendering. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a74643fbd94985b869103f920ffac8ce8"></a><!-- doxytag: member="CEGUI::MenuItem::d_opened" ref="a74643fbd94985b869103f920ffac8ce8" args="" -->
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a74643fbd94985b869103f920ffac8ce8">d_opened</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">true when the menu item's popup menu is in its opened state. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a76c058c4ceaddcc997edc86a55737d47"></a><!-- doxytag: member="CEGUI::MenuItem::d_popupClosing" ref="a76c058c4ceaddcc997edc86a55737d47" args="" -->
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a76c058c4ceaddcc997edc86a55737d47">d_popupClosing</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">true when the d_popupTimerTimeElapsed timer is running to close the popup (another menu item of our container is hovered) <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3473146002bb5ebf211525fcaa8bd4ed"></a><!-- doxytag: member="CEGUI::MenuItem::d_popupOpening" ref="a3473146002bb5ebf211525fcaa8bd4ed" args="" -->
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a3473146002bb5ebf211525fcaa8bd4ed">d_popupOpening</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">true when the d_popupTimerTimeElapsed timer is running to open the popup (the menu item is hovered) <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a796b896324fb449e0325a0ad17e3d7c6"></a><!-- doxytag: member="CEGUI::MenuItem::d_autoPopupTimeout" ref="a796b896324fb449e0325a0ad17e3d7c6" args="" -->
float </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a796b896324fb449e0325a0ad17e3d7c6">d_autoPopupTimeout</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">the time in seconds, to wait before opening / closing the popup if the mouse is over the item / over another item in our container <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac5c7e7cc7dc5519641528545ba3baf8f"></a><!-- doxytag: member="CEGUI::MenuItem::d_autoPopupTimeElapsed" ref="ac5c7e7cc7dc5519641528545ba3baf8f" args="" -->
float </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#ac5c7e7cc7dc5519641528545ba3baf8f">d_autoPopupTimeElapsed</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">the current time, which is already elapsed if the timer is running (d_popupClosing or d_popupOpening is true) <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a750025b865f3577ad2d162e619ef81c4"></a><!-- doxytag: member="CEGUI::MenuItem::d_popup" ref="a750025b865f3577ad2d162e619ef81c4" args="" -->
<a class="el" href="classCEGUI_1_1PopupMenu.html">PopupMenu</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a750025b865f3577ad2d162e619ef81c4">d_popup</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classCEGUI_1_1PopupMenu.html" title="Base class for popup menus.">PopupMenu</a> that this item displays when activated. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7abc2cefb9530c67ea10c9cd8a579d2d"></a><!-- doxytag: member="CEGUI::MenuItem::d_popupWasClosed" ref="a7abc2cefb9530c67ea10c9cd8a579d2d" args="" -->
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a7abc2cefb9530c67ea10c9cd8a579d2d">d_popupWasClosed</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Used internally to determine if a popup was just closed on a Clicked event. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a175b99297512a8961f19289a3f57046c"></a><!-- doxytag: member="CEGUI::MenuItem::d_popupOffset" ref="a175b99297512a8961f19289a3f57046c" args="" -->
<a class="el" href="classCEGUI_1_1UVector2.html">UVector2</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1MenuItem.html#a175b99297512a8961f19289a3f57046c">d_popupOffset</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">current offset for popup placement. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Base class for menu items. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a54e42345f03d61453310b6155506f82e"></a><!-- doxytag: member="CEGUI::MenuItem::closeAllMenuItemPopups" ref="a54e42345f03d61453310b6155506f82e" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::MenuItem::closeAllMenuItemPopups </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Recursive function that closes all popups down the hierarcy starting with this one. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing. </dd></dl>
</div>
</div>
<a class="anchor" id="a3b16e4d3aba45fd542a6a340984b1d63"></a><!-- doxytag: member="CEGUI::MenuItem::closePopupMenu" ref="a3b16e4d3aba45fd542a6a340984b1d63" args="(bool notify=true)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::MenuItem::closePopupMenu </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>notify</em> = <code>true</code></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Closes the <a class="el" href="classCEGUI_1_1PopupMenu.html" title="Base class for popup menus.">PopupMenu</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">notify</td><td>true if the parent menubar (if any) is to handle the close.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing. </dd></dl>
</div>
</div>
<a class="anchor" id="a023a7bb89459520d3e05e1fb7188989d"></a><!-- doxytag: member="CEGUI::MenuItem::getPopupMenu" ref="a023a7bb89459520d3e05e1fb7188989d" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classCEGUI_1_1PopupMenu.html">PopupMenu</a>* CEGUI::MenuItem::getPopupMenu </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get the <a class="el" href="classCEGUI_1_1PopupMenu.html" title="Base class for popup menus.">PopupMenu</a> that is currently attached to this <a class="el" href="classCEGUI_1_1MenuItem.html" title="Base class for menu items.">MenuItem</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the currently attached <a class="el" href="classCEGUI_1_1PopupMenu.html" title="Base class for popup menus.">PopupMenu</a>. Null is there is no <a class="el" href="classCEGUI_1_1PopupMenu.html" title="Base class for popup menus.">PopupMenu</a> attached. </dd></dl>
</div>
</div>
<a class="anchor" id="a3cc91699377bbbc779ec56d3b62e555a"></a><!-- doxytag: member="CEGUI::MenuItem::isHovering" ref="a3cc91699377bbbc779ec56d3b62e555a" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool CEGUI::MenuItem::isHovering </td>
<td>(</td>
<td class="paramtype">void </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="a35418613c8b926a4fd7b4b3fb6bedd4a"></a><!-- doxytag: member="CEGUI::MenuItem::isPushed" ref="a35418613c8b926a4fd7b4b3fb6bedd4a" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool CEGUI::MenuItem::isPushed </td>
<td>(</td>
<td class="paramtype">void </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="a2473085cad6f2072ee460282cd6e3b10"></a><!-- doxytag: member="CEGUI::MenuItem::onCaptureLost" ref="a2473085cad6f2072ee460282cd6e3b10" args="(WindowEventArgs &e)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void CEGUI::MenuItem::onCaptureLost </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classCEGUI_1_1WindowEventArgs.html">WindowEventArgs</a> & </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>
</div>
</div>
<a class="anchor" id="aa8137fa6717e90b0636d03501f3921b8"></a><!-- doxytag: member="CEGUI::MenuItem::onMouseButtonDown" ref="aa8137fa6717e90b0636d03501f3921b8" args="(MouseEventArgs &e)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void CEGUI::MenuItem::onMouseButtonDown </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classCEGUI_1_1MouseEventArgs.html">MouseEventArgs</a> & </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>
</div>
</div>
<a class="anchor" id="a4c08feb3fe1e227741e36e67766e3916"></a><!-- doxytag: member="CEGUI::MenuItem::onMouseButtonUp" ref="a4c08feb3fe1e227741e36e67766e3916" args="(MouseEventArgs &e)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void CEGUI::MenuItem::onMouseButtonUp </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classCEGUI_1_1MouseEventArgs.html">MouseEventArgs</a> & </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>
</div>
</div>
<a class="anchor" id="acfb943deb8ab33c5af81b62307df5424"></a><!-- doxytag: member="CEGUI::MenuItem::onMouseLeaves" ref="acfb943deb8ab33c5af81b62307df5424" args="(MouseEventArgs &e)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void CEGUI::MenuItem::onMouseLeaves </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classCEGUI_1_1MouseEventArgs.html">MouseEventArgs</a> & </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'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="aad53f1445e297267f79e90bfbefedf0a"></a><!-- doxytag: member="CEGUI::MenuItem::onMouseMove" ref="aad53f1445e297267f79e90bfbefedf0a" args="(MouseEventArgs &e)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void CEGUI::MenuItem::onMouseMove </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classCEGUI_1_1MouseEventArgs.html">MouseEventArgs</a> & </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>
</div>
</div>
<a class="anchor" id="a81a1ffbfa5d08b65604762f00c219b6c"></a><!-- doxytag: member="CEGUI::MenuItem::onTextChanged" ref="a81a1ffbfa5d08b65604762f00c219b6c" args="(WindowEventArgs &e)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void CEGUI::MenuItem::onTextChanged </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classCEGUI_1_1WindowEventArgs.html">WindowEventArgs</a> & </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 window's text is changed. </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#a0733e77b1194b53838ed868c4cb7187c">CEGUI::Window</a>.</p>
</div>
</div>
<a class="anchor" id="a2699ac4d4c9e322e0fd8c76aa443c420"></a><!-- doxytag: member="CEGUI::MenuItem::openPopupMenu" ref="a2699ac4d4c9e322e0fd8c76aa443c420" args="(bool notify=true)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::MenuItem::openPopupMenu </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>notify</em> = <code>true</code></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Opens the <a class="el" href="classCEGUI_1_1PopupMenu.html" title="Base class for popup menus.">PopupMenu</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">notify</td><td>true if the parent menu bar or menu popup (if any) is to handle the open. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a42277e234d671d9d1621d91a40a30689"></a><!-- doxytag: member="CEGUI::MenuItem::setPopupMenu" ref="a42277e234d671d9d1621d91a40a30689" args="(PopupMenu *popup)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::MenuItem::setPopupMenu </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classCEGUI_1_1PopupMenu.html">PopupMenu</a> * </td>
<td class="paramname"><em>popup</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Set the popup menu for this item. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">popup</td><td>popupmenu window to attach to this item</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing. </dd></dl>
</div>
</div>
<a class="anchor" id="a7137ae713c056a28b09120f719d0db03"></a><!-- doxytag: member="CEGUI::MenuItem::setPopupMenu_impl" ref="a7137ae713c056a28b09120f719d0db03" args="(PopupMenu *popup, bool add_as_child=true)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::MenuItem::setPopupMenu_impl </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classCEGUI_1_1PopupMenu.html">PopupMenu</a> * </td>
<td class="paramname"><em>popup</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>add_as_child</em> = <code>true</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Set the popup menu for this item. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">popup</td><td>popupmenu window to attach to this item</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing. </dd></dl>
</div>
</div>
<a class="anchor" id="a1390ec335e4b11115b346da3482e72bd"></a><!-- doxytag: member="CEGUI::MenuItem::testClassName_impl" ref="a1390ec335e4b11115b346da3482e72bd" args="(const String &class_name) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool CEGUI::MenuItem::testClassName_impl </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </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_1ItemEntry.html#af93fcbbb43c99b50ae9a4fd6417c51b0">CEGUI::ItemEntry</a>.</p>
<p>References <a class="el" href="classCEGUI_1_1ItemEntry.html#af93fcbbb43c99b50ae9a4fd6417c51b0">CEGUI::ItemEntry::testClassName_impl()</a>.</p>
</div>
</div>
<a class="anchor" id="a421600011d8fec5c2cebb870974d1d18"></a><!-- doxytag: member="CEGUI::MenuItem::togglePopupMenu" ref="a421600011d8fec5c2cebb870974d1d18" args="(void)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool CEGUI::MenuItem::togglePopupMenu </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Toggles the <a class="el" href="classCEGUI_1_1PopupMenu.html" title="Base class for popup menus.">PopupMenu</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the popup was opened. false if it was closed. </dd></dl>
</div>
</div>
<a class="anchor" id="a301555798af672c307937399045f4648"></a><!-- doxytag: member="CEGUI::MenuItem::updateInternalState" ref="a301555798af672c307937399045f4648" args="(const Point &mouse_pos)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::MenuItem::updateInternalState </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1Vector2.html">Point</a> & </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>
<a class="anchor" id="a5ff2a1b5c70449eb79377bfee548fc48"></a><!-- doxytag: member="CEGUI::MenuItem::updateSelf" ref="a5ff2a1b5c70449eb79377bfee548fc48" args="(float elapsed)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void CEGUI::MenuItem::updateSelf </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>elapsed</em></td><td>)</td>
<td><code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Perform actual update processing for this <a class="el" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">elapsed</td><td>float value indicating the number of seconds elapsed since the last update call.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing. </dd></dl>
<p>Reimplemented from <a class="el" href="classCEGUI_1_1Window.html#af88acbf0fef0d60267500bd3685c5de5">CEGUI::Window</a>.</p>
</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a0171b192982edb965d3d423b53aa4418"></a><!-- doxytag: member="CEGUI::MenuItem::EventClicked" ref="a0171b192982edb965d3d423b53aa4418" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classCEGUI_1_1String.html">String</a> <a class="el" href="classCEGUI_1_1MenuItem.html#a0171b192982edb965d3d423b53aa4418">CEGUI::MenuItem::EventClicked</a><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="classCEGUI_1_1Event.html" title="Defines an 'event' which can be subscribed to by interested parties.">Event</a> fired when the menu item is clicked. Handlers are passed a const <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> reference with <a class="el" href="classCEGUI_1_1WindowEventArgs.html#a5817b522882b9648d445a20b8c354966" title="pointer to a Window object of relevance to the event.">WindowEventArgs::window</a> set to the <a class="el" href="classCEGUI_1_1MenuItem.html" title="Base class for menu items.">MenuItem</a> that was clicked. </p>
</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 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>
|