File: CEGUIFalDimensions_8h_source.html

package info (click to toggle)
cegui-mk2 0.7.6-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 105,384 kB
  • sloc: cpp: 142,729; ansic: 27,984; sh: 11,010; makefile: 2,275; python: 916; xml: 17
file content (347 lines) | stat: -rw-r--r-- 44,955 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
<!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: CEGUIFalDimensions.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&#160;<span id="projectnumber">0.7.6</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><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&#160;List</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">CEGUIFalDimensions.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:   CEGUIFalDimensions.h</span>
<a name="l00003"></a>00003 <span class="comment">    created:    Mon Jun 13 2005</span>
<a name="l00004"></a>00004 <span class="comment">    author:     Paul D Turner &lt;paul@cegui.org.uk&gt;</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 - 2006 Paul D Turner &amp; 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"> *   &quot;Software&quot;), 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 &quot;AS IS&quot;, 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 _CEGUIFalDimensions_h_</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define _CEGUIFalDimensions_h_</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &quot;CEGUIFalEnums.h&quot;</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include &quot;../CEGUIString.h&quot;</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include &quot;../CEGUIUDim.h&quot;</span>
<a name="l00034"></a>00034 <span class="preprocessor">#include &quot;../CEGUIXMLSerializer.h&quot;</span>
<a name="l00035"></a>00035 
<a name="l00036"></a>00036 <span class="comment">// Start of CEGUI namespace section</span>
<a name="l00037"></a>00037 <span class="keyword">namespace </span>CEGUI
<a name="l00038"></a>00038 {
<a name="l00043"></a><a class="code" href="classCEGUI_1_1BaseDim.html">00043</a>     <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>
<a name="l00044"></a>00044     {
<a name="l00045"></a>00045     <span class="keyword">public</span>:
<a name="l00046"></a>00046         <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>();
<a name="l00047"></a>00047 
<a name="l00048"></a>00048         <span class="keyword">virtual</span> ~<a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>();
<a name="l00049"></a>00049 
<a name="l00061"></a>00061         <span class="keywordtype">float</span> getValue(<span class="keyword">const</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>&amp; wnd) <span class="keyword">const</span>;
<a name="l00062"></a>00062 
<a name="l00080"></a>00080         <span class="keywordtype">float</span> getValue(<span class="keyword">const</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>&amp; wnd, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a>&amp; container) <span class="keyword">const</span>;
<a name="l00081"></a>00081 
<a name="l00094"></a>00094         <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>* clone() <span class="keyword">const</span>;
<a name="l00095"></a>00095 
<a name="l00104"></a>00104         <a class="code" href="namespaceCEGUI.html#a83eeabd743af4692fae93272f0e3be72" title="Enumeration of values representing mathematical operations on dimensions.">DimensionOperator</a> getDimensionOperator() <span class="keyword">const</span>;
<a name="l00105"></a>00105 
<a name="l00117"></a>00117         <span class="keywordtype">void</span> setDimensionOperator(<a class="code" href="namespaceCEGUI.html#a83eeabd743af4692fae93272f0e3be72" title="Enumeration of values representing mathematical operations on dimensions.">DimensionOperator</a> op);
<a name="l00118"></a>00118 
<a name="l00126"></a>00126         <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>* getOperand() <span class="keyword">const</span>;
<a name="l00127"></a>00127 
<a name="l00139"></a>00139         <span class="keywordtype">void</span> setOperand(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>&amp; operand);
<a name="l00140"></a>00140 
<a name="l00151"></a>00151         <span class="keywordtype">void</span> writeXMLToStream(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>&amp; xml_stream) <span class="keyword">const</span>;
<a name="l00152"></a>00152 
<a name="l00153"></a>00153     <span class="keyword">protected</span>:
<a name="l00159"></a>00159         <span class="keyword">virtual</span> <span class="keywordtype">float</span> getValue_impl(<span class="keyword">const</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>&amp; wnd) <span class="keyword">const</span> = 0;
<a name="l00160"></a>00160 
<a name="l00166"></a>00166         <span class="keyword">virtual</span> <span class="keywordtype">float</span> getValue_impl(<span class="keyword">const</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>&amp; wnd, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a>&amp; container) <span class="keyword">const</span> = 0;
<a name="l00167"></a>00167 
<a name="l00174"></a>00174         <span class="keyword">virtual</span> <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>* clone_impl() <span class="keyword">const</span> = 0;
<a name="l00175"></a>00175 
<a name="l00180"></a>00180         <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeXMLElementName_impl(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>&amp; xml_stream) <span class="keyword">const</span> = 0;
<a name="l00181"></a>00181 
<a name="l00186"></a>00186         <span class="keyword">virtual</span> <span class="keywordtype">void</span> writeXMLElementAttributes_impl(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>&amp; xml_stream) <span class="keyword">const</span> = 0;
<a name="l00187"></a>00187 
<a name="l00188"></a>00188     <span class="keyword">private</span>:
<a name="l00189"></a>00189         <a class="code" href="namespaceCEGUI.html#a83eeabd743af4692fae93272f0e3be72" title="Enumeration of values representing mathematical operations on dimensions.">DimensionOperator</a>   d_operator;
<a name="l00190"></a>00190         <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>*            d_operand;
<a name="l00191"></a>00191     };
<a name="l00192"></a>00192 
<a name="l00193"></a>00193 
<a name="l00198"></a><a class="code" href="classCEGUI_1_1AbsoluteDim.html">00198</a>     <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1AbsoluteDim.html" title="Dimension type that represents an absolute pixel value. Implements BaseDim interface.">AbsoluteDim</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>
<a name="l00199"></a>00199     {
<a name="l00200"></a>00200     <span class="keyword">public</span>:
<a name="l00208"></a>00208         <a class="code" href="classCEGUI_1_1AbsoluteDim.html" title="Dimension type that represents an absolute pixel value. Implements BaseDim interface.">AbsoluteDim</a>(<span class="keywordtype">float</span> val);
<a name="l00209"></a>00209 
<a name="l00214"></a>00214         <span class="keywordtype">void</span> setValue(<span class="keywordtype">float</span> val);
<a name="l00215"></a>00215 
<a name="l00216"></a>00216     <span class="keyword">protected</span>:
<a name="l00217"></a>00217         <span class="comment">// Implementation of the base class interface</span>
<a name="l00218"></a>00218         <span class="keywordtype">float</span> getValue_impl(<span class="keyword">const</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>&amp; wnd) <span class="keyword">const</span>;
<a name="l00219"></a>00219         <span class="keywordtype">float</span> getValue_impl(<span class="keyword">const</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>&amp; wnd, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a>&amp; container) <span class="keyword">const</span>;
<a name="l00220"></a>00220         <span class="keywordtype">void</span> writeXMLElementName_impl(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>&amp; xml_stream) <span class="keyword">const</span>;
<a name="l00221"></a>00221         <span class="keywordtype">void</span> writeXMLElementAttributes_impl(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>&amp; xml_stream) <span class="keyword">const</span>;
<a name="l00222"></a>00222 
<a name="l00223"></a>00223         <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>* clone_impl() <span class="keyword">const</span>;
<a name="l00224"></a>00224 
<a name="l00225"></a>00225     <span class="keyword">private</span>:
<a name="l00226"></a>00226         <span class="keywordtype">float</span> d_val;    
<a name="l00227"></a>00227     };
<a name="l00228"></a>00228 
<a name="l00229"></a>00229 
<a name="l00234"></a><a class="code" href="classCEGUI_1_1ImageDim.html">00234</a>     <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1ImageDim.html" title="Dimension type that represents some dimension of a named Image. Implements BaseDim interface...">ImageDim</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>
<a name="l00235"></a>00235     {
<a name="l00236"></a>00236     <span class="keyword">public</span>:
<a name="l00251"></a>00251         <a class="code" href="classCEGUI_1_1ImageDim.html" title="Dimension type that represents some dimension of a named Image. Implements BaseDim interface...">ImageDim</a>(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; imageset, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; image, <a class="code" href="namespaceCEGUI.html#ad6bcb4f4d32891fc48d05605b4c6b059" title="Enumeration of possible values to indicate what a given dimension represents.">DimensionType</a> dim);
<a name="l00252"></a>00252 
<a name="l00266"></a>00266         <span class="keywordtype">void</span> setSourceImage(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; imageset, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; image);
<a name="l00267"></a>00267 
<a name="l00279"></a>00279         <span class="keywordtype">void</span> setSourceDimension(<a class="code" href="namespaceCEGUI.html#ad6bcb4f4d32891fc48d05605b4c6b059" title="Enumeration of possible values to indicate what a given dimension represents.">DimensionType</a> dim);
<a name="l00280"></a>00280 
<a name="l00281"></a>00281     <span class="keyword">protected</span>:
<a name="l00282"></a>00282         <span class="comment">// Implementation of the base class interface</span>
<a name="l00283"></a>00283         <span class="keywordtype">float</span> getValue_impl(<span class="keyword">const</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>&amp; wnd) <span class="keyword">const</span>;
<a name="l00284"></a>00284         <span class="keywordtype">float</span> getValue_impl(<span class="keyword">const</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>&amp; wnd, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a>&amp; container) <span class="keyword">const</span>;
<a name="l00285"></a>00285         <span class="keywordtype">void</span> writeXMLElementName_impl(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>&amp; xml_stream) <span class="keyword">const</span>;
<a name="l00286"></a>00286         <span class="keywordtype">void</span> writeXMLElementAttributes_impl(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>&amp; xml_stream) <span class="keyword">const</span>;
<a name="l00287"></a>00287         <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>* clone_impl() <span class="keyword">const</span>;
<a name="l00288"></a>00288 
<a name="l00289"></a>00289     <span class="keyword">private</span>:
<a name="l00290"></a>00290         <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> d_imageset;      
<a name="l00291"></a>00291         <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> d_image;         
<a name="l00292"></a>00292         <a class="code" href="namespaceCEGUI.html#ad6bcb4f4d32891fc48d05605b4c6b059" title="Enumeration of possible values to indicate what a given dimension represents.">DimensionType</a> d_what;   
<a name="l00293"></a>00293     };
<a name="l00294"></a>00294 
<a name="l00295"></a>00295 
<a name="l00305"></a><a class="code" href="classCEGUI_1_1WidgetDim.html">00305</a>     <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1WidgetDim.html" title="Dimension type that represents some dimension of a Window/widget. Implements BaseDim interface...">WidgetDim</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>
<a name="l00306"></a>00306     {
<a name="l00307"></a>00307     <span class="keyword">public</span>:
<a name="l00319"></a>00319         <a class="code" href="classCEGUI_1_1WidgetDim.html" title="Dimension type that represents some dimension of a Window/widget. Implements BaseDim interface...">WidgetDim</a>(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; name, <a class="code" href="namespaceCEGUI.html#ad6bcb4f4d32891fc48d05605b4c6b059" title="Enumeration of possible values to indicate what a given dimension represents.">DimensionType</a> dim);
<a name="l00320"></a>00320 
<a name="l00331"></a>00331         <span class="keywordtype">void</span> setWidgetName(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; name);
<a name="l00332"></a>00332 
<a name="l00344"></a>00344         <span class="keywordtype">void</span> setSourceDimension(<a class="code" href="namespaceCEGUI.html#ad6bcb4f4d32891fc48d05605b4c6b059" title="Enumeration of possible values to indicate what a given dimension represents.">DimensionType</a> dim);
<a name="l00345"></a>00345 
<a name="l00346"></a>00346     <span class="keyword">protected</span>:
<a name="l00347"></a>00347         <span class="comment">// Implementation of the base class interface</span>
<a name="l00348"></a>00348         <span class="keywordtype">float</span> getValue_impl(<span class="keyword">const</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>&amp; wnd) <span class="keyword">const</span>;
<a name="l00349"></a>00349         <span class="keywordtype">float</span> getValue_impl(<span class="keyword">const</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>&amp; wnd, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a>&amp; container) <span class="keyword">const</span>;
<a name="l00350"></a>00350         <span class="keywordtype">void</span> writeXMLElementName_impl(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>&amp; xml_stream) <span class="keyword">const</span>;
<a name="l00351"></a>00351         <span class="keywordtype">void</span> writeXMLElementAttributes_impl(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>&amp; xml_stream) <span class="keyword">const</span>;
<a name="l00352"></a>00352         <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>* clone_impl() <span class="keyword">const</span>;
<a name="l00353"></a>00353 
<a name="l00354"></a>00354     <span class="keyword">private</span>:
<a name="l00355"></a>00355         <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> d_widgetName;    
<a name="l00356"></a>00356         <a class="code" href="namespaceCEGUI.html#ad6bcb4f4d32891fc48d05605b4c6b059" title="Enumeration of possible values to indicate what a given dimension represents.">DimensionType</a> d_what;   
<a name="l00357"></a>00357     };
<a name="l00358"></a>00358 
<a name="l00359"></a>00359 
<a name="l00364"></a><a class="code" href="classCEGUI_1_1UnifiedDim.html">00364</a>     <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1UnifiedDim.html" title="Dimension type that represents an Unified dimension. Implements BaseDim interface.">UnifiedDim</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>
<a name="l00365"></a>00365     {
<a name="l00366"></a>00366     <span class="keyword">public</span>:
<a name="l00379"></a>00379         <a class="code" href="classCEGUI_1_1UnifiedDim.html" title="Dimension type that represents an Unified dimension. Implements BaseDim interface.">UnifiedDim</a>(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1UDim.html" title="Class representing a unified dimension; that is a dimension that has both a relative &#39;scale&#39; portion ...">UDim</a>&amp; value, <a class="code" href="namespaceCEGUI.html#ad6bcb4f4d32891fc48d05605b4c6b059" title="Enumeration of possible values to indicate what a given dimension represents.">DimensionType</a> dim);
<a name="l00380"></a>00380 
<a name="l00381"></a>00381     <span class="keyword">protected</span>:
<a name="l00382"></a>00382         <span class="comment">// Implementation of the base class interface</span>
<a name="l00383"></a>00383         <span class="keywordtype">float</span> getValue_impl(<span class="keyword">const</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>&amp; wnd) <span class="keyword">const</span>;
<a name="l00384"></a>00384         <span class="keywordtype">float</span> getValue_impl(<span class="keyword">const</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>&amp; wnd, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a>&amp; container) <span class="keyword">const</span>;
<a name="l00385"></a>00385         <span class="keywordtype">void</span> writeXMLElementName_impl(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>&amp; xml_stream) <span class="keyword">const</span>;
<a name="l00386"></a>00386         <span class="keywordtype">void</span> writeXMLElementAttributes_impl(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>&amp; xml_stream) <span class="keyword">const</span>;
<a name="l00387"></a>00387         <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>* clone_impl() <span class="keyword">const</span>;
<a name="l00388"></a>00388 
<a name="l00389"></a>00389     <span class="keyword">private</span>:
<a name="l00390"></a>00390         <a class="code" href="classCEGUI_1_1UDim.html" title="Class representing a unified dimension; that is a dimension that has both a relative &#39;scale&#39; portion ...">UDim</a> d_value;           
<a name="l00391"></a>00391         <a class="code" href="namespaceCEGUI.html#ad6bcb4f4d32891fc48d05605b4c6b059" title="Enumeration of possible values to indicate what a given dimension represents.">DimensionType</a> d_what;   
<a name="l00392"></a>00392     };
<a name="l00393"></a>00393 
<a name="l00398"></a><a class="code" href="classCEGUI_1_1FontDim.html">00398</a>     <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1FontDim.html" title="Dimension type that represents some metric of a Font. Implements BaseDim interface.">FontDim</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>
<a name="l00399"></a>00399     {
<a name="l00400"></a>00400     <span class="keyword">public</span>:
<a name="l00423"></a>00423         <a class="code" href="classCEGUI_1_1FontDim.html" title="Dimension type that represents some metric of a Font. Implements BaseDim interface.">FontDim</a>(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; name, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; font, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; text, <a class="code" href="namespaceCEGUI.html#ae6d9d1674edc92150006fbd354516c91" title="Enumeration of possible values to indicate a particular font metric.">FontMetricType</a> metric, <span class="keywordtype">float</span> padding = 0);
<a name="l00424"></a>00424 
<a name="l00425"></a>00425     <span class="keyword">protected</span>:
<a name="l00426"></a>00426         <span class="comment">// Implementation of the base class interface</span>
<a name="l00427"></a>00427         <span class="keywordtype">float</span> getValue_impl(<span class="keyword">const</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>&amp; wnd) <span class="keyword">const</span>;
<a name="l00428"></a>00428         <span class="keywordtype">float</span> getValue_impl(<span class="keyword">const</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>&amp; wnd, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a>&amp; container) <span class="keyword">const</span>;
<a name="l00429"></a>00429         <span class="keywordtype">void</span> writeXMLElementName_impl(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>&amp; xml_stream) <span class="keyword">const</span>;
<a name="l00430"></a>00430         <span class="keywordtype">void</span> writeXMLElementAttributes_impl(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>&amp; xml_stream) <span class="keyword">const</span>;
<a name="l00431"></a>00431         <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>* clone_impl() <span class="keyword">const</span>;
<a name="l00432"></a>00432 
<a name="l00433"></a>00433     <span class="keyword">private</span>:
<a name="l00434"></a>00434         <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>  d_font;          
<a name="l00435"></a>00435         <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>  d_text;          
<a name="l00436"></a>00436         <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>  d_childSuffix;   
<a name="l00437"></a>00437         <a class="code" href="namespaceCEGUI.html#ae6d9d1674edc92150006fbd354516c91" title="Enumeration of possible values to indicate a particular font metric.">FontMetricType</a> d_metric; 
<a name="l00438"></a>00438         <span class="keywordtype">float</span>   d_padding;       
<a name="l00439"></a>00439     };
<a name="l00440"></a>00440 
<a name="l00446"></a><a class="code" href="classCEGUI_1_1PropertyDim.html">00446</a>     <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1PropertyDim.html" title="Dimension type that represents the value of a Window property. Implements BaseDim interface...">PropertyDim</a> : <span class="keyword">public</span> <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>
<a name="l00447"></a>00447     {
<a name="l00448"></a>00448     <span class="keyword">public</span>:
<a name="l00474"></a>00474         <a class="code" href="classCEGUI_1_1PropertyDim.html" title="Dimension type that represents the value of a Window property. Implements BaseDim interface...">PropertyDim</a>(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; name, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; property, <a class="code" href="namespaceCEGUI.html#ad6bcb4f4d32891fc48d05605b4c6b059" title="Enumeration of possible values to indicate what a given dimension represents.">DimensionType</a> type);
<a name="l00475"></a>00475 
<a name="l00476"></a>00476     <span class="keyword">protected</span>:
<a name="l00477"></a>00477         <span class="comment">// Implementation of the base class interface</span>
<a name="l00478"></a>00478         <span class="keywordtype">float</span> getValue_impl(<span class="keyword">const</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>&amp; wnd) <span class="keyword">const</span>;
<a name="l00479"></a>00479         <span class="keywordtype">float</span> getValue_impl(<span class="keyword">const</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>&amp; wnd, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a>&amp; container) <span class="keyword">const</span>;
<a name="l00480"></a>00480         <span class="keywordtype">void</span> writeXMLElementName_impl(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>&amp; xml_stream) <span class="keyword">const</span>;
<a name="l00481"></a>00481         <span class="keywordtype">void</span> writeXMLElementAttributes_impl(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>&amp; xml_stream) <span class="keyword">const</span>;
<a name="l00482"></a>00482         <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>* clone_impl() <span class="keyword">const</span>;
<a name="l00483"></a>00483 
<a name="l00484"></a>00484     <span class="keyword">private</span>:
<a name="l00485"></a>00485         <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> d_property;      
<a name="l00486"></a>00486         <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a> d_childSuffix;   
<a name="l00487"></a>00487         <a class="code" href="namespaceCEGUI.html#ad6bcb4f4d32891fc48d05605b4c6b059" title="Enumeration of possible values to indicate what a given dimension represents.">DimensionType</a> d_type;   
<a name="l00488"></a>00488     };
<a name="l00489"></a>00489 
<a name="l00498"></a><a class="code" href="classCEGUI_1_1Dimension.html">00498</a>     <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1Dimension.html" title="Class representing some kind of dimension.">Dimension</a>
<a name="l00499"></a>00499     {
<a name="l00500"></a>00500     <span class="keyword">public</span>:
<a name="l00505"></a>00505         <a class="code" href="classCEGUI_1_1Dimension.html" title="Class representing some kind of dimension.">Dimension</a>();
<a name="l00506"></a>00506 
<a name="l00511"></a>00511         ~<a class="code" href="classCEGUI_1_1Dimension.html" title="Class representing some kind of dimension.">Dimension</a>();
<a name="l00512"></a>00512 
<a name="l00523"></a>00523         <a class="code" href="classCEGUI_1_1Dimension.html" title="Class representing some kind of dimension.">Dimension</a>(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>&amp; dim, <a class="code" href="namespaceCEGUI.html#ad6bcb4f4d32891fc48d05605b4c6b059" title="Enumeration of possible values to indicate what a given dimension represents.">DimensionType</a> type);
<a name="l00524"></a>00524 
<a name="l00529"></a>00529         <a class="code" href="classCEGUI_1_1Dimension.html" title="Class representing some kind of dimension.">Dimension</a>(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Dimension.html" title="Class representing some kind of dimension.">Dimension</a>&amp; other);
<a name="l00530"></a>00530 
<a name="l00535"></a>00535         <a class="code" href="classCEGUI_1_1Dimension.html" title="Class representing some kind of dimension.">Dimension</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Dimension.html" title="Class representing some kind of dimension.">Dimension</a>&amp; other);
<a name="l00536"></a>00536 
<a name="l00544"></a>00544         <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>&amp; getBaseDimension() <span class="keyword">const</span>;
<a name="l00545"></a>00545 
<a name="l00556"></a>00556         <span class="keywordtype">void</span> setBaseDimension(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>&amp; dim);
<a name="l00557"></a>00557 
<a name="l00565"></a>00565         <a class="code" href="namespaceCEGUI.html#ad6bcb4f4d32891fc48d05605b4c6b059" title="Enumeration of possible values to indicate what a given dimension represents.">DimensionType</a> getDimensionType() <span class="keyword">const</span>;
<a name="l00566"></a>00566 
<a name="l00577"></a>00577         <span class="keywordtype">void</span> setDimensionType(<a class="code" href="namespaceCEGUI.html#ad6bcb4f4d32891fc48d05605b4c6b059" title="Enumeration of possible values to indicate what a given dimension represents.">DimensionType</a> type);
<a name="l00578"></a>00578 
<a name="l00589"></a>00589         <span class="keywordtype">void</span> writeXMLToStream(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>&amp; xml_stream) <span class="keyword">const</span>;
<a name="l00590"></a>00590 
<a name="l00591"></a>00591     <span class="keyword">private</span>:
<a name="l00592"></a>00592         <a class="code" href="classCEGUI_1_1BaseDim.html" title="Abstract interface for a generic &#39;dimension&#39; class.">BaseDim</a>*        d_value;    
<a name="l00593"></a>00593         <a class="code" href="namespaceCEGUI.html#ad6bcb4f4d32891fc48d05605b4c6b059" title="Enumeration of possible values to indicate what a given dimension represents.">DimensionType</a>   d_type;     
<a name="l00594"></a>00594     };
<a name="l00595"></a>00595 
<a name="l00596"></a>00596 
<a name="l00606"></a><a class="code" href="classCEGUI_1_1ComponentArea.html">00606</a>     <span class="keyword">class </span>CEGUIEXPORT <a class="code" href="classCEGUI_1_1ComponentArea.html" title="Class that represents a target area for a widget or imagery component.">ComponentArea</a>
<a name="l00607"></a>00607     {
<a name="l00608"></a>00608     <span class="keyword">public</span>:
<a name="l00620"></a>00620         <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a> getPixelRect(<span class="keyword">const</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>&amp; wnd) <span class="keyword">const</span>;
<a name="l00621"></a>00621 
<a name="l00636"></a>00636         <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a> getPixelRect(<span class="keyword">const</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>&amp; wnd, <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1Rect.html" title="Class encapsulating operations on a Rectangle.">Rect</a>&amp; container) <span class="keyword">const</span>;
<a name="l00637"></a>00637 
<a name="l00649"></a>00649         <span class="keywordtype">void</span> writeXMLToStream(<a class="code" href="classCEGUI_1_1XMLSerializer.html" title="Class used to create XML Document.">XMLSerializer</a>&amp; xml_stream) <span class="keyword">const</span>;
<a name="l00650"></a>00650 
<a name="l00659"></a>00659         <span class="keywordtype">bool</span> isAreaFetchedFromProperty() <span class="keyword">const</span>;
<a name="l00660"></a>00660 
<a name="l00668"></a>00668         <span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; getAreaPropertySource() <span class="keyword">const</span>;
<a name="l00669"></a>00669 
<a name="l00680"></a>00680         <span class="keywordtype">void</span> setAreaPropertySource(<span class="keyword">const</span> <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>&amp; property);
<a name="l00681"></a>00681 
<a name="l00682"></a>00682 
<a name="l00683"></a><a class="code" href="classCEGUI_1_1ComponentArea.html#a45f7ff493e3adb554827cd2221330f84">00683</a>         <a class="code" href="classCEGUI_1_1Dimension.html" title="Class representing some kind of dimension.">Dimension</a> <a class="code" href="classCEGUI_1_1ComponentArea.html#a45f7ff493e3adb554827cd2221330f84" title="Left edge of the area.">d_left</a>;   
<a name="l00684"></a><a class="code" href="classCEGUI_1_1ComponentArea.html#ad5553a39ee57f6279176a5f55a9c1cbf">00684</a>         <a class="code" href="classCEGUI_1_1Dimension.html" title="Class representing some kind of dimension.">Dimension</a> <a class="code" href="classCEGUI_1_1ComponentArea.html#ad5553a39ee57f6279176a5f55a9c1cbf" title="Top edge of the area.">d_top</a>;    
<a name="l00685"></a><a class="code" href="classCEGUI_1_1ComponentArea.html#a8c090d3b8eddf840b298cf70d5891cbf">00685</a>         <a class="code" href="classCEGUI_1_1Dimension.html" title="Class representing some kind of dimension.">Dimension</a> <a class="code" href="classCEGUI_1_1ComponentArea.html#a8c090d3b8eddf840b298cf70d5891cbf" title="Either the right edge or the width of the area.">d_right_or_width</a>;     
<a name="l00686"></a><a class="code" href="classCEGUI_1_1ComponentArea.html#af7e5eb1b31bfcea6a6da43d170e76a5f">00686</a>         <a class="code" href="classCEGUI_1_1Dimension.html" title="Class representing some kind of dimension.">Dimension</a> <a class="code" href="classCEGUI_1_1ComponentArea.html#af7e5eb1b31bfcea6a6da43d170e76a5f" title="Either the bototm edge or the height of the area.">d_bottom_or_height</a>;   
<a name="l00687"></a>00687 
<a name="l00688"></a>00688     <span class="keyword">private</span>:
<a name="l00689"></a>00689         <a class="code" href="classCEGUI_1_1String.html" title="String class used within the GUI system.">String</a>  d_areaProperty;         
<a name="l00690"></a>00690     };
<a name="l00691"></a>00691 
<a name="l00692"></a>00692 } <span class="comment">// End of  CEGUI namespace section</span>
<a name="l00693"></a>00693 
<a name="l00694"></a>00694 
<a name="l00695"></a>00695 <span class="preprocessor">#endif  // end of guard _CEGUIFalDimensions_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&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>