diff options
Diffstat (limited to 'libraries/irrlicht-1.8/doc/html/_i_g_u_i_list_box_8h_source.html')
-rw-r--r-- | libraries/irrlicht-1.8/doc/html/_i_g_u_i_list_box_8h_source.html | 216 |
1 files changed, 216 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8/doc/html/_i_g_u_i_list_box_8h_source.html b/libraries/irrlicht-1.8/doc/html/_i_g_u_i_list_box_8h_source.html new file mode 100644 index 0000000..72b3b95 --- /dev/null +++ b/libraries/irrlicht-1.8/doc/html/_i_g_u_i_list_box_8h_source.html | |||
@@ -0,0 +1,216 @@ | |||
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: IGUIListBox.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_list_box_8h.html',''); | ||
84 | </script> | ||
85 | <div id="doc-content"> | ||
86 | <div class="header"> | ||
87 | <div class="headertitle"> | ||
88 | <div class="title">IGUIListBox.h</div> </div> | ||
89 | </div> | ||
90 | <div class="contents"> | ||
91 | <a href="_i_g_u_i_list_box_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_LIST_BOX_H_INCLUDED__</span> | ||
96 | <a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define __I_GUI_LIST_BOX_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>IGUISpriteBank; | ||
106 | <a name="l00016"></a>00016 | ||
107 | <a name="l00018"></a><a class="code" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6">00018</a> <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6" title="Enumeration for listbox colors.">EGUI_LISTBOX_COLOR</a> | ||
108 | <a name="l00019"></a>00019 { | ||
109 | <a name="l00021"></a><a class="code" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6a00c51a89e38d9aa4dd3a7f0ab9789ec1">00021</a> <a class="code" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6a00c51a89e38d9aa4dd3a7f0ab9789ec1" title="Color of text.">EGUI_LBC_TEXT</a>=0, | ||
110 | <a name="l00023"></a><a class="code" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6ac8f655274d39f5db72e2243a48aad74a">00023</a> <a class="code" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6ac8f655274d39f5db72e2243a48aad74a" title="Color of selected text.">EGUI_LBC_TEXT_HIGHLIGHT</a>, | ||
111 | <a name="l00025"></a><a class="code" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6ad8ffd444884e984f5a3c47225643c3d9">00025</a> <a class="code" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6ad8ffd444884e984f5a3c47225643c3d9" title="Color of icon.">EGUI_LBC_ICON</a>, | ||
112 | <a name="l00027"></a><a class="code" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6ad98993b3b873d7a568b971ab715c47fa">00027</a> <a class="code" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6ad98993b3b873d7a568b971ab715c47fa" title="Color of selected icon.">EGUI_LBC_ICON_HIGHLIGHT</a>, | ||
113 | <a name="l00029"></a><a class="code" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6aa6f9aa0147c6a9ec081260ce3f095d55">00029</a> <a class="code" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6aa6f9aa0147c6a9ec081260ce3f095d55" title="Not used, just counts the number of available colors.">EGUI_LBC_COUNT</a> | ||
114 | <a name="l00030"></a>00030 }; | ||
115 | <a name="l00031"></a>00031 | ||
116 | <a name="l00032"></a>00032 | ||
117 | <a name="l00034"></a>00034 | ||
118 | <a name="l00038"></a><a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html">00038</a> <span class="keyword">class </span><a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html" title="Default list box GUI element.">IGUIListBox</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> | ||
119 | <a name="l00039"></a>00039 { | ||
120 | <a name="l00040"></a>00040 <span class="keyword">public</span>: | ||
121 | <a name="l00042"></a><a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a6f6e6a84f3d2035a0874eb9f4a4d52ef">00042</a> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a6f6e6a84f3d2035a0874eb9f4a4d52ef" title="constructor">IGUIListBox</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) | ||
122 | <a name="l00043"></a>00043 : <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#ae4d66df0ecf4117cdbcf9f22404bd254a24135632b105a83bebac7871c704f2d3" title="A list box (IGUIListBox)">EGUIET_LIST_BOX</a>, environment, parent, id, rectangle) {} | ||
123 | <a name="l00044"></a>00044 | ||
124 | <a name="l00046"></a>00046 <span class="keyword">virtual</span> <a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a9ae7e4858dd1dee26efab7e7c9c94ab7" title="returns amount of list items">getItemCount</a>() <span class="keyword">const</span> = 0; | ||
125 | <a name="l00047"></a>00047 | ||
126 | <a name="l00049"></a>00049 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">wchar_t</span>* <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#af68ea08c93b0959ea464146bc1f4d82f" title="returns string of a list item. the may id be a value from 0 to itemCount-1">getListItem</a>(<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> <span class="keywordtype">id</span>) <span class="keyword">const</span> = 0; | ||
127 | <a name="l00050"></a>00050 | ||
128 | <a name="l00052"></a>00052 <span class="keyword">virtual</span> <a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a298dbba8da28248b563a906c520dc3be" title="adds an list item, returns id of item">addItem</a>(<span class="keyword">const</span> <span class="keywordtype">wchar_t</span>* text) = 0; | ||
129 | <a name="l00053"></a>00053 | ||
130 | <a name="l00055"></a>00055 | ||
131 | <a name="l00058"></a>00058 <span class="keyword">virtual</span> <a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a298dbba8da28248b563a906c520dc3be" title="adds an list item, returns id of item">addItem</a>(<span class="keyword">const</span> <span class="keywordtype">wchar_t</span>* text, <a class="code" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> icon) = 0; | ||
132 | <a name="l00059"></a>00059 | ||
133 | <a name="l00061"></a>00061 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a6c19c6db0bcf52756d9bb866063a770b" title="Removes an item from the list.">removeItem</a>(<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> index) = 0; | ||
134 | <a name="l00062"></a>00062 | ||
135 | <a name="l00064"></a>00064 | ||
136 | <a name="l00065"></a>00065 <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_list_box.html#a8e1fe86805d9b970b89878291f0ccd25" title="get the the id of the item at the given absolute coordinates">getItemAt</a>(<a class="code" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> xpos, <a class="code" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> ypos) <span class="keyword">const</span> = 0; | ||
137 | <a name="l00066"></a>00066 | ||
138 | <a name="l00068"></a>00068 <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_list_box.html#a8e5f9751a7a1a32dde5a243733b3ddc6" title="Returns the icon of an item.">getIcon</a>(<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> index) <span class="keyword">const</span> = 0; | ||
139 | <a name="l00069"></a>00069 | ||
140 | <a name="l00071"></a>00071 | ||
141 | <a name="l00075"></a>00075 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#ad139cef6f71bb8d36624b48e8a695ed4" title="Sets the sprite bank which should be used to draw list icons.">setSpriteBank</a>(<a class="code" href="classirr_1_1gui_1_1_i_g_u_i_sprite_bank.html" title="Sprite bank interface.">IGUISpriteBank</a>* bank) = 0; | ||
142 | <a name="l00076"></a>00076 | ||
143 | <a name="l00078"></a>00078 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#aaffa1f9f823dbb254c1901dba67e31c4" title="clears the list, deletes all items in the listbox">clear</a>() = 0; | ||
144 | <a name="l00079"></a>00079 | ||
145 | <a name="l00081"></a>00081 <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_list_box.html#a321626d92d63ce5c309466201a02b12d" title="returns id of selected item. returns -1 if no item is selected.">getSelected</a>() <span class="keyword">const</span> = 0; | ||
146 | <a name="l00082"></a>00082 | ||
147 | <a name="l00084"></a>00084 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#ac981fa5b285115333b67202819230f6f" title="sets the selected item. Set this to -1 if no item should be selected">setSelected</a>(<a class="code" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> index) = 0; | ||
148 | <a name="l00085"></a>00085 | ||
149 | <a name="l00087"></a>00087 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#ac981fa5b285115333b67202819230f6f" title="sets the selected item. Set this to -1 if no item should be selected">setSelected</a>(<span class="keyword">const</span> <span class="keywordtype">wchar_t</span> *item) = 0; | ||
150 | <a name="l00088"></a>00088 | ||
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_list_box.html#a4d8ada56cafff847e98564283b2d06ac" title="set whether the listbox should scroll to newly selected items">setAutoScrollEnabled</a>(<span class="keywordtype">bool</span> scroll) = 0; | ||
152 | <a name="l00091"></a>00091 | ||
153 | <a name="l00093"></a>00093 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#af04876e1e3173e9c13bb099076743137" title="returns true if automatic scrolling is enabled, false if not.">isAutoScrollEnabled</a>() <span class="keyword">const</span> = 0; | ||
154 | <a name="l00094"></a>00094 | ||
155 | <a name="l00096"></a>00096 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#ae2f09b02e7428175e13fa6b3216ced67" title="set all item colors at given index to color">setItemOverrideColor</a>(<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> index, <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; | ||
156 | <a name="l00097"></a>00097 | ||
157 | <a name="l00099"></a>00099 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#ae2f09b02e7428175e13fa6b3216ced67" title="set all item colors at given index to color">setItemOverrideColor</a>(<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> index, <a class="code" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6" title="Enumeration for listbox colors.">EGUI_LISTBOX_COLOR</a> colorType, <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; | ||
158 | <a name="l00100"></a>00100 | ||
159 | <a name="l00102"></a>00102 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#aca681d4d4814cde0678109e3bce2471e" title="clear all item colors at index">clearItemOverrideColor</a>(<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> index) = 0; | ||
160 | <a name="l00103"></a>00103 | ||
161 | <a name="l00105"></a>00105 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#aca681d4d4814cde0678109e3bce2471e" title="clear all item colors at index">clearItemOverrideColor</a>(<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> index, <a class="code" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6" title="Enumeration for listbox colors.">EGUI_LISTBOX_COLOR</a> colorType) = 0; | ||
162 | <a name="l00106"></a>00106 | ||
163 | <a name="l00108"></a>00108 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a8399578154c3cbfcdd23f3b7009c448d" title="has the item at index its color overwritten?">hasItemOverrideColor</a>(<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> index, <a class="code" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6" title="Enumeration for listbox colors.">EGUI_LISTBOX_COLOR</a> colorType) <span class="keyword">const</span> = 0; | ||
164 | <a name="l00109"></a>00109 | ||
165 | <a name="l00111"></a>00111 <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_list_box.html#a504c669eae86307521b643288c4ef196" title="return the overwrite color at given item index.">getItemOverrideColor</a>(<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> index, <a class="code" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6" title="Enumeration for listbox colors.">EGUI_LISTBOX_COLOR</a> colorType) <span class="keyword">const</span> = 0; | ||
166 | <a name="l00112"></a>00112 | ||
167 | <a name="l00114"></a>00114 <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_list_box.html#ae755a88721a458b3255df08519b72e85" title="return the default color which is used for the given colorType">getItemDefaultColor</a>(<a class="code" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6" title="Enumeration for listbox colors.">EGUI_LISTBOX_COLOR</a> colorType) <span class="keyword">const</span> = 0; | ||
168 | <a name="l00115"></a>00115 | ||
169 | <a name="l00117"></a>00117 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a643ca28110a7de59a378e5ba79b1c37a" title="set the item at the given index">setItem</a>(<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> index, <span class="keyword">const</span> <span class="keywordtype">wchar_t</span>* text, <a class="code" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> icon) = 0; | ||
170 | <a name="l00118"></a>00118 | ||
171 | <a name="l00120"></a>00120 | ||
172 | <a name="l00121"></a>00121 <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_list_box.html#a1da5cc33687efee5ff1e33ab9f0d5b26" title="Insert the item at the given index.">insertItem</a>(<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> index, <span class="keyword">const</span> <span class="keywordtype">wchar_t</span>* text, <a class="code" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> icon) = 0; | ||
173 | <a name="l00122"></a>00122 | ||
174 | <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_list_box.html#accb47d6f72558ea5d3034b3e4e4ccd81" title="Swap the items at the given indices.">swapItems</a>(<a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> index1, <a class="code" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> index2) = 0; | ||
175 | <a name="l00125"></a>00125 | ||
176 | <a name="l00127"></a>00127 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a83fb9c6f32039a39197cf799dd5e0c8f" title="set global itemHeight">setItemHeight</a>( <a class="code" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> height ) = 0; | ||
177 | <a name="l00128"></a>00128 | ||
178 | <a name="l00130"></a>00130 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#ad323fdf0b083dbc1870d7fa5869cff8f" 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; | ||
179 | <a name="l00131"></a>00131 }; | ||
180 | <a name="l00132"></a>00132 | ||
181 | <a name="l00133"></a>00133 | ||
182 | <a name="l00134"></a>00134 } <span class="comment">// end namespace gui</span> | ||
183 | <a name="l00135"></a>00135 } <span class="comment">// end namespace irr</span> | ||
184 | <a name="l00136"></a>00136 | ||
185 | <a name="l00137"></a>00137 <span class="preprocessor">#endif</span> | ||
186 | <a name="l00138"></a>00138 <span class="preprocessor"></span> | ||
187 | </pre></div></div> | ||
188 | </div> | ||
189 | <div id="nav-path" class="navpath"> | ||
190 | <ul> | ||
191 | <li class="navelem"><a class="el" href="_i_g_u_i_list_box_8h.html">IGUIListBox.h</a> </li> | ||
192 | <!-- window showing the filter options --> | ||
193 | <div id="MSearchSelectWindow" | ||
194 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
195 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
196 | onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
197 | <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> | ||
198 | |||
199 | <!-- iframe showing the search results (closed by default) --> | ||
200 | <div id="MSearchResultsWindow"> | ||
201 | <iframe src="javascript:void(0)" frameborder="0" | ||
202 | name="MSearchResults" id="MSearchResults"> | ||
203 | </iframe> | ||
204 | </div> | ||
205 | |||
206 | |||
207 | <li class="footer"> | ||
208 | <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht | ||
209 | Engine</a> Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Tue Nov 6 2012 11:06:00 for Irrlicht 3D Engine by | ||
210 | <a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li> | ||
211 | </ul> | ||
212 | </div> | ||
213 | |||
214 | |||
215 | </body> | ||
216 | </html> | ||