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
|
<!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::ImagerySection 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_1ImagerySection.html">ImagerySection</a> </li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pro-methods">Protected Member Functions</a> </div>
<div class="headertitle">
<div class="title">CEGUI::ImagerySection Class Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="CEGUI::ImagerySection" -->
<p>Class that encapsulates a re-usable collection of imagery specifications.
<a href="classCEGUI_1_1ImagerySection.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"/> Collaboration diagram for CEGUI::ImagerySection:</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_1ImagerySection__coll__graph.gif" border="0" usemap="#CEGUI_1_1ImagerySection_coll__map" alt="Collaboration graph"/></div>
<map name="CEGUI_1_1ImagerySection_coll__map" id="CEGUI_1_1ImagerySection_coll__map">
<area shape="rect" id="node2" href="classCEGUI_1_1ColourRect.html" title="Class that holds details of colours for the four corners of a rectangle." alt="" coords="5,152,144,181"/><area shape="rect" id="node4" href="classCEGUI_1_1colour.html" title="Class representing colour values within the system." alt="" coords="21,5,128,35"/><area shape="rect" id="node6" href="classCEGUI_1_1String.html" title="String class used within the GUI system." alt="" coords="168,152,275,181"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classCEGUI_1_1ImagerySection-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"><a class="anchor" id="aa7f803b267d82cb6bb5f1d7ba10f1e6c"></a><!-- doxytag: member="CEGUI::ImagerySection::ImagerySection" ref="aa7f803b267d82cb6bb5f1d7ba10f1e6c" args="()" -->
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ImagerySection.html#aa7f803b267d82cb6bb5f1d7ba10f1e6c">ImagerySection</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ImagerySection.html#af8c98cb56775719d9ef2420255811216">ImagerySection</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a> constructor. Name must be supplied, masterColours are set to 0xFFFFFFFF by default. <a href="#af8c98cb56775719d9ef2420255811216"></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_1ImagerySection.html#ae695968ca752a14b17546ff517949fa3">render</a> (<a class="el" href="classCEGUI_1_1Window.html">Window</a> &srcWindow, const <a class="el" href="classCEGUI_1_1ColourRect.html">CEGUI::ColourRect</a> *modColours=0, const <a class="el" href="classCEGUI_1_1Rect.html">Rect</a> *clipper=0, bool clipToDisplay=false) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Render the <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. <a href="#ae695968ca752a14b17546ff517949fa3"></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_1ImagerySection.html#a2166ede892840fb8f69972397c8190d0">render</a> (<a class="el" href="classCEGUI_1_1Window.html">Window</a> &srcWindow, const <a class="el" href="classCEGUI_1_1Rect.html">Rect</a> &baseRect, const <a class="el" href="classCEGUI_1_1ColourRect.html">CEGUI::ColourRect</a> *modColours=0, const <a class="el" href="classCEGUI_1_1Rect.html">Rect</a> *clipper=0, bool clipToDisplay=false) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Render the <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. <a href="#a2166ede892840fb8f69972397c8190d0"></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_1ImagerySection.html#af2e3c9f537adc997b95ddebce56b006e">addImageryComponent</a> (const <a class="el" href="classCEGUI_1_1ImageryComponent.html">ImageryComponent</a> &img)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add an <a class="el" href="classCEGUI_1_1ImageryComponent.html" title="Class that encapsulates information for a single image component.">ImageryComponent</a> to this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. <a href="#af2e3c9f537adc997b95ddebce56b006e"></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_1ImagerySection.html#abfb37b6814b21ee4ede21543d3c0604c">clearImageryComponents</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Clear all ImageryComponents from this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. <a href="#abfb37b6814b21ee4ede21543d3c0604c"></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_1ImagerySection.html#abe171518e3008c71ea3dc584c3b6443b">addTextComponent</a> (const <a class="el" href="classCEGUI_1_1TextComponent.html">TextComponent</a> &text)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a <a class="el" href="classCEGUI_1_1TextComponent.html" title="Class that encapsulates information for a text component.">TextComponent</a> to this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. <a href="#abe171518e3008c71ea3dc584c3b6443b"></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_1ImagerySection.html#af45240b93c595631e5ae26dbbbf1b330">clearTextComponents</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Clear all TextComponents from this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. <a href="#af45240b93c595631e5ae26dbbbf1b330"></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_1ImagerySection.html#a3a2a3f0575905f34d4d45ed3530adb91">clearFrameComponents</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Clear all FrameComponents from this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. <a href="#a3a2a3f0575905f34d4d45ed3530adb91"></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_1ImagerySection.html#acf01a6af3cb05f42e6003a21a1f2f26b">addFrameComponent</a> (const <a class="el" href="classCEGUI_1_1FrameComponent.html">FrameComponent</a> &frame)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a <a class="el" href="classCEGUI_1_1FrameComponent.html" title="Class that encapsulates information for a frame with background (9 images in total)">FrameComponent</a> to this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. <a href="#acf01a6af3cb05f42e6003a21a1f2f26b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classCEGUI_1_1ColourRect.html">ColourRect</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ImagerySection.html#a61958cb3c7a4097eccc6dc3bd60160ba">getMasterColours</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the current master colours set for this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. <a href="#a61958cb3c7a4097eccc6dc3bd60160ba"></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_1ImagerySection.html#a255d03dd9760057899b1bede9956f7f4">setMasterColours</a> (const <a class="el" href="classCEGUI_1_1ColourRect.html">ColourRect</a> &cols)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the master colours to be used for this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. <a href="#a255d03dd9760057899b1bede9956f7f4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ImagerySection.html#a30d1b8e2c257210206fe8ba537030b8c">getName</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the name of this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. <a href="#a30d1b8e2c257210206fe8ba537030b8c"></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_1ImagerySection.html#a297d27a18cbb5b48b7b632d9fca8cb2b">setMasterColoursPropertySource</a> (const <a class="el" href="classCEGUI_1_1String.html">String</a> &property)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the name of the property where master colour values can be obtained. <a href="#a297d27a18cbb5b48b7b632d9fca8cb2b"></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_1ImagerySection.html#a14cb4182fba6ba1fb617bc7db9dd768b">setMasterColoursPropertyIsColourRect</a> (bool setting=true)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set whether the master colours property source represents a full <a class="el" href="classCEGUI_1_1ColourRect.html" title="Class that holds details of colours for the four corners of a rectangle.">ColourRect</a>. <a href="#a14cb4182fba6ba1fb617bc7db9dd768b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa16199affd57ce2b92a3c1829f0913f3"></a><!-- doxytag: member="CEGUI::ImagerySection::getBoundingRect" ref="aa16199affd57ce2b92a3c1829f0913f3" args="(const Window &wnd) const " -->
<a class="el" href="classCEGUI_1_1Rect.html">Rect</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ImagerySection.html#aa16199affd57ce2b92a3c1829f0913f3">getBoundingRect</a> (const <a class="el" href="classCEGUI_1_1Window.html">Window</a> &wnd) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return smallest <a class="el" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a> that could contain all imagery within this section. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7f33b3bc8b6f4a2e627c6630e26ef03b"></a><!-- doxytag: member="CEGUI::ImagerySection::getBoundingRect" ref="a7f33b3bc8b6f4a2e627c6630e26ef03b" args="(const Window &wnd, const Rect &rect) const " -->
<a class="el" href="classCEGUI_1_1Rect.html">Rect</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ImagerySection.html#a7f33b3bc8b6f4a2e627c6630e26ef03b">getBoundingRect</a> (const <a class="el" href="classCEGUI_1_1Window.html">Window</a> &wnd, const <a class="el" href="classCEGUI_1_1Rect.html">Rect</a> &rect) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return smallest <a class="el" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a> that could contain all imagery within this section. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ImagerySection.html#af1a0ff09be97750290dbaebeb5d1b820">writeXMLToStream</a> (<a class="el" href="classCEGUI_1_1XMLSerializer.html">XMLSerializer</a> &xml_stream) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Writes an xml representation of this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a> to <em>out_stream</em>. <a href="#af1a0ff09be97750290dbaebeb5d1b820"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a201156311e6c2228f26d7993d5205a15"></a><!-- doxytag: member="CEGUI::ImagerySection::getTextComponentCount" ref="a201156311e6c2228f26d7993d5205a15" args="() const " -->
size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ImagerySection.html#a201156311e6c2228f26d7993d5205a15">getTextComponentCount</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">return number of TextComponents in the <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3b42fa52818c6dd4ec4688b101a3ab08"></a><!-- doxytag: member="CEGUI::ImagerySection::getTextComponent" ref="a3b42fa52818c6dd4ec4688b101a3ab08" args="(const size_t idx) const " -->
const <a class="el" href="classCEGUI_1_1TextComponent.html">TextComponent</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ImagerySection.html#a3b42fa52818c6dd4ec4688b101a3ab08">getTextComponent</a> (const size_t idx) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">return a reference to a <a class="el" href="classCEGUI_1_1TextComponent.html" title="Class that encapsulates information for a text component.">TextComponent</a> (via index). <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">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1ImagerySection.html#afcc1236ceeece124806cabd45f97d9ff">initMasterColourRect</a> (const <a class="el" href="classCEGUI_1_1Window.html">Window</a> &wnd, <a class="el" href="classCEGUI_1_1ColourRect.html">ColourRect</a> &cr) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Helper method to initialise a <a class="el" href="classCEGUI_1_1ColourRect.html" title="Class that holds details of colours for the four corners of a rectangle.">ColourRect</a> with appropriate values according to the way the <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a> is set up. <a href="#afcc1236ceeece124806cabd45f97d9ff"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Class that encapsulates a re-usable collection of imagery specifications. </p>
</div><hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="af8c98cb56775719d9ef2420255811216"></a><!-- doxytag: member="CEGUI::ImagerySection::ImagerySection" ref="af8c98cb56775719d9ef2420255811216" args="(const String &name)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CEGUI::ImagerySection::ImagerySection </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><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p><a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a> constructor. Name must be supplied, masterColours are set to 0xFFFFFFFF by default. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">name</td><td>Name of the new <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="acf01a6af3cb05f42e6003a21a1f2f26b"></a><!-- doxytag: member="CEGUI::ImagerySection::addFrameComponent" ref="acf01a6af3cb05f42e6003a21a1f2f26b" args="(const FrameComponent &frame)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::ImagerySection::addFrameComponent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1FrameComponent.html">FrameComponent</a> & </td>
<td class="paramname"><em>frame</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Add a <a class="el" href="classCEGUI_1_1FrameComponent.html" title="Class that encapsulates information for a frame with background (9 images in total)">FrameComponent</a> to this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">frame</td><td><a class="el" href="classCEGUI_1_1FrameComponent.html" title="Class that encapsulates information for a frame with background (9 images in total)">FrameComponent</a> to be added to the section (a copy is made)</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing </dd></dl>
</div>
</div>
<a class="anchor" id="af2e3c9f537adc997b95ddebce56b006e"></a><!-- doxytag: member="CEGUI::ImagerySection::addImageryComponent" ref="af2e3c9f537adc997b95ddebce56b006e" args="(const ImageryComponent &img)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::ImagerySection::addImageryComponent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1ImageryComponent.html">ImageryComponent</a> & </td>
<td class="paramname"><em>img</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Add an <a class="el" href="classCEGUI_1_1ImageryComponent.html" title="Class that encapsulates information for a single image component.">ImageryComponent</a> to this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">img</td><td><a class="el" href="classCEGUI_1_1ImageryComponent.html" title="Class that encapsulates information for a single image component.">ImageryComponent</a> to be added to the section (a copy is made)</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing </dd></dl>
</div>
</div>
<a class="anchor" id="abe171518e3008c71ea3dc584c3b6443b"></a><!-- doxytag: member="CEGUI::ImagerySection::addTextComponent" ref="abe171518e3008c71ea3dc584c3b6443b" args="(const TextComponent &text)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::ImagerySection::addTextComponent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1TextComponent.html">TextComponent</a> & </td>
<td class="paramname"><em>text</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Add a <a class="el" href="classCEGUI_1_1TextComponent.html" title="Class that encapsulates information for a text component.">TextComponent</a> to this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">text</td><td><a class="el" href="classCEGUI_1_1TextComponent.html" title="Class that encapsulates information for a text component.">TextComponent</a> to be added to the section (a copy is made)</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing </dd></dl>
</div>
</div>
<a class="anchor" id="a3a2a3f0575905f34d4d45ed3530adb91"></a><!-- doxytag: member="CEGUI::ImagerySection::clearFrameComponents" ref="a3a2a3f0575905f34d4d45ed3530adb91" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::ImagerySection::clearFrameComponents </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Clear all FrameComponents from this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing </dd></dl>
</div>
</div>
<a class="anchor" id="abfb37b6814b21ee4ede21543d3c0604c"></a><!-- doxytag: member="CEGUI::ImagerySection::clearImageryComponents" ref="abfb37b6814b21ee4ede21543d3c0604c" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::ImagerySection::clearImageryComponents </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Clear all ImageryComponents from this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing </dd></dl>
</div>
</div>
<a class="anchor" id="af45240b93c595631e5ae26dbbbf1b330"></a><!-- doxytag: member="CEGUI::ImagerySection::clearTextComponents" ref="af45240b93c595631e5ae26dbbbf1b330" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::ImagerySection::clearTextComponents </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Clear all TextComponents from this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing </dd></dl>
</div>
</div>
<a class="anchor" id="a61958cb3c7a4097eccc6dc3bd60160ba"></a><!-- doxytag: member="CEGUI::ImagerySection::getMasterColours" ref="a61958cb3c7a4097eccc6dc3bd60160ba" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classCEGUI_1_1ColourRect.html">ColourRect</a>& CEGUI::ImagerySection::getMasterColours </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Return the current master colours set for this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classCEGUI_1_1ColourRect.html" title="Class that holds details of colours for the four corners of a rectangle.">ColourRect</a> describing the master colour values in use for this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. </dd></dl>
</div>
</div>
<a class="anchor" id="a30d1b8e2c257210206fe8ba537030b8c"></a><!-- doxytag: member="CEGUI::ImagerySection::getName" ref="a30d1b8e2c257210206fe8ba537030b8c" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classCEGUI_1_1String.html">String</a>& CEGUI::ImagerySection::getName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Return the name of this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> object holding the name of the <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. </dd></dl>
</div>
</div>
<a class="anchor" id="afcc1236ceeece124806cabd45f97d9ff"></a><!-- doxytag: member="CEGUI::ImagerySection::initMasterColourRect" ref="afcc1236ceeece124806cabd45f97d9ff" args="(const Window &wnd, ColourRect &cr) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::ImagerySection::initMasterColourRect </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1Window.html">Window</a> & </td>
<td class="paramname"><em>wnd</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classCEGUI_1_1ColourRect.html">ColourRect</a> & </td>
<td class="paramname"><em>cr</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const<code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Helper method to initialise a <a class="el" href="classCEGUI_1_1ColourRect.html" title="Class that holds details of colours for the four corners of a rectangle.">ColourRect</a> with appropriate values according to the way the <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a> is set up. </p>
<p>This will try and get values from multiple places:</p>
<ul>
<li>a property attached to <em>wnd</em> </li>
<li>or the integral d_masterColours value. </li>
</ul>
</div>
</div>
<a class="anchor" id="a2166ede892840fb8f69972397c8190d0"></a><!-- doxytag: member="CEGUI::ImagerySection::render" ref="a2166ede892840fb8f69972397c8190d0" args="(Window &srcWindow, const Rect &baseRect, const CEGUI::ColourRect *modColours=0, const Rect *clipper=0, bool clipToDisplay=false) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::ImagerySection::render </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classCEGUI_1_1Window.html">Window</a> & </td>
<td class="paramname"><em>srcWindow</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1Rect.html">Rect</a> & </td>
<td class="paramname"><em>baseRect</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1ColourRect.html">CEGUI::ColourRect</a> * </td>
<td class="paramname"><em>modColours</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1Rect.html">Rect</a> * </td>
<td class="paramname"><em>clipper</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>clipToDisplay</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Render the <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">srcWindow</td><td><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> object to be used when calculating pixel values from <a class="el" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic 'dimension' class.">BaseDim</a> values.</td></tr>
<tr><td class="paramname">baseRect</td><td><a class="el" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a> object to be used when calculating pixel values from <a class="el" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic 'dimension' class.">BaseDim</a> values.</td></tr>
<tr><td class="paramname">modColours</td><td><a class="el" href="classCEGUI_1_1ColourRect.html" title="Class that holds details of colours for the four corners of a rectangle.">ColourRect</a> specifying colours to be modulated with the ImagerySection's master colours. May be 0.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing. </dd></dl>
</div>
</div>
<a class="anchor" id="ae695968ca752a14b17546ff517949fa3"></a><!-- doxytag: member="CEGUI::ImagerySection::render" ref="ae695968ca752a14b17546ff517949fa3" args="(Window &srcWindow, const CEGUI::ColourRect *modColours=0, const Rect *clipper=0, bool clipToDisplay=false) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::ImagerySection::render </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classCEGUI_1_1Window.html">Window</a> & </td>
<td class="paramname"><em>srcWindow</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1ColourRect.html">CEGUI::ColourRect</a> * </td>
<td class="paramname"><em>modColours</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1Rect.html">Rect</a> * </td>
<td class="paramname"><em>clipper</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>clipToDisplay</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Render the <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">srcWindow</td><td><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> object to be used when calculating pixel values from <a class="el" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic 'dimension' class.">BaseDim</a> values.</td></tr>
<tr><td class="paramname">modColours</td><td><a class="el" href="classCEGUI_1_1ColourRect.html" title="Class that holds details of colours for the four corners of a rectangle.">ColourRect</a> specifying colours to be modulated with the ImagerySection's master colours. May be 0.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing. </dd></dl>
</div>
</div>
<a class="anchor" id="a255d03dd9760057899b1bede9956f7f4"></a><!-- doxytag: member="CEGUI::ImagerySection::setMasterColours" ref="a255d03dd9760057899b1bede9956f7f4" args="(const ColourRect &cols)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::ImagerySection::setMasterColours </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1ColourRect.html">ColourRect</a> & </td>
<td class="paramname"><em>cols</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Set the master colours to be used for this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">cols</td><td><a class="el" href="classCEGUI_1_1ColourRect.html" title="Class that holds details of colours for the four corners of a rectangle.">ColourRect</a> describing the colours to be set as the master colours for this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a>.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing. </dd></dl>
</div>
</div>
<a class="anchor" id="a14cb4182fba6ba1fb617bc7db9dd768b"></a><!-- doxytag: member="CEGUI::ImagerySection::setMasterColoursPropertyIsColourRect" ref="a14cb4182fba6ba1fb617bc7db9dd768b" args="(bool setting=true)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::ImagerySection::setMasterColoursPropertyIsColourRect </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>setting</em> = <code>true</code></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Set whether the master colours property source represents a full <a class="el" href="classCEGUI_1_1ColourRect.html" title="Class that holds details of colours for the four corners of a rectangle.">ColourRect</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">setting</td><td><ul>
<li>true if the master colours property will access a <a class="el" href="classCEGUI_1_1ColourRect.html" title="Class that holds details of colours for the four corners of a rectangle.">ColourRect</a> object.</li>
<li>false if the master colours property will access a colour object.</li>
</ul>
</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing. </dd></dl>
</div>
</div>
<a class="anchor" id="a297d27a18cbb5b48b7b632d9fca8cb2b"></a><!-- doxytag: member="CEGUI::ImagerySection::setMasterColoursPropertySource" ref="a297d27a18cbb5b48b7b632d9fca8cb2b" args="(const String &property)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::ImagerySection::setMasterColoursPropertySource </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1String.html">String</a> & </td>
<td class="paramname"><em>property</em></td><td>)</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Set the name of the property where master colour values can be obtained. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">property</td><td><a class="el" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> containing the name of the property.</td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Nothing. </dd></dl>
</div>
</div>
<a class="anchor" id="af1a0ff09be97750290dbaebeb5d1b820"></a><!-- doxytag: member="CEGUI::ImagerySection::writeXMLToStream" ref="af1a0ff09be97750290dbaebeb5d1b820" args="(XMLSerializer &xml_stream) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::ImagerySection::writeXMLToStream </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classCEGUI_1_1XMLSerializer.html">XMLSerializer</a> & </td>
<td class="paramname"><em>xml_stream</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Writes an xml representation of this <a class="el" href="classCEGUI_1_1ImagerySection.html" title="Class that encapsulates a re-usable collection of imagery specifications.">ImagerySection</a> to <em>out_stream</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">xml_stream</td><td>Stream where xml data should be output.</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:42 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>
|