diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8/doc/html/_i_g_u_i_static_text_8h_source.html | 210 |
1 files changed, 210 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8/doc/html/_i_g_u_i_static_text_8h_source.html b/libraries/irrlicht-1.8/doc/html/_i_g_u_i_static_text_8h_source.html new file mode 100644 index 0000000..02f7e0d --- /dev/null +++ b/libraries/irrlicht-1.8/doc/html/_i_g_u_i_static_text_8h_source.html | |||
@@ -0,0 +1,210 @@ | |||
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
2 | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
3 | <head> | ||
4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | ||
5 | <title>Irrlicht 3D Engine: IGUIStaticText.h Source File</title> | ||
6 | |||
7 | <link href="tabs.css" rel="stylesheet" type="text/css"/> | ||
8 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> | ||
9 | <link href="navtree.css" rel="stylesheet" type="text/css"/> | ||
10 | <script type="text/javascript" src="jquery.js"></script> | ||
11 | <script type="text/javascript" src="resize.js"></script> | ||
12 | <script type="text/javascript" src="navtree.js"></script> | ||
13 | <script type="text/javascript"> | ||
14 | $(document).ready(initResizable); | ||
15 | </script> | ||
16 | <link href="search/search.css" rel="stylesheet" type="text/css"/> | ||
17 | <script type="text/javascript" src="search/search.js"></script> | ||
18 | <script type="text/javascript"> | ||
19 | $(document).ready(function() { searchBox.OnSelectItem(0); }); | ||
20 | </script> | ||
21 | |||
22 | </head> | ||
23 | <body> | ||
24 | <div id="top"><!-- do not remove this div! --> | ||
25 | |||
26 | |||
27 | <div id="titlearea"> | ||
28 | <table cellspacing="0" cellpadding="0"> | ||
29 | <tbody> | ||
30 | <tr style="height: 56px;"> | ||
31 | |||
32 | <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td> | ||
33 | |||
34 | |||
35 | <td style="padding-left: 0.5em;"> | ||
36 | <div id="projectname">Irrlicht 3D Engine | ||
37 | |||
38 | </div> | ||
39 | |||
40 | </td> | ||
41 | |||
42 | |||
43 | |||
44 | |||
45 | <td> <div id="MSearchBox" class="MSearchBoxInactive"> | ||
46 | <span class="left"> | ||
47 | <img id="MSearchSelect" src="search/mag_sel.png" | ||
48 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
49 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
50 | alt=""/> | ||
51 | <input type="text" id="MSearchField" value="Search" accesskey="S" | ||
52 | onfocus="searchBox.OnSearchFieldFocus(true)" | ||
53 | onblur="searchBox.OnSearchFieldFocus(false)" | ||
54 | onkeyup="searchBox.OnSearchFieldChange(event)"/> | ||
55 | </span><span class="right"> | ||
56 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> | ||
57 | </span> | ||
58 | </div> | ||
59 | </td> | ||
60 | |||
61 | |||
62 | </tr> | ||
63 | </tbody> | ||
64 | </table> | ||
65 | </div> | ||
66 | |||
67 | <!-- Generated by Doxygen 1.7.5.1 --> | ||
68 | <script type="text/javascript"> | ||
69 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); | ||
70 | </script> | ||
71 | <script type="text/javascript" src="dynsections.js"></script> | ||
72 | </div> | ||
73 | <div id="side-nav" class="ui-resizable side-nav-resizable"> | ||
74 | <div id="nav-tree"> | ||
75 | <div id="nav-tree-contents"> | ||
76 | </div> | ||
77 | </div> | ||
78 | <div id="splitbar" style="-moz-user-select:none;" | ||
79 | class="ui-resizable-handle"> | ||
80 | </div> | ||
81 | </div> | ||
82 | <script type="text/javascript"> | ||
83 | initNavTree('_i_g_u_i_static_text_8h.html',''); | ||
84 | </script> | ||
85 | <div id="doc-content"> | ||
86 | <div class="header"> | ||
87 | <div class="headertitle"> | ||
88 | <div class="title">IGUIStaticText.h</div> </div> | ||
89 | </div> | ||
90 | <div class="contents"> | ||
91 | <a href="_i_g_u_i_static_text_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (C) 2002-2012 Nikolaus Gebhardt</span> | ||
92 | <a name="l00002"></a>00002 <span class="comment">// This file is part of the "Irrlicht Engine".</span> | ||
93 | <a name="l00003"></a>00003 <span class="comment">// For conditions of distribution and use, see copyright notice in irrlicht.h</span> | ||
94 | <a name="l00004"></a>00004 | ||
95 | <a name="l00005"></a>00005 <span class="preprocessor">#ifndef __I_GUI_STATIC_TEXT_H_INCLUDED__</span> | ||
96 | <a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define __I_GUI_STATIC_TEXT_H_INCLUDED__</span> | ||
97 | <a name="l00007"></a>00007 <span class="preprocessor"></span> | ||
98 | <a name="l00008"></a>00008 <span class="preprocessor">#include "<a class="code" href="_i_g_u_i_element_8h.html">IGUIElement.h</a>"</span> | ||
99 | <a name="l00009"></a>00009 <span class="preprocessor">#include "<a class="code" href="_s_color_8h.html">SColor.h</a>"</span> | ||
100 | <a name="l00010"></a>00010 | ||
101 | <a name="l00011"></a>00011 <span class="keyword">namespace </span>irr | ||
102 | <a name="l00012"></a>00012 { | ||
103 | <a name="l00013"></a>00013 <span class="keyword">namespace </span>gui | ||
104 | <a name="l00014"></a>00014 { | ||
105 | <a name="l00015"></a>00015 <span class="keyword">class </span>IGUIFont; | ||
106 | <a name="l00016"></a>00016 | ||
107 | <a name="l00018"></a><a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html">00018</a> <span class="keyword">class </span><a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html" title="Multi or single line text label.">IGUIStaticText</a> : <span class="keyword">public</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_element.html" title="Base class of all GUI elements.">IGUIElement</a> | ||
108 | <a name="l00019"></a>00019 { | ||
109 | <a name="l00020"></a>00020 <span class="keyword">public</span>: | ||
110 | <a name="l00021"></a>00021 | ||
111 | <a name="l00023"></a><a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#a80f93a4419ad85a0f9aadfbdd26aa87d">00023</a> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#a80f93a4419ad85a0f9aadfbdd26aa87d" title="constructor">IGUIStaticText</a>(<a class="code" href="classirr_1_1gui_1_1_i_g_u_i_environment.html" title="GUI Environment. Used as factory and manager of all other GUI elements.">IGUIEnvironment</a>* environment, <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_element.html" title="Base class of all GUI elements.">IGUIElement</a>* parent, <a class="code" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> <span class="keywordtype">id</span>, <a class="code" href="classirr_1_1core_1_1rect.html">core::rect<s32></a> rectangle) | ||
112 | <a name="l00024"></a>00024 : <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_element.html" title="Base class of all GUI elements.">IGUIElement</a>(<a class="code" href="namespaceirr_1_1gui.html#ae4d66df0ecf4117cdbcf9f22404bd254aa9d5cdbea378182bcefe51b66f3812a0" title="A static text (IGUIStaticText)">EGUIET_STATIC_TEXT</a>, environment, parent, id, rectangle) {} | ||
113 | <a name="l00025"></a>00025 | ||
114 | <a name="l00027"></a>00027 | ||
115 | <a name="l00029"></a>00029 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#ae3f65780d10979eb323ee7310cff7396" title="Sets another skin independent font.">setOverrideFont</a>(<a class="code" href="classirr_1_1gui_1_1_i_g_u_i_font.html" title="Font interface.">IGUIFont</a>* font=0) = 0; | ||
116 | <a name="l00030"></a>00030 | ||
117 | <a name="l00032"></a>00032 | ||
118 | <a name="l00033"></a>00033 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_font.html" title="Font interface.">IGUIFont</a>* <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#a581f18f3ffe650246125988b3b7dc44e" title="Gets the override font (if any)">getOverrideFont</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0; | ||
119 | <a name="l00034"></a>00034 | ||
120 | <a name="l00036"></a>00036 | ||
121 | <a name="l00038"></a>00038 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_font.html" title="Font interface.">IGUIFont</a>* <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#aef001eb5d0e13b5b6d1efead606605c2" title="Get the font which is used right now for drawing.">getActiveFont</a>() <span class="keyword">const</span> = 0; | ||
122 | <a name="l00039"></a>00039 | ||
123 | <a name="l00041"></a>00041 | ||
124 | <a name="l00048"></a>00048 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#aadc1f0e10e4b298944e6dcfd49e54009" title="Sets another color for the text.">setOverrideColor</a>(<a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">video::SColor</a> color) = 0; | ||
125 | <a name="l00049"></a>00049 | ||
126 | <a name="l00051"></a>00051 | ||
127 | <a name="l00052"></a>00052 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">video::SColor</a> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#a9c4c43f262efd02a113da79bedb973e1" title="Gets the override color.">getOverrideColor</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0; | ||
128 | <a name="l00053"></a>00053 | ||
129 | <a name="l00055"></a>00055 | ||
130 | <a name="l00058"></a>00058 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#ae1f432263d4c638b0441f8b993f301bc" title="Sets if the static text should use the overide color or the color in the gui skin.">enableOverrideColor</a>(<span class="keywordtype">bool</span> enable) = 0; | ||
131 | <a name="l00059"></a>00059 | ||
132 | <a name="l00061"></a>00061 | ||
133 | <a name="l00062"></a>00062 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#a67b17803b8ad73e8d687b23ad38db37e" title="Checks if an override color is enabled.">isOverrideColorEnabled</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0; | ||
134 | <a name="l00063"></a>00063 | ||
135 | <a name="l00065"></a>00065 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#afe9b39a38851b8d4056a35e3d62996d6" title="Sets another color for the background.">setBackgroundColor</a>(<a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">video::SColor</a> color) = 0; | ||
136 | <a name="l00066"></a>00066 | ||
137 | <a name="l00068"></a>00068 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#aed8ab71280b2c1787c62565d199c0c34" title="Sets whether to draw the background.">setDrawBackground</a>(<span class="keywordtype">bool</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_element.html#a1ef7eeaff67b8a9f4f37cacdc7e54be2" title="Draws the element and its children.">draw</a>) = 0; | ||
138 | <a name="l00069"></a>00069 | ||
139 | <a name="l00071"></a>00071 | ||
140 | <a name="l00072"></a>00072 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1video_1_1_s_color.html" title="Class representing a 32 bit ARGB color.">video::SColor</a> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#a7149fff0b2c4159503f114807e0b0a83" title="Gets the background color.">getBackgroundColor</a>() <span class="keyword">const</span> = 0; | ||
141 | <a name="l00073"></a>00073 | ||
142 | <a name="l00075"></a>00075 | ||
143 | <a name="l00076"></a>00076 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#ab6da7f10a72d023729d12c85e2926aec" title="Checks if background drawing is enabled.">isDrawBackgroundEnabled</a>() <span class="keyword">const</span> = 0; | ||
144 | <a name="l00077"></a>00077 | ||
145 | <a name="l00079"></a>00079 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#a48e8662debdf36b4eb3319a5fee937c6" title="Sets whether to draw the border.">setDrawBorder</a>(<span class="keywordtype">bool</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_element.html#a1ef7eeaff67b8a9f4f37cacdc7e54be2" title="Draws the element and its children.">draw</a>) = 0; | ||
146 | <a name="l00080"></a>00080 | ||
147 | <a name="l00082"></a>00082 | ||
148 | <a name="l00083"></a>00083 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#a52478a36f77cfbc62e1f57a486e0a083" title="Checks if border drawing is enabled.">isDrawBorderEnabled</a>() <span class="keyword">const</span> = 0; | ||
149 | <a name="l00084"></a>00084 | ||
150 | <a name="l00086"></a>00086 | ||
151 | <a name="l00090"></a>00090 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#ad8635f1247971277543cfff6e1fa9277" title="Sets text justification mode.">setTextAlignment</a>(<a class="code" href="namespaceirr_1_1gui.html#a19eb5fb40e67f108cb16aba922ddaa2d">EGUI_ALIGNMENT</a> horizontal, <a class="code" href="namespaceirr_1_1gui.html#a19eb5fb40e67f108cb16aba922ddaa2d">EGUI_ALIGNMENT</a> vertical) = 0; | ||
152 | <a name="l00091"></a>00091 | ||
153 | <a name="l00093"></a>00093 | ||
154 | <a name="l00095"></a>00095 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#a2a47bc2f85ced3efc1d007c5bd61f906" title="Enables or disables word wrap for using the static text as multiline text control.">setWordWrap</a>(<span class="keywordtype">bool</span> enable) = 0; | ||
155 | <a name="l00096"></a>00096 | ||
156 | <a name="l00098"></a>00098 | ||
157 | <a name="l00099"></a>00099 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#a42d7fbdb196414a1d95146b53e6a3528" title="Checks if word wrap is enabled.">isWordWrapEnabled</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0; | ||
158 | <a name="l00100"></a>00100 | ||
159 | <a name="l00102"></a>00102 | ||
160 | <a name="l00105"></a>00105 <span class="keyword">virtual</span> <a class="code" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#a88e90c238601f17e1f0b0d79c7dc1004" title="Returns the height of the text in pixels when it is drawn.">getTextHeight</a>() <span class="keyword">const</span> = 0; | ||
161 | <a name="l00106"></a>00106 | ||
162 | <a name="l00108"></a>00108 | ||
163 | <a name="l00110"></a>00110 <span class="keyword">virtual</span> <a class="code" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#adcfbe869b6c0ab409bbde51d4cba7e5d" title="Returns the width of the current text, in the current font.">getTextWidth</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0; | ||
164 | <a name="l00111"></a>00111 | ||
165 | <a name="l00113"></a>00113 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#aaec565b5b45581470d4e524c2efac1b6" title="Set whether the text in this label should be clipped if it goes outside bounds.">setTextRestrainedInside</a>(<span class="keywordtype">bool</span> restrainedInside) = 0; | ||
166 | <a name="l00114"></a>00114 | ||
167 | <a name="l00116"></a>00116 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#a90823f5df79cfd4e2e3a20f38bc3b65a" title="Checks if the text in this label should be clipped if it goes outside bounds.">isTextRestrainedInside</a>() <span class="keyword">const</span> = 0; | ||
168 | <a name="l00117"></a>00117 | ||
169 | <a name="l00119"></a>00119 | ||
170 | <a name="l00124"></a>00124 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#a43cee247cf34faa30851f4e8c10b2367" title="Set whether the string should be interpreted as right-to-left (RTL) text.">setRightToLeft</a>(<span class="keywordtype">bool</span> rtl) = 0; | ||
171 | <a name="l00125"></a>00125 | ||
172 | <a name="l00127"></a>00127 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html#a750a43d48f16d0e89aa28a0175a06ff6" title="Checks whether the text in this element should be interpreted as right-to-left.">isRightToLeft</a>() <span class="keyword">const</span> = 0; | ||
173 | <a name="l00128"></a>00128 }; | ||
174 | <a name="l00129"></a>00129 | ||
175 | <a name="l00130"></a>00130 | ||
176 | <a name="l00131"></a>00131 } <span class="comment">// end namespace gui</span> | ||
177 | <a name="l00132"></a>00132 } <span class="comment">// end namespace irr</span> | ||
178 | <a name="l00133"></a>00133 | ||
179 | <a name="l00134"></a>00134 <span class="preprocessor">#endif</span> | ||
180 | <a name="l00135"></a>00135 <span class="preprocessor"></span> | ||
181 | </pre></div></div> | ||
182 | </div> | ||
183 | <div id="nav-path" class="navpath"> | ||
184 | <ul> | ||
185 | <li class="navelem"><a class="el" href="_i_g_u_i_static_text_8h.html">IGUIStaticText.h</a> </li> | ||
186 | <!-- window showing the filter options --> | ||
187 | <div id="MSearchSelectWindow" | ||
188 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
189 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
190 | onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
191 | <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Defines</a></div> | ||
192 | |||
193 | <!-- iframe showing the search results (closed by default) --> | ||
194 | <div id="MSearchResultsWindow"> | ||
195 | <iframe src="javascript:void(0)" frameborder="0" | ||
196 | name="MSearchResults" id="MSearchResults"> | ||
197 | </iframe> | ||
198 | </div> | ||
199 | |||
200 | |||
201 | <li class="footer"> | ||
202 | <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht | ||
203 | Engine</a> Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Tue Nov 6 2012 11:06:00 for Irrlicht 3D Engine by | ||
204 | <a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li> | ||
205 | </ul> | ||
206 | </div> | ||
207 | |||
208 | |||
209 | </body> | ||
210 | </html> | ||