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
|
<!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::LayoutContainer 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_1LayoutContainer.html">LayoutContainer</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-types">Protected Types</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="#pro-attribs">Protected Attributes</a> </div>
<div class="headertitle">
<div class="title">CEGUI::LayoutContainer Class Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="CEGUI::LayoutContainer" --><!-- doxytag: inherits="CEGUI::Window" -->
<p>An abstract base class providing common functionality and specifying the required interface for derived classes.
<a href="classCEGUI_1_1LayoutContainer.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::LayoutContainer:</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_1LayoutContainer__inherit__graph.gif" border="0" usemap="#CEGUI_1_1LayoutContainer_inherit__map" alt="Inheritance graph"/></div>
<map name="CEGUI_1_1LayoutContainer_inherit__map" id="CEGUI_1_1LayoutContainer_inherit__map">
<area shape="rect" id="node5" href="classCEGUI_1_1GridLayoutContainer.html" title="A Layout Container window layouting it's children into a grid." alt="" coords="5,160,197,189"/><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="41,5,161,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::LayoutContainer:</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_1LayoutContainer__coll__graph.gif" border="0" usemap="#CEGUI_1_1LayoutContainer_coll__map" alt="Collaboration graph"/></div>
<map name="CEGUI_1_1LayoutContainer_coll__map" id="CEGUI_1_1LayoutContainer_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="29,285,149,315"/><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_1String.html" title="String class used within the GUI system." alt="" coords="221,5,328,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classCEGUI_1_1LayoutContainer-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1LayoutContainer.html#a92467ba461786086c84b185a26f3ccb5">LayoutContainer</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_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a> base class. <a href="#a92467ba461786086c84b185a26f3ccb5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac97ce0df178a574c5388fbd1c1971d65"></a><!-- doxytag: member="CEGUI::LayoutContainer::~LayoutContainer" ref="ac97ce0df178a574c5388fbd1c1971d65" args="(void)" -->
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1LayoutContainer.html#ac97ce0df178a574c5388fbd1c1971d65">~LayoutContainer</a> (void)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor for <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> base class. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c1cb2a87a286ebf5420b10523b2b52a"></a><!-- doxytag: member="CEGUI::LayoutContainer::markNeedsLayouting" ref="a7c1cb2a87a286ebf5420b10523b2b52a" args="()" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1LayoutContainer.html#a7c1cb2a87a286ebf5420b10523b2b52a">markNeedsLayouting</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">marks this layout container for relayouting before drawing <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aff2ce40bd9a2f1d38867c76e903bb5c8"></a><!-- doxytag: member="CEGUI::LayoutContainer::needsLayouting" ref="aff2ce40bd9a2f1d38867c76e903bb5c8" args="() const " -->
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1LayoutContainer.html#aff2ce40bd9a2f1d38867c76e903bb5c8">needsLayouting</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">returns true if this layout container will be relayouted before drawing <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a71f500235a745c5cc9c16c324efd67a7"></a><!-- doxytag: member="CEGUI::LayoutContainer::layout" ref="a71f500235a745c5cc9c16c324efd67a7" args="()=0" -->
virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1LayoutContainer.html#a71f500235a745c5cc9c16c324efd67a7">layout</a> ()=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">(re)layouts all windows inside this layout container immediately <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac20bc108b1476530b0e7c676c393feed"></a><!-- doxytag: member="CEGUI::LayoutContainer::layoutIfNecessary" ref="ac20bc108b1476530b0e7c676c393feed" args="()" -->
virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1LayoutContainer.html#ac20bc108b1476530b0e7c676c393feed">layoutIfNecessary</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">(re)layouts all windows inside this layout container if it was marked necessary <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classCEGUI_1_1Rect.html">Rect</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1LayoutContainer.html#abefd8192a7f157804e1d7b9c2bace747">getUnclippedInnerRect_impl</a> (void) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1LayoutContainer.html#a5875897da34b0548f4266b0c0fb5cbd2">update</a> (float elapsed)</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="ae0299f79f4ea92824983e7ccf57001db"></a><!-- doxytag: member="CEGUI::LayoutContainer::EventNamespace" ref="ae0299f79f4ea92824983e7ccf57001db" 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_1LayoutContainer.html#ae0299f79f4ea92824983e7ccf57001db">EventNamespace</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Namespace for global events. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-types"></a>
Protected Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5864a6b7b5c676fb663ca23455589fd9"></a><!-- doxytag: member="CEGUI::LayoutContainer::ConnectionTracker" ref="a5864a6b7b5c676fb663ca23455589fd9" args="" -->
typedef std::multimap< <a class="el" href="classCEGUI_1_1Window.html">Window</a> <br class="typebreak"/>
*, <a class="el" href="classCEGUI_1_1RefCounted.html">Event::Connection</a> > </td><td class="memItemRight" valign="bottom"><b>ConnectionTracker</b></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 <a class="el" href="classCEGUI_1_1Rect.html">Rect</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1LayoutContainer.html#a2a2151d5579c1e62e6f6a2ade681ea4d">getClientChildWindowContentArea_impl</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1LayoutContainer.html#aa6f16da34474774f8241121fd3f384e6">testClassName_impl</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &class_name) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a20ea36dd056065422def4549d126dcea"></a><!-- doxytag: member="CEGUI::LayoutContainer::getIdxOfChildWindow" ref="a20ea36dd056065422def4549d126dcea" args="(Window *wnd) const " -->
size_t </td><td class="memItemRight" valign="bottom"><b>getIdxOfChildWindow</b> (<a class="el" href="classCEGUI_1_1Window.html">Window</a> *wnd) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1LayoutContainer.html#aac4fbcb05e6c18427b611a3c120502b5">addChild_impl</a> (<a class="el" href="classCEGUI_1_1Window.html">Window</a> *wnd)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1LayoutContainer.html#a573c5264d3a79c422f9780fc941b50cc">removeChild_impl</a> (<a class="el" href="classCEGUI_1_1Window.html">Window</a> *wnd)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1LayoutContainer.html#aa94f58dc5a747afac330c52fa394dfd2">handleChildSized</a> (const <a class="el" href="classCEGUI_1_1EventArgs.html">EventArgs</a> &e)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Handler called when child window gets sized. <a href="#aa94f58dc5a747afac330c52fa394dfd2"></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_1LayoutContainer.html#a952c7220bd5d2270acb686332cfbc97c">handleChildMarginChanged</a> (const <a class="el" href="classCEGUI_1_1EventArgs.html">EventArgs</a> &e)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Handler called when child window changes margin(s) <a href="#a952c7220bd5d2270acb686332cfbc97c"></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_1LayoutContainer.html#afdf067fdbe0f84e3686fd582092afcfe">handleChildAdded</a> (const <a class="el" href="classCEGUI_1_1EventArgs.html">EventArgs</a> &e)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Handler called when child window gets added. <a href="#afdf067fdbe0f84e3686fd582092afcfe"></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_1LayoutContainer.html#abc3c7c3c82d894f56f8db64cd0dab0dc">handleChildRemoved</a> (const <a class="el" href="classCEGUI_1_1EventArgs.html">EventArgs</a> &e)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Handler called when child window gets removed. <a href="#abc3c7c3c82d894f56f8db64cd0dab0dc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac8593ccc037dbc258f8bc9b731ca29cd"></a><!-- doxytag: member="CEGUI::LayoutContainer::getOffsetForWindow" ref="ac8593ccc037dbc258f8bc9b731ca29cd" args="(Window *window) const " -->
virtual <a class="el" href="classCEGUI_1_1UVector2.html">UVector2</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1LayoutContainer.html#ac8593ccc037dbc258f8bc9b731ca29cd">getOffsetForWindow</a> (<a class="el" href="classCEGUI_1_1Window.html">Window</a> *window) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">returns margin offset for given window <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a47095029bca19d1ab47436aa1fbc5b18"></a><!-- doxytag: member="CEGUI::LayoutContainer::getBoundingSizeForWindow" ref="a47095029bca19d1ab47436aa1fbc5b18" args="(Window *window) const " -->
virtual <a class="el" href="classCEGUI_1_1UVector2.html">UVector2</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1LayoutContainer.html#a47095029bca19d1ab47436aa1fbc5b18">getBoundingSizeForWindow</a> (<a class="el" href="classCEGUI_1_1Window.html">Window</a> *window) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">returns bounding size for window, including margins <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="adb4ee825c15c821749a6c13da1ae1d6a"></a><!-- doxytag: member="CEGUI::LayoutContainer::d_needsLayouting" ref="adb4ee825c15c821749a6c13da1ae1d6a" args="" -->
bool </td><td class="memItemRight" valign="bottom"><b>d_needsLayouting</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a6917680775eeec86100ed7f09d69d1"></a><!-- doxytag: member="CEGUI::LayoutContainer::d_eventConnections" ref="a4a6917680775eeec86100ed7f09d69d1" args="" -->
ConnectionTracker </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1LayoutContainer.html#a4a6917680775eeec86100ed7f09d69d1">d_eventConnections</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Tracks event connections we make. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>An abstract base class providing common functionality and specifying the required interface for derived classes. </p>
<p>Layout Container provide means for automatic positioning based on sizes of it's child Windows. This is usefull for dynamic UIs. </p>
</div><hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a92467ba461786086c84b185a26f3ccb5"></a><!-- doxytag: member="CEGUI::LayoutContainer::LayoutContainer" ref="a92467ba461786086c84b185a26f3ccb5" args="(const String &type, const String &name)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CEGUI::LayoutContainer::LayoutContainer </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>name</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Constructor for <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> base class. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">type</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> object holding <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> type (usually provided by <a class="el" href="classCEGUI_1_1WindowFactory.html" title="Abstract class that defines the required interface for all WindowFactory objects.">WindowFactory</a>).</td></tr>
<tr><td class="paramname">name</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> object holding unique name for the <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>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aac4fbcb05e6c18427b611a3c120502b5"></a><!-- doxytag: member="CEGUI::LayoutContainer::addChild_impl" ref="aac4fbcb05e6c18427b611a3c120502b5" args="(Window *wnd)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void CEGUI::LayoutContainer::addChild_impl </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classCEGUI_1_1Window.html">Window</a> * </td>
<td class="paramname"><em>wnd</em></td><td>)</td>
<td><code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Add given window to child list at an appropriate position. </p>
<p>Reimplemented from <a class="el" href="classCEGUI_1_1Window.html#a2b431a3353a4d95d8d4d1bb4ee93a2ab">CEGUI::Window</a>.</p>
<p>Reimplemented in <a class="el" href="classCEGUI_1_1GridLayoutContainer.html#a73e1316068c448ce14bd6f2c96e1d2d4">CEGUI::GridLayoutContainer</a>.</p>
</div>
</div>
<a class="anchor" id="a2a2151d5579c1e62e6f6a2ade681ea4d"></a><!-- doxytag: member="CEGUI::LayoutContainer::getClientChildWindowContentArea_impl" ref="a2a2151d5579c1e62e6f6a2ade681ea4d" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classCEGUI_1_1Rect.html">Rect</a> CEGUI::LayoutContainer::getClientChildWindowContentArea_impl </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Default implementation of function to return client content area. </p>
<p>Reimplemented from <a class="el" href="classCEGUI_1_1Window.html#a252ad10ab9308ffe1ee63d24f986bb6f">CEGUI::Window</a>.</p>
</div>
</div>
<a class="anchor" id="abefd8192a7f157804e1d7b9c2bace747"></a><!-- doxytag: member="CEGUI::LayoutContainer::getUnclippedInnerRect_impl" ref="abefd8192a7f157804e1d7b9c2bace747" args="(void) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classCEGUI_1_1Rect.html">Rect</a> CEGUI::LayoutContainer::getUnclippedInnerRect_impl </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Return a <a class="el" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a> object that describes, unclipped, the inner rectangle for this window. The inner rectangle is typically an area that excludes some frame or other rendering that should not be touched by subsequent rendering. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a> object that describes, in unclipped screen pixel co-ordinates, the window object's inner rect area.</dd></dl>
<dl class="note"><dt><b>Note:</b></dt><dd>This function is going to change from public visibility to pretected. All code accessing the area rects via external code should be using the regular getUnclippedInnerRect function. </dd></dl>
<p>Reimplemented from <a class="el" href="classCEGUI_1_1Window.html#a8972787b088f97a76e00ca0113f3a7c9">CEGUI::Window</a>.</p>
</div>
</div>
<a class="anchor" id="afdf067fdbe0f84e3686fd582092afcfe"></a><!-- doxytag: member="CEGUI::LayoutContainer::handleChildAdded" ref="afdf067fdbe0f84e3686fd582092afcfe" args="(const EventArgs &e)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool CEGUI::LayoutContainer::handleChildAdded </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1EventArgs.html">EventArgs</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 child window gets added. </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 the one that was added. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a952c7220bd5d2270acb686332cfbc97c"></a><!-- doxytag: member="CEGUI::LayoutContainer::handleChildMarginChanged" ref="a952c7220bd5d2270acb686332cfbc97c" args="(const EventArgs &e)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool CEGUI::LayoutContainer::handleChildMarginChanged </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1EventArgs.html">EventArgs</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 child window changes margin(s) </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 the one that has had it's margin(s) changed. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="abc3c7c3c82d894f56f8db64cd0dab0dc"></a><!-- doxytag: member="CEGUI::LayoutContainer::handleChildRemoved" ref="abc3c7c3c82d894f56f8db64cd0dab0dc" args="(const EventArgs &e)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool CEGUI::LayoutContainer::handleChildRemoved </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1EventArgs.html">EventArgs</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 child window gets removed. </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 the one that was removed. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aa94f58dc5a747afac330c52fa394dfd2"></a><!-- doxytag: member="CEGUI::LayoutContainer::handleChildSized" ref="aa94f58dc5a747afac330c52fa394dfd2" args="(const EventArgs &e)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool CEGUI::LayoutContainer::handleChildSized </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1EventArgs.html">EventArgs</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 child window gets sized. </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 the one that was sized. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a573c5264d3a79c422f9780fc941b50cc"></a><!-- doxytag: member="CEGUI::LayoutContainer::removeChild_impl" ref="a573c5264d3a79c422f9780fc941b50cc" args="(Window *wnd)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void CEGUI::LayoutContainer::removeChild_impl </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classCEGUI_1_1Window.html">Window</a> * </td>
<td class="paramname"><em>wnd</em></td><td>)</td>
<td><code> [protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Remove given window from child list. </p>
<p>Reimplemented from <a class="el" href="classCEGUI_1_1Window.html#ac51f806e38a318f2f92a7fa6f0c47f43">CEGUI::Window</a>.</p>
<p>Reimplemented in <a class="el" href="classCEGUI_1_1GridLayoutContainer.html#a96b3ba18ac3914fd64de750c56897037">CEGUI::GridLayoutContainer</a>.</p>
</div>
</div>
<a class="anchor" id="aa6f16da34474774f8241121fd3f384e6"></a><!-- doxytag: member="CEGUI::LayoutContainer::testClassName_impl" ref="aa6f16da34474774f8241121fd3f384e6" args="(const String &class_name) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool CEGUI::LayoutContainer::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_1Window.html#a2b58cf00b4790c9cb08acfc18d5d3b0b">CEGUI::Window</a>.</p>
<p>Reimplemented in <a class="el" href="classCEGUI_1_1GridLayoutContainer.html#ac09d29e8c413609937d12ffe82dfc988">CEGUI::GridLayoutContainer</a>, <a class="el" href="classCEGUI_1_1HorizontalLayoutContainer.html#a1fbeb811858a44d10b3ba42db58ebdde">CEGUI::HorizontalLayoutContainer</a>, <a class="el" href="classCEGUI_1_1SequentialLayoutContainer.html#ad9c79dc84bb852bf64a2ac56755d8edf">CEGUI::SequentialLayoutContainer</a>, and <a class="el" href="classCEGUI_1_1VerticalLayoutContainer.html#a655e4a22b374ff54bf1a1b0d7c2f3a7b">CEGUI::VerticalLayoutContainer</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_1VerticalLayoutContainer.html#a655e4a22b374ff54bf1a1b0d7c2f3a7b">CEGUI::VerticalLayoutContainer::testClassName_impl()</a>, <a class="el" href="classCEGUI_1_1SequentialLayoutContainer.html#ad9c79dc84bb852bf64a2ac56755d8edf">CEGUI::SequentialLayoutContainer::testClassName_impl()</a>, <a class="el" href="classCEGUI_1_1HorizontalLayoutContainer.html#a1fbeb811858a44d10b3ba42db58ebdde">CEGUI::HorizontalLayoutContainer::testClassName_impl()</a>, and <a class="el" href="classCEGUI_1_1GridLayoutContainer.html#ac09d29e8c413609937d12ffe82dfc988">CEGUI::GridLayoutContainer::testClassName_impl()</a>.</p>
</div>
</div>
<a class="anchor" id="a5875897da34b0548f4266b0c0fb5cbd2"></a><!-- doxytag: member="CEGUI::LayoutContainer::update" ref="a5875897da34b0548f4266b0c0fb5cbd2" args="(float elapsed)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void CEGUI::LayoutContainer::update </td>
<td>(</td>
<td class="paramtype">float </td>
<td class="paramname"><em>elapsed</em></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Cause window to update itself and any attached children. Client code does not need to call this method; to ensure full, and proper updates, call the injectTimePulse methodname method provided by the <a class="el" href="classCEGUI_1_1System.html" title="The System class is the CEGUI class that provides access to all other elements in this system...">System</a> class. </p>
<dl class="note"><dt><b>Note:</b></dt><dd>The update order is such that 'this' window is updated prior to any child windows, this is so that child windows that access the parent in their update code get the correct updated state.</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">elapsed</td><td>float value indicating the number of seconds passed since the last update.</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#a0619b8ab683d544320cafbf453ffc341">CEGUI::Window</a>.</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>
|