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
|
<!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: CEGUIScrollablePane.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript">
function hasClass(ele,cls) {
return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}
function addClass(ele,cls) {
if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}
function removeClass(ele,cls) {
if (hasClass(ele,cls)) {
var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
ele.className=ele.className.replace(reg,' ');
}
}
function toggleVisibility(linkObj) {
var base = linkObj.getAttribute('id');
var summary = document.getElementById(base + '-summary');
var content = document.getElementById(base + '-content');
var trigger = document.getElementById(base + '-trigger');
if ( hasClass(linkObj,'closed') ) {
summary.style.display = 'none';
content.style.display = 'block';
trigger.src = 'open.png';
removeClass(linkObj,'closed');
addClass(linkObj,'opened');
} else if ( hasClass(linkObj,'opened') ) {
summary.style.display = 'block';
content.style.display = 'none';
trigger.src = 'closed.png';
removeClass(linkObj,'opened');
addClass(linkObj,'closed');
}
return false;
}
</script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Crazy Eddies GUI System <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><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
</ul>
</div>
<div class="header">
<div class="headertitle">
<div class="title">CEGUIScrollablePane.h</div> </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/***********************************************************************</span>
<a name="l00002"></a>00002 <span class="comment"> filename: CEGUIScrollablePane.h</span>
<a name="l00003"></a>00003 <span class="comment"> created: 1/3/2005</span>
<a name="l00004"></a>00004 <span class="comment"> author: Paul D Turner</span>
<a name="l00005"></a>00005 <span class="comment">*************************************************************************/</span>
<a name="l00006"></a>00006 <span class="comment">/***************************************************************************</span>
<a name="l00007"></a>00007 <span class="comment"> * Copyright (C) 2004 - 2009 Paul D Turner & The CEGUI Development Team</span>
<a name="l00008"></a>00008 <span class="comment"> *</span>
<a name="l00009"></a>00009 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining</span>
<a name="l00010"></a>00010 <span class="comment"> * a copy of this software and associated documentation files (the</span>
<a name="l00011"></a>00011 <span class="comment"> * "Software"), to deal in the Software without restriction, including</span>
<a name="l00012"></a>00012 <span class="comment"> * without limitation the rights to use, copy, modify, merge, publish,</span>
<a name="l00013"></a>00013 <span class="comment"> * distribute, sublicense, and/or sell copies of the Software, and to</span>
<a name="l00014"></a>00014 <span class="comment"> * permit persons to whom the Software is furnished to do so, subject to</span>
<a name="l00015"></a>00015 <span class="comment"> * the following conditions:</span>
<a name="l00016"></a>00016 <span class="comment"> *</span>
<a name="l00017"></a>00017 <span class="comment"> * The above copyright notice and this permission notice shall be</span>
<a name="l00018"></a>00018 <span class="comment"> * included in all copies or substantial portions of the Software.</span>
<a name="l00019"></a>00019 <span class="comment"> *</span>
<a name="l00020"></a>00020 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,</span>
<a name="l00021"></a>00021 <span class="comment"> * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF</span>
<a name="l00022"></a>00022 <span class="comment"> * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.</span>
<a name="l00023"></a>00023 <span class="comment"> * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR</span>
<a name="l00024"></a>00024 <span class="comment"> * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,</span>
<a name="l00025"></a>00025 <span class="comment"> * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR</span>
<a name="l00026"></a>00026 <span class="comment"> * OTHER DEALINGS IN THE SOFTWARE.</span>
<a name="l00027"></a>00027 <span class="comment"> ***************************************************************************/</span>
<a name="l00028"></a>00028 <span class="preprocessor">#ifndef _CEGUIScrollablePane_h_</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define _CEGUIScrollablePane_h_</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span>
<a name="l00031"></a>00031 <span class="preprocessor">#include "../CEGUIBase.h"</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include "../CEGUIWindow.h"</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include "CEGUIScrollablePaneProperties.h"</span>
<a name="l00034"></a>00034
<a name="l00035"></a>00035 <span class="preprocessor">#if defined(_MSC_VER)</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor"># pragma warning(push)</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor"># pragma warning(disable : 4251)</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span>
<a name="l00040"></a>00040 <span class="comment">// Start of CEGUI namespace section</span>
<a name="l00041"></a>00041 <span class="keyword">namespace </span>CEGUI
<a name="l00042"></a>00042 {
<a name="l00044"></a><a class="code" href="classCEGUI_1_1ScrollablePaneWindowRenderer.html">00044</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1ScrollablePaneWindowRenderer.html" title="Base class for ScrollablePane window renderer objects.">ScrollablePaneWindowRenderer</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1WindowRenderer.html" title="Base-class for the assignable WindowRenderer object.">WindowRenderer</a>
<a name="l00045"></a>00045 {
<a name="l00046"></a>00046 <span class="keyword">public</span>:
<a name="l00048"></a>00048 <a class="code" href="classCEGUI_1_1ScrollablePaneWindowRenderer.html" title="Base class for ScrollablePane window renderer objects.">ScrollablePaneWindowRenderer</a>(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& name);
<a name="l00049"></a>00049
<a name="l00058"></a>00058 <span class="keyword">virtual</span> <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a> getViewableArea(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0;
<a name="l00059"></a>00059 };
<a name="l00060"></a>00060
<a name="l00069"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html">00069</a> <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1ScrollablePane.html" title="Base class for the ScrollablePane widget.">ScrollablePane</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>
<a name="l00070"></a>00070 {
<a name="l00071"></a>00071 <span class="keyword">public</span>:
<a name="l00073"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#a8747c6f122ac2249e88187ee51ef4d00">00073</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1ScrollablePane.html#a8747c6f122ac2249e88187ee51ef4d00" title="Window factory name.">WidgetTypeName</a>;
<a name="l00075"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#afd7daf307ccf23bcb4725c6b3541309c">00075</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1ScrollablePane.html#afd7daf307ccf23bcb4725c6b3541309c" title="Namespace for global events.">EventNamespace</a>;
<a name="l00081"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#a93ed460fe5ec36a51ab4bbf6e4917a8b">00081</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1ScrollablePane.html#a93ed460fe5ec36a51ab4bbf6e4917a8b">EventContentPaneChanged</a>;
<a name="l00087"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#a6bae31cb6030349a5034e7a55168929f">00087</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1ScrollablePane.html#a6bae31cb6030349a5034e7a55168929f">EventVertScrollbarModeChanged</a>;
<a name="l00093"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#a6f569c3fe460cf674ba010dd99cd6fa6">00093</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1ScrollablePane.html#a6f569c3fe460cf674ba010dd99cd6fa6">EventHorzScrollbarModeChanged</a>;
<a name="l00099"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#aa7309eb7bef6f0ae59bbd7bacab25fcd">00099</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1ScrollablePane.html#aa7309eb7bef6f0ae59bbd7bacab25fcd">EventAutoSizeSettingChanged</a>;
<a name="l00104"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#a98ce9a5593d6757834418585a792bb23">00104</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1ScrollablePane.html#a98ce9a5593d6757834418585a792bb23">EventContentPaneScrolled</a>;
<a name="l00106"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#aeeabf0e97254c46b4204f8c060033259">00106</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1ScrollablePane.html#aeeabf0e97254c46b4204f8c060033259" title="Widget name suffix for the vertical scrollbar component.">VertScrollbarNameSuffix</a>;
<a name="l00108"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#a487a2c16eb6d1eeee7fd9371e93624f3">00108</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1ScrollablePane.html#a487a2c16eb6d1eeee7fd9371e93624f3" title="Widget name suffix for the horizontal scrollbar component.">HorzScrollbarNameSuffix</a>;
<a name="l00110"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#a8c43906bcca025ece00698885ae85b2d">00110</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> <a class="code" href="classCEGUI_1_1ScrollablePane.html#a8c43906bcca025ece00698885ae85b2d" title="Widget name suffix for the scrolled container component.">ScrolledContainerNameSuffix</a>;
<a name="l00111"></a>00111
<a name="l00113"></a>00113 <a class="code" href="classCEGUI_1_1ScrollablePane.html" title="Base class for the ScrollablePane widget.">ScrollablePane</a>(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& type, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& name);
<a name="l00114"></a>00114
<a name="l00116"></a>00116 ~<a class="code" href="classCEGUI_1_1ScrollablePane.html" title="Base class for the ScrollablePane widget.">ScrollablePane</a>(<span class="keywordtype">void</span>);
<a name="l00117"></a>00117
<a name="l00130"></a>00130 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1ScrolledContainer.html" title="Helper container window class which is used in the implementation of the ScrollablePane widget class...">ScrolledContainer</a>* getContentPane(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00131"></a>00131
<a name="l00140"></a>00140 <span class="keywordtype">bool</span> isVertScrollbarAlwaysShown(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00141"></a>00141
<a name="l00155"></a>00155 <span class="keywordtype">void</span> setShowVertScrollbar(<span class="keywordtype">bool</span> setting);
<a name="l00156"></a>00156
<a name="l00165"></a>00165 <span class="keywordtype">bool</span> isHorzScrollbarAlwaysShown(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00166"></a>00166
<a name="l00180"></a>00180 <span class="keywordtype">void</span> setShowHorzScrollbar(<span class="keywordtype">bool</span> setting);
<a name="l00181"></a>00181
<a name="l00191"></a>00191 <span class="keywordtype">bool</span> isContentPaneAutoSized(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00192"></a>00192
<a name="l00205"></a>00205 <span class="keywordtype">void</span> setContentPaneAutoSized(<span class="keywordtype">bool</span> setting);
<a name="l00206"></a>00206
<a name="l00215"></a>00215 <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a>& getContentPaneArea(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00216"></a>00216
<a name="l00232"></a>00232 <span class="keywordtype">void</span> setContentPaneArea(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a>& area);
<a name="l00233"></a>00233
<a name="l00243"></a>00243 <span class="keywordtype">float</span> getHorizontalStepSize(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00244"></a>00244
<a name="l00257"></a>00257 <span class="keywordtype">void</span> setHorizontalStepSize(<span class="keywordtype">float</span> step);
<a name="l00258"></a>00258
<a name="l00268"></a>00268 <span class="keywordtype">float</span> getHorizontalOverlapSize(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00269"></a>00269
<a name="l00282"></a>00282 <span class="keywordtype">void</span> setHorizontalOverlapSize(<span class="keywordtype">float</span> overlap);
<a name="l00283"></a>00283
<a name="l00292"></a>00292 <span class="keywordtype">float</span> getHorizontalScrollPosition(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00293"></a>00293
<a name="l00305"></a>00305 <span class="keywordtype">void</span> setHorizontalScrollPosition(<span class="keywordtype">float</span> position);
<a name="l00306"></a>00306
<a name="l00316"></a>00316 <span class="keywordtype">float</span> getVerticalStepSize(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00317"></a>00317
<a name="l00330"></a>00330 <span class="keywordtype">void</span> setVerticalStepSize(<span class="keywordtype">float</span> step);
<a name="l00331"></a>00331
<a name="l00341"></a>00341 <span class="keywordtype">float</span> getVerticalOverlapSize(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00342"></a>00342
<a name="l00355"></a>00355 <span class="keywordtype">void</span> setVerticalOverlapSize(<span class="keywordtype">float</span> overlap);
<a name="l00356"></a>00356
<a name="l00365"></a>00365 <span class="keywordtype">float</span> getVerticalScrollPosition(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00366"></a>00366
<a name="l00378"></a>00378 <span class="keywordtype">void</span> setVerticalScrollPosition(<span class="keywordtype">float</span> position);
<a name="l00379"></a>00379
<a name="l00388"></a>00388 <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a> getViewableArea(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00389"></a>00389
<a name="l00401"></a>00401 <a class="code" href="classCEGUI_1_1Scrollbar.html" title="Base scroll bar class.">Scrollbar</a>* getVertScrollbar() <span class="keyword">const</span>;
<a name="l00402"></a>00402
<a name="l00414"></a>00414 <a class="code" href="classCEGUI_1_1Scrollbar.html" title="Base scroll bar class.">Scrollbar</a>* getHorzScrollbar() <span class="keyword">const</span>;
<a name="l00415"></a>00415
<a name="l00416"></a>00416 <span class="comment">// Overridden from Window</span>
<a name="l00417"></a>00417 <span class="keywordtype">void</span> initialiseComponents(<span class="keywordtype">void</span>);
<a name="l00418"></a>00418 <span class="keywordtype">void</span> destroy(<span class="keywordtype">void</span>);
<a name="l00419"></a>00419
<a name="l00420"></a>00420 <span class="keyword">protected</span>:
<a name="l00427"></a>00427 <span class="keywordtype">void</span> configureScrollbars(<span class="keywordtype">void</span>);
<a name="l00428"></a>00428
<a name="l00437"></a>00437 <span class="keywordtype">bool</span> isVertScrollbarNeeded(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00438"></a>00438
<a name="l00447"></a>00447 <span class="keywordtype">bool</span> isHorzScrollbarNeeded(<span class="keywordtype">void</span>) <span class="keyword">const</span>;
<a name="l00448"></a>00448
<a name="l00454"></a>00454 <span class="keywordtype">void</span> updateContainerPosition(<span class="keywordtype">void</span>);
<a name="l00455"></a>00455
<a name="l00456"></a>00456
<a name="l00468"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#ab703fd741f04b29369e6a00a22e9d613">00468</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> testClassName_impl(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& class_name)<span class="keyword"> const</span>
<a name="l00469"></a>00469 <span class="keyword"> </span>{
<a name="l00470"></a>00470 <span class="keywordflow">if</span> (class_name==<span class="stringliteral">"ScrollablePane"</span>)
<a name="l00471"></a>00471 <span class="keywordflow">return</span> <span class="keyword">true</span>;
<a name="l00472"></a>00472
<a name="l00473"></a>00473 <span class="keywordflow">return</span> <a class="code" href="classCEGUI_1_1Window.html#a2b58cf00b4790c9cb08acfc18d5d3b0b" title="Return whether this window was inherited from the given class name at some point in the inheritance h...">Window::testClassName_impl</a>(class_name);
<a name="l00474"></a>00474 }
<a name="l00475"></a>00475
<a name="l00487"></a>00487 <a class="code" href="classCEGUI_1_1ScrolledContainer.html" title="Helper container window class which is used in the implementation of the ScrollablePane widget class...">ScrolledContainer</a>* getScrolledContainer() <span class="keyword">const</span>;
<a name="l00488"></a>00488
<a name="l00489"></a>00489 <span class="comment">// validate window renderer</span>
<a name="l00490"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#a3f928d5a1cf519598fd19cd0d3ebba94">00490</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> validateWindowRenderer(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>& name)<span class="keyword"> const</span>
<a name="l00491"></a>00491 <span class="keyword"> </span>{
<a name="l00492"></a>00492 <span class="keywordflow">return</span> (name == <span class="stringliteral">"ScrollablePane"</span>);
<a name="l00493"></a>00493 }
<a name="l00494"></a>00494
<a name="l00495"></a>00495 <span class="comment">/*************************************************************************</span>
<a name="l00496"></a>00496 <span class="comment"> Event triggers</span>
<a name="l00497"></a>00497 <span class="comment"> *************************************************************************/</span>
<a name="l00509"></a>00509 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onContentPaneChanged(<a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>& e);
<a name="l00510"></a>00510
<a name="l00522"></a>00522 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onVertScrollbarModeChanged(<a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>& e);
<a name="l00523"></a>00523
<a name="l00535"></a>00535 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onHorzScrollbarModeChanged(<a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>& e);
<a name="l00536"></a>00536
<a name="l00548"></a>00548 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onAutoSizeSettingChanged(<a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>& e);
<a name="l00549"></a>00549
<a name="l00561"></a>00561 <span class="keyword">virtual</span> <span class="keywordtype">void</span> onContentPaneScrolled(<a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>& e);
<a name="l00562"></a>00562
<a name="l00563"></a>00563 <span class="comment">/*************************************************************************</span>
<a name="l00564"></a>00564 <span class="comment"> Event handler methods</span>
<a name="l00565"></a>00565 <span class="comment"> *************************************************************************/</span>
<a name="l00571"></a>00571 <span class="keywordtype">bool</span> handleScrollChange(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1EventArgs.html" title="Base class used as the argument to all subscribers Event object.">EventArgs</a>& e);
<a name="l00572"></a>00572
<a name="l00578"></a>00578 <span class="keywordtype">bool</span> handleContentAreaChange(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1EventArgs.html" title="Base class used as the argument to all subscribers Event object.">EventArgs</a>& e);
<a name="l00579"></a>00579
<a name="l00585"></a>00585 <span class="keywordtype">bool</span> handleAutoSizePaneChanged(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1EventArgs.html" title="Base class used as the argument to all subscribers Event object.">EventArgs</a>& e);
<a name="l00586"></a>00586
<a name="l00587"></a>00587 <span class="comment">// Overridden from Window</span>
<a name="l00588"></a>00588 <span class="keywordtype">void</span> addChild_impl(<a class="code" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>* wnd);
<a name="l00589"></a>00589 <span class="keywordtype">void</span> removeChild_impl(<a class="code" href="classCEGUI_1_1Window.html" title="An abstract base class providing common functionality and specifying the required interface for deriv...">Window</a>* wnd);
<a name="l00590"></a>00590 <span class="keywordtype">void</span> onSized(<a class="code" href="classCEGUI_1_1WindowEventArgs.html" title="EventArgs based class that is used for objects passed to handlers triggered for events concerning som...">WindowEventArgs</a>& e);
<a name="l00591"></a>00591 <span class="keywordtype">void</span> onMouseWheel(<a class="code" href="classCEGUI_1_1MouseEventArgs.html" title="EventArgs based class that is used for objects passed to input event handlers concerning mouse input...">MouseEventArgs</a>& e);
<a name="l00592"></a>00592
<a name="l00594"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#a49e870ceda99ebeb26ad212777b911fe">00594</a> <span class="keywordtype">bool</span> <a class="code" href="classCEGUI_1_1ScrollablePane.html#a49e870ceda99ebeb26ad212777b911fe" title="true if vertical scrollbar should always be displayed">d_forceVertScroll</a>;
<a name="l00596"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#a2c39e39126fb853030e968581db837b9">00596</a> <span class="keywordtype">bool</span> <a class="code" href="classCEGUI_1_1ScrollablePane.html#a2c39e39126fb853030e968581db837b9" title="true if horizontal scrollbar should always be displayed">d_forceHorzScroll</a>;
<a name="l00598"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#a465921a94dc93b803a63bc79f867b712">00598</a> <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a> <a class="code" href="classCEGUI_1_1ScrollablePane.html#a465921a94dc93b803a63bc79f867b712" title="holds content area so we can track changes.">d_contentRect</a>;
<a name="l00600"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#a280cbf078760ffddfdd2b305156b3ed5">00600</a> <span class="keywordtype">float</span> <a class="code" href="classCEGUI_1_1ScrollablePane.html#a280cbf078760ffddfdd2b305156b3ed5" title="vertical scroll step fraction.">d_vertStep</a>;
<a name="l00602"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#abe073a0440b5b2029e8c9a88dabae2d0">00602</a> <span class="keywordtype">float</span> <a class="code" href="classCEGUI_1_1ScrollablePane.html#abe073a0440b5b2029e8c9a88dabae2d0" title="vertical scroll overlap fraction.">d_vertOverlap</a>;
<a name="l00604"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#a226fab6abfa85ae66333075e60eff75e">00604</a> <span class="keywordtype">float</span> <a class="code" href="classCEGUI_1_1ScrollablePane.html#a226fab6abfa85ae66333075e60eff75e" title="horizontal scroll step fraction.">d_horzStep</a>;
<a name="l00606"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#afc6bce7e4434f9b0a6ec634592476336">00606</a> <span class="keywordtype">float</span> <a class="code" href="classCEGUI_1_1ScrollablePane.html#afc6bce7e4434f9b0a6ec634592476336" title="horizontal scroll overlap fraction.">d_horzOverlap</a>;
<a name="l00608"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#a4feb6429e1cc8e2f13fa380596f22f92">00608</a> <a class="code" href="classCEGUI_1_1RefCounted.html">Event::Connection</a> <a class="code" href="classCEGUI_1_1ScrollablePane.html#a4feb6429e1cc8e2f13fa380596f22f92" title="Event connection to content pane.">d_contentChangedConn</a>;
<a name="l00610"></a><a class="code" href="classCEGUI_1_1ScrollablePane.html#a04272fbc4fa304515993bc3c8e2cf12a">00610</a> <a class="code" href="classCEGUI_1_1RefCounted.html">Event::Connection</a> <a class="code" href="classCEGUI_1_1ScrollablePane.html#a04272fbc4fa304515993bc3c8e2cf12a" title="Event connection to content pane.">d_autoSizeChangedConn</a>;
<a name="l00611"></a>00611
<a name="l00612"></a>00612 <span class="keyword">private</span>:
<a name="l00613"></a>00613 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ScrollablePaneProperties_1_1ForceHorzScrollbar.html" title="Property to access the setting which controls whether the horizontal scroll bar will always be displa...">ScrollablePaneProperties::ForceHorzScrollbar</a> d_horzScrollbarProperty;
<a name="l00614"></a>00614 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ScrollablePaneProperties_1_1ForceVertScrollbar.html" title="Property to access the setting which controls whether the vertical scroll bar will always be displaye...">ScrollablePaneProperties::ForceVertScrollbar</a> d_vertScrollbarProperty;
<a name="l00615"></a>00615 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ScrollablePaneProperties_1_1ContentPaneAutoSized.html" title="Property to access the setting which controls whether the content pane is automatically resized accor...">ScrollablePaneProperties::ContentPaneAutoSized</a> d_autoSizedProperty;
<a name="l00616"></a>00616 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ScrollablePaneProperties_1_1ContentArea.html" title="Property to access the current content pane area rectangle (as window relative pixels).">ScrollablePaneProperties::ContentArea</a> d_contentAreaProperty;
<a name="l00617"></a>00617 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ScrollablePaneProperties_1_1HorzStepSize.html" title="Property to access the step size for the horizontal Scrollbar.">ScrollablePaneProperties::HorzStepSize</a> d_horzStepProperty;
<a name="l00618"></a>00618 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ScrollablePaneProperties_1_1HorzOverlapSize.html" title="Property to access the overlap size for the horizontal Scrollbar.">ScrollablePaneProperties::HorzOverlapSize</a> d_horzOverlapProperty;
<a name="l00619"></a>00619 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ScrollablePaneProperties_1_1HorzScrollPosition.html" title="Property to access the scroll position of the horizontal Scrollbar.">ScrollablePaneProperties::HorzScrollPosition</a> d_horzScrollPositionProperty;
<a name="l00620"></a>00620 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ScrollablePaneProperties_1_1VertStepSize.html" title="Property to access the step size for the vertical Scrollbar.">ScrollablePaneProperties::VertStepSize</a> d_vertStepProperty;
<a name="l00621"></a>00621 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ScrollablePaneProperties_1_1VertOverlapSize.html" title="Property to access the overlap size for the vertical Scrollbar.">ScrollablePaneProperties::VertOverlapSize</a> d_vertOverlapProperty;
<a name="l00622"></a>00622 <span class="keyword">static</span> <a class="code" href="classCEGUI_1_1ScrollablePaneProperties_1_1VertScrollPosition.html" title="Property to access the scroll position of the vertical Scrollbar.">ScrollablePaneProperties::VertScrollPosition</a> d_vertScrollPositionProperty;
<a name="l00623"></a>00623
<a name="l00624"></a>00624 <span class="keywordtype">void</span> addScrollablePaneProperties(<span class="keywordtype">void</span>);
<a name="l00625"></a>00625 };
<a name="l00626"></a>00626
<a name="l00627"></a>00627 } <span class="comment">// End of CEGUI namespace section</span>
<a name="l00628"></a>00628
<a name="l00629"></a>00629 <span class="preprocessor">#if defined(_MSC_VER)</span>
<a name="l00630"></a>00630 <span class="preprocessor"></span><span class="preprocessor"># pragma warning(pop)</span>
<a name="l00631"></a>00631 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00632"></a>00632 <span class="preprocessor"></span>
<a name="l00633"></a>00633 <span class="preprocessor">#endif // end of guard _CEGUIScrollablePane_h_</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Sun Jan 22 2012 16:07:39 for Crazy Eddies GUI System by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>
|