diff options
Diffstat (limited to 'libraries/irrlicht-1.8.1/doc/html/classirr_1_1gui_1_1_i_g_u_i_list_box.html')
-rw-r--r-- | libraries/irrlicht-1.8.1/doc/html/classirr_1_1gui_1_1_i_g_u_i_list_box.html | 852 |
1 files changed, 852 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8.1/doc/html/classirr_1_1gui_1_1_i_g_u_i_list_box.html b/libraries/irrlicht-1.8.1/doc/html/classirr_1_1gui_1_1_i_g_u_i_list_box.html new file mode 100644 index 0000000..d5c7790 --- /dev/null +++ b/libraries/irrlicht-1.8.1/doc/html/classirr_1_1gui_1_1_i_g_u_i_list_box.html | |||
@@ -0,0 +1,852 @@ | |||
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: irr::gui::IGUIListBox Class Reference</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('classirr_1_1gui_1_1_i_g_u_i_list_box.html',''); | ||
84 | </script> | ||
85 | <div id="doc-content"> | ||
86 | <div class="header"> | ||
87 | <div class="summary"> | ||
88 | <a href="#pub-methods">Public Member Functions</a> </div> | ||
89 | <div class="headertitle"> | ||
90 | <div class="title">irr::gui::IGUIListBox Class Reference</div> </div> | ||
91 | </div> | ||
92 | <div class="contents"> | ||
93 | <!-- doxytag: class="irr::gui::IGUIListBox" --><!-- doxytag: inherits="irr::gui::IGUIElement" --> | ||
94 | <p>Default list box GUI element. | ||
95 | <a href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#details">More...</a></p> | ||
96 | |||
97 | <p><code>#include <<a class="el" href="_i_g_u_i_list_box_8h_source.html">IGUIListBox.h</a>></code></p> | ||
98 | <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | ||
99 | <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for irr::gui::IGUIListBox:</div> | ||
100 | <div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | ||
101 | </div> | ||
102 | <div id="dynsection-0-content" class="dyncontent" style="display:none;"> | ||
103 | <div class="center"> | ||
104 | <img src="classirr_1_1gui_1_1_i_g_u_i_list_box.png" usemap="#irr::gui::IGUIListBox_map" alt=""/> | ||
105 | <map id="irr::gui::IGUIListBox_map" name="irr::gui::IGUIListBox_map"> | ||
106 | <area href="classirr_1_1gui_1_1_i_g_u_i_element.html" title="Base class of all GUI elements." alt="irr::gui::IGUIElement" shape="rect" coords="105,112,305,136"/> | ||
107 | <area href="classirr_1_1io_1_1_i_attribute_exchanging_object.html" title="An object which is able to serialize and deserialize its attributes into an attributes object..." alt="irr::io::IAttributeExchangingObject" shape="rect" coords="0,56,200,80"/> | ||
108 | <area href="classirr_1_1_i_event_receiver.html" title="Interface of an object which can receive events." alt="irr::IEventReceiver" shape="rect" coords="210,56,410,80"/> | ||
109 | <area href="classirr_1_1_i_reference_counted.html" title="Base class of most objects of the Irrlicht Engine." alt="irr::IReferenceCounted" shape="rect" coords="0,0,200,24"/> | ||
110 | </map> | ||
111 | </div></div> | ||
112 | |||
113 | <p><a href="classirr_1_1gui_1_1_i_g_u_i_list_box-members.html">List of all members.</a></p> | ||
114 | <h2><a name="pub-methods"></a> | ||
115 | Public Member Functions</h2> | ||
116 | <ul> | ||
117 | <li><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a6f6e6a84f3d2035a0874eb9f4a4d52ef">IGUIListBox</a> (<a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html">IGUIEnvironment</a> *environment, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id, <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > rectangle) | ||
118 | <dl class="el"><dd class="mdescRight">constructor <a href="#a6f6e6a84f3d2035a0874eb9f4a4d52ef"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a298dbba8da28248b563a906c520dc3be">addItem</a> (const wchar_t *text)=0 | ||
119 | <dl class="el"><dd class="mdescRight">adds an list item, returns id of item <a href="#a298dbba8da28248b563a906c520dc3be"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a2cfc2ff5f8f5114a92bd3618e79327e0">addItem</a> (const wchar_t *text, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> icon)=0 | ||
120 | <dl class="el"><dd class="mdescRight">adds an list item with an icon <a href="#a2cfc2ff5f8f5114a92bd3618e79327e0"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#aaffa1f9f823dbb254c1901dba67e31c4">clear</a> ()=0 | ||
121 | <dl class="el"><dd class="mdescRight">clears the list, deletes all items in the listbox <a href="#aaffa1f9f823dbb254c1901dba67e31c4"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#aca681d4d4814cde0678109e3bce2471e">clearItemOverrideColor</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index)=0 | ||
122 | <dl class="el"><dd class="mdescRight">clear all item colors at index <a href="#aca681d4d4814cde0678109e3bce2471e"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#aa0bb8fd96be94e8de5d4496b7d5e2ffd">clearItemOverrideColor</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index, <a class="el" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6">EGUI_LISTBOX_COLOR</a> colorType)=0 | ||
123 | <dl class="el"><dd class="mdescRight">clear item color at index for given colortype <a href="#aa0bb8fd96be94e8de5d4496b7d5e2ffd"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a8e5f9751a7a1a32dde5a243733b3ddc6">getIcon</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index) const =0 | ||
124 | <dl class="el"><dd class="mdescRight">Returns the icon of an item. <a href="#a8e5f9751a7a1a32dde5a243733b3ddc6"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a8e1fe86805d9b970b89878291f0ccd25">getItemAt</a> (<a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> xpos, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> ypos) const =0 | ||
125 | <dl class="el"><dd class="mdescRight">get the the id of the item at the given absolute coordinates <a href="#a8e1fe86805d9b970b89878291f0ccd25"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a9ae7e4858dd1dee26efab7e7c9c94ab7">getItemCount</a> () const =0 | ||
126 | <dl class="el"><dd class="mdescRight">returns amount of list items <a href="#a9ae7e4858dd1dee26efab7e7c9c94ab7"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#ae755a88721a458b3255df08519b72e85">getItemDefaultColor</a> (<a class="el" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6">EGUI_LISTBOX_COLOR</a> colorType) const =0 | ||
127 | <dl class="el"><dd class="mdescRight">return the default color which is used for the given colorType <a href="#ae755a88721a458b3255df08519b72e85"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a504c669eae86307521b643288c4ef196">getItemOverrideColor</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index, <a class="el" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6">EGUI_LISTBOX_COLOR</a> colorType) const =0 | ||
128 | <dl class="el"><dd class="mdescRight">return the overwrite color at given item index. <a href="#a504c669eae86307521b643288c4ef196"></a><br/></dl><li>virtual const wchar_t * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#af68ea08c93b0959ea464146bc1f4d82f">getListItem</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> id) const =0 | ||
129 | <dl class="el"><dd class="mdescRight">returns string of a list item. the may id be a value from 0 to itemCount-1 <a href="#af68ea08c93b0959ea464146bc1f4d82f"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a321626d92d63ce5c309466201a02b12d">getSelected</a> () const =0 | ||
130 | <dl class="el"><dd class="mdescRight">returns id of selected item. returns -1 if no item is selected. <a href="#a321626d92d63ce5c309466201a02b12d"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a8399578154c3cbfcdd23f3b7009c448d">hasItemOverrideColor</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index, <a class="el" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6">EGUI_LISTBOX_COLOR</a> colorType) const =0 | ||
131 | <dl class="el"><dd class="mdescRight">has the item at index its color overwritten? <a href="#a8399578154c3cbfcdd23f3b7009c448d"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a1da5cc33687efee5ff1e33ab9f0d5b26">insertItem</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index, const wchar_t *text, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> icon)=0 | ||
132 | <dl class="el"><dd class="mdescRight">Insert the item at the given index. <a href="#a1da5cc33687efee5ff1e33ab9f0d5b26"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#af04876e1e3173e9c13bb099076743137">isAutoScrollEnabled</a> () const =0 | ||
133 | <dl class="el"><dd class="mdescRight">returns true if automatic scrolling is enabled, false if not. <a href="#af04876e1e3173e9c13bb099076743137"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a6c19c6db0bcf52756d9bb866063a770b">removeItem</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index)=0 | ||
134 | <dl class="el"><dd class="mdescRight">Removes an item from the list. <a href="#a6c19c6db0bcf52756d9bb866063a770b"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a4d8ada56cafff847e98564283b2d06ac">setAutoScrollEnabled</a> (bool scroll)=0 | ||
135 | <dl class="el"><dd class="mdescRight">set whether the listbox should scroll to newly selected items <a href="#a4d8ada56cafff847e98564283b2d06ac"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#ad323fdf0b083dbc1870d7fa5869cff8f">setDrawBackground</a> (bool draw)=0 | ||
136 | <dl class="el"><dd class="mdescRight">Sets whether to draw the background. <a href="#ad323fdf0b083dbc1870d7fa5869cff8f"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a643ca28110a7de59a378e5ba79b1c37a">setItem</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index, const wchar_t *text, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> icon)=0 | ||
137 | <dl class="el"><dd class="mdescRight">set the item at the given index <a href="#a643ca28110a7de59a378e5ba79b1c37a"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a83fb9c6f32039a39197cf799dd5e0c8f">setItemHeight</a> (<a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> height)=0 | ||
138 | <dl class="el"><dd class="mdescRight">set global itemHeight <a href="#a83fb9c6f32039a39197cf799dd5e0c8f"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#ae2f09b02e7428175e13fa6b3216ced67">setItemOverrideColor</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index, <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> color)=0 | ||
139 | <dl class="el"><dd class="mdescRight">set all item colors at given index to color <a href="#ae2f09b02e7428175e13fa6b3216ced67"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#a84444d888931d79dcc50a8f229aad2c7">setItemOverrideColor</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index, <a class="el" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6">EGUI_LISTBOX_COLOR</a> colorType, <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> color)=0 | ||
140 | <dl class="el"><dd class="mdescRight">set all item colors of specified type at given index to color <a href="#a84444d888931d79dcc50a8f229aad2c7"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#ac981fa5b285115333b67202819230f6f">setSelected</a> (<a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> index)=0 | ||
141 | <dl class="el"><dd class="mdescRight">sets the selected item. Set this to -1 if no item should be selected <a href="#ac981fa5b285115333b67202819230f6f"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#aa6031e2a0ecbcfe80484d8271b1c9529">setSelected</a> (const wchar_t *item)=0 | ||
142 | <dl class="el"><dd class="mdescRight">sets the selected item. Set this to 0 if no item should be selected <a href="#aa6031e2a0ecbcfe80484d8271b1c9529"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#ad139cef6f71bb8d36624b48e8a695ed4">setSpriteBank</a> (<a class="el" href="classirr_1_1gui_1_1_i_g_u_i_sprite_bank.html">IGUISpriteBank</a> *bank)=0 | ||
143 | <dl class="el"><dd class="mdescRight">Sets the sprite bank which should be used to draw list icons. <a href="#ad139cef6f71bb8d36624b48e8a695ed4"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html#accb47d6f72558ea5d3034b3e4e4ccd81">swapItems</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index1, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index2)=0 | ||
144 | <dl class="el"><dd class="mdescRight">Swap the items at the given indices. <a href="#accb47d6f72558ea5d3034b3e4e4ccd81"></a><br/></dl></ul> | ||
145 | <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> | ||
146 | <div class="textblock"><p>Default list box GUI element. </p> | ||
147 | <dl class="user"><dt><b>This element can create the following events of type EGUI_EVENT_TYPE:</b></dt><dd><ul> | ||
148 | <li>EGET_LISTBOX_CHANGED </li> | ||
149 | <li>EGET_LISTBOX_SELECTED_AGAIN </li> | ||
150 | </ul> | ||
151 | </dd></dl> | ||
152 | |||
153 | <p>Definition at line <a class="el" href="_i_g_u_i_list_box_8h_source.html#l00038">38</a> of file <a class="el" href="_i_g_u_i_list_box_8h_source.html">IGUIListBox.h</a>.</p> | ||
154 | </div><hr/><h2>Constructor & Destructor Documentation</h2> | ||
155 | <a class="anchor" id="a6f6e6a84f3d2035a0874eb9f4a4d52ef"></a><!-- doxytag: member="irr::gui::IGUIListBox::IGUIListBox" ref="a6f6e6a84f3d2035a0874eb9f4a4d52ef" args="(IGUIEnvironment *environment, IGUIElement *parent, s32 id, core::rect< s32 > rectangle)" --> | ||
156 | <div class="memitem"> | ||
157 | <div class="memproto"> | ||
158 | <table class="memname"> | ||
159 | <tr> | ||
160 | <td class="memname">irr::gui::IGUIListBox::IGUIListBox </td> | ||
161 | <td>(</td> | ||
162 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html">IGUIEnvironment</a> * </td> | ||
163 | <td class="paramname"><em>environment</em>, </td> | ||
164 | </tr> | ||
165 | <tr> | ||
166 | <td class="paramkey"></td> | ||
167 | <td></td> | ||
168 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
169 | <td class="paramname"><em>parent</em>, </td> | ||
170 | </tr> | ||
171 | <tr> | ||
172 | <td class="paramkey"></td> | ||
173 | <td></td> | ||
174 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
175 | <td class="paramname"><em>id</em>, </td> | ||
176 | </tr> | ||
177 | <tr> | ||
178 | <td class="paramkey"></td> | ||
179 | <td></td> | ||
180 | <td class="paramtype"><a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > </td> | ||
181 | <td class="paramname"><em>rectangle</em> </td> | ||
182 | </tr> | ||
183 | <tr> | ||
184 | <td></td> | ||
185 | <td>)</td> | ||
186 | <td></td><td><code> [inline]</code></td> | ||
187 | </tr> | ||
188 | </table> | ||
189 | </div> | ||
190 | <div class="memdoc"> | ||
191 | |||
192 | <p>constructor </p> | ||
193 | |||
194 | <p>Definition at line <a class="el" href="_i_g_u_i_list_box_8h_source.html#l00042">42</a> of file <a class="el" href="_i_g_u_i_list_box_8h_source.html">IGUIListBox.h</a>.</p> | ||
195 | |||
196 | </div> | ||
197 | </div> | ||
198 | <hr/><h2>Member Function Documentation</h2> | ||
199 | <a class="anchor" id="a298dbba8da28248b563a906c520dc3be"></a><!-- doxytag: member="irr::gui::IGUIListBox::addItem" ref="a298dbba8da28248b563a906c520dc3be" args="(const wchar_t *text)=0" --> | ||
200 | <div class="memitem"> | ||
201 | <div class="memproto"> | ||
202 | <table class="memname"> | ||
203 | <tr> | ||
204 | <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::gui::IGUIListBox::addItem </td> | ||
205 | <td>(</td> | ||
206 | <td class="paramtype">const wchar_t * </td> | ||
207 | <td class="paramname"><em>text</em></td><td>)</td> | ||
208 | <td><code> [pure virtual]</code></td> | ||
209 | </tr> | ||
210 | </table> | ||
211 | </div> | ||
212 | <div class="memdoc"> | ||
213 | |||
214 | <p>adds an list item, returns id of item </p> | ||
215 | |||
216 | </div> | ||
217 | </div> | ||
218 | <a class="anchor" id="a2cfc2ff5f8f5114a92bd3618e79327e0"></a><!-- doxytag: member="irr::gui::IGUIListBox::addItem" ref="a2cfc2ff5f8f5114a92bd3618e79327e0" args="(const wchar_t *text, s32 icon)=0" --> | ||
219 | <div class="memitem"> | ||
220 | <div class="memproto"> | ||
221 | <table class="memname"> | ||
222 | <tr> | ||
223 | <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::gui::IGUIListBox::addItem </td> | ||
224 | <td>(</td> | ||
225 | <td class="paramtype">const wchar_t * </td> | ||
226 | <td class="paramname"><em>text</em>, </td> | ||
227 | </tr> | ||
228 | <tr> | ||
229 | <td class="paramkey"></td> | ||
230 | <td></td> | ||
231 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
232 | <td class="paramname"><em>icon</em> </td> | ||
233 | </tr> | ||
234 | <tr> | ||
235 | <td></td> | ||
236 | <td>)</td> | ||
237 | <td></td><td><code> [pure virtual]</code></td> | ||
238 | </tr> | ||
239 | </table> | ||
240 | </div> | ||
241 | <div class="memdoc"> | ||
242 | |||
243 | <p>adds an list item with an icon </p> | ||
244 | <dl><dt><b>Parameters:</b></dt><dd> | ||
245 | <table class="params"> | ||
246 | <tr><td class="paramname">text</td><td>Text of list entry </td></tr> | ||
247 | <tr><td class="paramname">icon</td><td>Sprite index of the Icon within the current sprite bank. Set it to -1 if you want no icon </td></tr> | ||
248 | </table> | ||
249 | </dd> | ||
250 | </dl> | ||
251 | <dl class="return"><dt><b>Returns:</b></dt><dd>The id of the new created item </dd></dl> | ||
252 | |||
253 | </div> | ||
254 | </div> | ||
255 | <a class="anchor" id="aaffa1f9f823dbb254c1901dba67e31c4"></a><!-- doxytag: member="irr::gui::IGUIListBox::clear" ref="aaffa1f9f823dbb254c1901dba67e31c4" args="()=0" --> | ||
256 | <div class="memitem"> | ||
257 | <div class="memproto"> | ||
258 | <table class="memname"> | ||
259 | <tr> | ||
260 | <td class="memname">virtual void irr::gui::IGUIListBox::clear </td> | ||
261 | <td>(</td> | ||
262 | <td class="paramname"></td><td>)</td> | ||
263 | <td><code> [pure virtual]</code></td> | ||
264 | </tr> | ||
265 | </table> | ||
266 | </div> | ||
267 | <div class="memdoc"> | ||
268 | |||
269 | <p>clears the list, deletes all items in the listbox </p> | ||
270 | |||
271 | </div> | ||
272 | </div> | ||
273 | <a class="anchor" id="aca681d4d4814cde0678109e3bce2471e"></a><!-- doxytag: member="irr::gui::IGUIListBox::clearItemOverrideColor" ref="aca681d4d4814cde0678109e3bce2471e" args="(u32 index)=0" --> | ||
274 | <div class="memitem"> | ||
275 | <div class="memproto"> | ||
276 | <table class="memname"> | ||
277 | <tr> | ||
278 | <td class="memname">virtual void irr::gui::IGUIListBox::clearItemOverrideColor </td> | ||
279 | <td>(</td> | ||
280 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
281 | <td class="paramname"><em>index</em></td><td>)</td> | ||
282 | <td><code> [pure virtual]</code></td> | ||
283 | </tr> | ||
284 | </table> | ||
285 | </div> | ||
286 | <div class="memdoc"> | ||
287 | |||
288 | <p>clear all item colors at index </p> | ||
289 | |||
290 | </div> | ||
291 | </div> | ||
292 | <a class="anchor" id="aa0bb8fd96be94e8de5d4496b7d5e2ffd"></a><!-- doxytag: member="irr::gui::IGUIListBox::clearItemOverrideColor" ref="aa0bb8fd96be94e8de5d4496b7d5e2ffd" args="(u32 index, EGUI_LISTBOX_COLOR colorType)=0" --> | ||
293 | <div class="memitem"> | ||
294 | <div class="memproto"> | ||
295 | <table class="memname"> | ||
296 | <tr> | ||
297 | <td class="memname">virtual void irr::gui::IGUIListBox::clearItemOverrideColor </td> | ||
298 | <td>(</td> | ||
299 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
300 | <td class="paramname"><em>index</em>, </td> | ||
301 | </tr> | ||
302 | <tr> | ||
303 | <td class="paramkey"></td> | ||
304 | <td></td> | ||
305 | <td class="paramtype"><a class="el" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6">EGUI_LISTBOX_COLOR</a> </td> | ||
306 | <td class="paramname"><em>colorType</em> </td> | ||
307 | </tr> | ||
308 | <tr> | ||
309 | <td></td> | ||
310 | <td>)</td> | ||
311 | <td></td><td><code> [pure virtual]</code></td> | ||
312 | </tr> | ||
313 | </table> | ||
314 | </div> | ||
315 | <div class="memdoc"> | ||
316 | |||
317 | <p>clear item color at index for given colortype </p> | ||
318 | |||
319 | </div> | ||
320 | </div> | ||
321 | <a class="anchor" id="a8e5f9751a7a1a32dde5a243733b3ddc6"></a><!-- doxytag: member="irr::gui::IGUIListBox::getIcon" ref="a8e5f9751a7a1a32dde5a243733b3ddc6" args="(u32 index) const =0" --> | ||
322 | <div class="memitem"> | ||
323 | <div class="memproto"> | ||
324 | <table class="memname"> | ||
325 | <tr> | ||
326 | <td class="memname">virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> irr::gui::IGUIListBox::getIcon </td> | ||
327 | <td>(</td> | ||
328 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
329 | <td class="paramname"><em>index</em></td><td>)</td> | ||
330 | <td> const<code> [pure virtual]</code></td> | ||
331 | </tr> | ||
332 | </table> | ||
333 | </div> | ||
334 | <div class="memdoc"> | ||
335 | |||
336 | <p>Returns the icon of an item. </p> | ||
337 | |||
338 | </div> | ||
339 | </div> | ||
340 | <a class="anchor" id="a8e1fe86805d9b970b89878291f0ccd25"></a><!-- doxytag: member="irr::gui::IGUIListBox::getItemAt" ref="a8e1fe86805d9b970b89878291f0ccd25" args="(s32 xpos, s32 ypos) const =0" --> | ||
341 | <div class="memitem"> | ||
342 | <div class="memproto"> | ||
343 | <table class="memname"> | ||
344 | <tr> | ||
345 | <td class="memname">virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> irr::gui::IGUIListBox::getItemAt </td> | ||
346 | <td>(</td> | ||
347 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
348 | <td class="paramname"><em>xpos</em>, </td> | ||
349 | </tr> | ||
350 | <tr> | ||
351 | <td class="paramkey"></td> | ||
352 | <td></td> | ||
353 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
354 | <td class="paramname"><em>ypos</em> </td> | ||
355 | </tr> | ||
356 | <tr> | ||
357 | <td></td> | ||
358 | <td>)</td> | ||
359 | <td></td><td> const<code> [pure virtual]</code></td> | ||
360 | </tr> | ||
361 | </table> | ||
362 | </div> | ||
363 | <div class="memdoc"> | ||
364 | |||
365 | <p>get the the id of the item at the given absolute coordinates </p> | ||
366 | <dl class="return"><dt><b>Returns:</b></dt><dd>The id of the listitem or -1 when no item is at those coordinates </dd></dl> | ||
367 | |||
368 | </div> | ||
369 | </div> | ||
370 | <a class="anchor" id="a9ae7e4858dd1dee26efab7e7c9c94ab7"></a><!-- doxytag: member="irr::gui::IGUIListBox::getItemCount" ref="a9ae7e4858dd1dee26efab7e7c9c94ab7" args="() const =0" --> | ||
371 | <div class="memitem"> | ||
372 | <div class="memproto"> | ||
373 | <table class="memname"> | ||
374 | <tr> | ||
375 | <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::gui::IGUIListBox::getItemCount </td> | ||
376 | <td>(</td> | ||
377 | <td class="paramname"></td><td>)</td> | ||
378 | <td> const<code> [pure virtual]</code></td> | ||
379 | </tr> | ||
380 | </table> | ||
381 | </div> | ||
382 | <div class="memdoc"> | ||
383 | |||
384 | <p>returns amount of list items </p> | ||
385 | |||
386 | </div> | ||
387 | </div> | ||
388 | <a class="anchor" id="ae755a88721a458b3255df08519b72e85"></a><!-- doxytag: member="irr::gui::IGUIListBox::getItemDefaultColor" ref="ae755a88721a458b3255df08519b72e85" args="(EGUI_LISTBOX_COLOR colorType) const =0" --> | ||
389 | <div class="memitem"> | ||
390 | <div class="memproto"> | ||
391 | <table class="memname"> | ||
392 | <tr> | ||
393 | <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> irr::gui::IGUIListBox::getItemDefaultColor </td> | ||
394 | <td>(</td> | ||
395 | <td class="paramtype"><a class="el" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6">EGUI_LISTBOX_COLOR</a> </td> | ||
396 | <td class="paramname"><em>colorType</em></td><td>)</td> | ||
397 | <td> const<code> [pure virtual]</code></td> | ||
398 | </tr> | ||
399 | </table> | ||
400 | </div> | ||
401 | <div class="memdoc"> | ||
402 | |||
403 | <p>return the default color which is used for the given colorType </p> | ||
404 | |||
405 | </div> | ||
406 | </div> | ||
407 | <a class="anchor" id="a504c669eae86307521b643288c4ef196"></a><!-- doxytag: member="irr::gui::IGUIListBox::getItemOverrideColor" ref="a504c669eae86307521b643288c4ef196" args="(u32 index, EGUI_LISTBOX_COLOR colorType) const =0" --> | ||
408 | <div class="memitem"> | ||
409 | <div class="memproto"> | ||
410 | <table class="memname"> | ||
411 | <tr> | ||
412 | <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> irr::gui::IGUIListBox::getItemOverrideColor </td> | ||
413 | <td>(</td> | ||
414 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
415 | <td class="paramname"><em>index</em>, </td> | ||
416 | </tr> | ||
417 | <tr> | ||
418 | <td class="paramkey"></td> | ||
419 | <td></td> | ||
420 | <td class="paramtype"><a class="el" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6">EGUI_LISTBOX_COLOR</a> </td> | ||
421 | <td class="paramname"><em>colorType</em> </td> | ||
422 | </tr> | ||
423 | <tr> | ||
424 | <td></td> | ||
425 | <td>)</td> | ||
426 | <td></td><td> const<code> [pure virtual]</code></td> | ||
427 | </tr> | ||
428 | </table> | ||
429 | </div> | ||
430 | <div class="memdoc"> | ||
431 | |||
432 | <p>return the overwrite color at given item index. </p> | ||
433 | |||
434 | </div> | ||
435 | </div> | ||
436 | <a class="anchor" id="af68ea08c93b0959ea464146bc1f4d82f"></a><!-- doxytag: member="irr::gui::IGUIListBox::getListItem" ref="af68ea08c93b0959ea464146bc1f4d82f" args="(u32 id) const =0" --> | ||
437 | <div class="memitem"> | ||
438 | <div class="memproto"> | ||
439 | <table class="memname"> | ||
440 | <tr> | ||
441 | <td class="memname">virtual const wchar_t* irr::gui::IGUIListBox::getListItem </td> | ||
442 | <td>(</td> | ||
443 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
444 | <td class="paramname"><em>id</em></td><td>)</td> | ||
445 | <td> const<code> [pure virtual]</code></td> | ||
446 | </tr> | ||
447 | </table> | ||
448 | </div> | ||
449 | <div class="memdoc"> | ||
450 | |||
451 | <p>returns string of a list item. the may id be a value from 0 to itemCount-1 </p> | ||
452 | |||
453 | </div> | ||
454 | </div> | ||
455 | <a class="anchor" id="a321626d92d63ce5c309466201a02b12d"></a><!-- doxytag: member="irr::gui::IGUIListBox::getSelected" ref="a321626d92d63ce5c309466201a02b12d" args="() const =0" --> | ||
456 | <div class="memitem"> | ||
457 | <div class="memproto"> | ||
458 | <table class="memname"> | ||
459 | <tr> | ||
460 | <td class="memname">virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> irr::gui::IGUIListBox::getSelected </td> | ||
461 | <td>(</td> | ||
462 | <td class="paramname"></td><td>)</td> | ||
463 | <td> const<code> [pure virtual]</code></td> | ||
464 | </tr> | ||
465 | </table> | ||
466 | </div> | ||
467 | <div class="memdoc"> | ||
468 | |||
469 | <p>returns id of selected item. returns -1 if no item is selected. </p> | ||
470 | |||
471 | </div> | ||
472 | </div> | ||
473 | <a class="anchor" id="a8399578154c3cbfcdd23f3b7009c448d"></a><!-- doxytag: member="irr::gui::IGUIListBox::hasItemOverrideColor" ref="a8399578154c3cbfcdd23f3b7009c448d" args="(u32 index, EGUI_LISTBOX_COLOR colorType) const =0" --> | ||
474 | <div class="memitem"> | ||
475 | <div class="memproto"> | ||
476 | <table class="memname"> | ||
477 | <tr> | ||
478 | <td class="memname">virtual bool irr::gui::IGUIListBox::hasItemOverrideColor </td> | ||
479 | <td>(</td> | ||
480 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
481 | <td class="paramname"><em>index</em>, </td> | ||
482 | </tr> | ||
483 | <tr> | ||
484 | <td class="paramkey"></td> | ||
485 | <td></td> | ||
486 | <td class="paramtype"><a class="el" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6">EGUI_LISTBOX_COLOR</a> </td> | ||
487 | <td class="paramname"><em>colorType</em> </td> | ||
488 | </tr> | ||
489 | <tr> | ||
490 | <td></td> | ||
491 | <td>)</td> | ||
492 | <td></td><td> const<code> [pure virtual]</code></td> | ||
493 | </tr> | ||
494 | </table> | ||
495 | </div> | ||
496 | <div class="memdoc"> | ||
497 | |||
498 | <p>has the item at index its color overwritten? </p> | ||
499 | |||
500 | </div> | ||
501 | </div> | ||
502 | <a class="anchor" id="a1da5cc33687efee5ff1e33ab9f0d5b26"></a><!-- doxytag: member="irr::gui::IGUIListBox::insertItem" ref="a1da5cc33687efee5ff1e33ab9f0d5b26" args="(u32 index, const wchar_t *text, s32 icon)=0" --> | ||
503 | <div class="memitem"> | ||
504 | <div class="memproto"> | ||
505 | <table class="memname"> | ||
506 | <tr> | ||
507 | <td class="memname">virtual <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> irr::gui::IGUIListBox::insertItem </td> | ||
508 | <td>(</td> | ||
509 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
510 | <td class="paramname"><em>index</em>, </td> | ||
511 | </tr> | ||
512 | <tr> | ||
513 | <td class="paramkey"></td> | ||
514 | <td></td> | ||
515 | <td class="paramtype">const wchar_t * </td> | ||
516 | <td class="paramname"><em>text</em>, </td> | ||
517 | </tr> | ||
518 | <tr> | ||
519 | <td class="paramkey"></td> | ||
520 | <td></td> | ||
521 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
522 | <td class="paramname"><em>icon</em> </td> | ||
523 | </tr> | ||
524 | <tr> | ||
525 | <td></td> | ||
526 | <td>)</td> | ||
527 | <td></td><td><code> [pure virtual]</code></td> | ||
528 | </tr> | ||
529 | </table> | ||
530 | </div> | ||
531 | <div class="memdoc"> | ||
532 | |||
533 | <p>Insert the item at the given index. </p> | ||
534 | <dl class="return"><dt><b>Returns:</b></dt><dd>The index on success or -1 on failure. </dd></dl> | ||
535 | |||
536 | </div> | ||
537 | </div> | ||
538 | <a class="anchor" id="af04876e1e3173e9c13bb099076743137"></a><!-- doxytag: member="irr::gui::IGUIListBox::isAutoScrollEnabled" ref="af04876e1e3173e9c13bb099076743137" args="() const =0" --> | ||
539 | <div class="memitem"> | ||
540 | <div class="memproto"> | ||
541 | <table class="memname"> | ||
542 | <tr> | ||
543 | <td class="memname">virtual bool irr::gui::IGUIListBox::isAutoScrollEnabled </td> | ||
544 | <td>(</td> | ||
545 | <td class="paramname"></td><td>)</td> | ||
546 | <td> const<code> [pure virtual]</code></td> | ||
547 | </tr> | ||
548 | </table> | ||
549 | </div> | ||
550 | <div class="memdoc"> | ||
551 | |||
552 | <p>returns true if automatic scrolling is enabled, false if not. </p> | ||
553 | |||
554 | </div> | ||
555 | </div> | ||
556 | <a class="anchor" id="a6c19c6db0bcf52756d9bb866063a770b"></a><!-- doxytag: member="irr::gui::IGUIListBox::removeItem" ref="a6c19c6db0bcf52756d9bb866063a770b" args="(u32 index)=0" --> | ||
557 | <div class="memitem"> | ||
558 | <div class="memproto"> | ||
559 | <table class="memname"> | ||
560 | <tr> | ||
561 | <td class="memname">virtual void irr::gui::IGUIListBox::removeItem </td> | ||
562 | <td>(</td> | ||
563 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
564 | <td class="paramname"><em>index</em></td><td>)</td> | ||
565 | <td><code> [pure virtual]</code></td> | ||
566 | </tr> | ||
567 | </table> | ||
568 | </div> | ||
569 | <div class="memdoc"> | ||
570 | |||
571 | <p>Removes an item from the list. </p> | ||
572 | |||
573 | </div> | ||
574 | </div> | ||
575 | <a class="anchor" id="a4d8ada56cafff847e98564283b2d06ac"></a><!-- doxytag: member="irr::gui::IGUIListBox::setAutoScrollEnabled" ref="a4d8ada56cafff847e98564283b2d06ac" args="(bool scroll)=0" --> | ||
576 | <div class="memitem"> | ||
577 | <div class="memproto"> | ||
578 | <table class="memname"> | ||
579 | <tr> | ||
580 | <td class="memname">virtual void irr::gui::IGUIListBox::setAutoScrollEnabled </td> | ||
581 | <td>(</td> | ||
582 | <td class="paramtype">bool </td> | ||
583 | <td class="paramname"><em>scroll</em></td><td>)</td> | ||
584 | <td><code> [pure virtual]</code></td> | ||
585 | </tr> | ||
586 | </table> | ||
587 | </div> | ||
588 | <div class="memdoc"> | ||
589 | |||
590 | <p>set whether the listbox should scroll to newly selected items </p> | ||
591 | |||
592 | </div> | ||
593 | </div> | ||
594 | <a class="anchor" id="ad323fdf0b083dbc1870d7fa5869cff8f"></a><!-- doxytag: member="irr::gui::IGUIListBox::setDrawBackground" ref="ad323fdf0b083dbc1870d7fa5869cff8f" args="(bool draw)=0" --> | ||
595 | <div class="memitem"> | ||
596 | <div class="memproto"> | ||
597 | <table class="memname"> | ||
598 | <tr> | ||
599 | <td class="memname">virtual void irr::gui::IGUIListBox::setDrawBackground </td> | ||
600 | <td>(</td> | ||
601 | <td class="paramtype">bool </td> | ||
602 | <td class="paramname"><em>draw</em></td><td>)</td> | ||
603 | <td><code> [pure virtual]</code></td> | ||
604 | </tr> | ||
605 | </table> | ||
606 | </div> | ||
607 | <div class="memdoc"> | ||
608 | |||
609 | <p>Sets whether to draw the background. </p> | ||
610 | |||
611 | </div> | ||
612 | </div> | ||
613 | <a class="anchor" id="a643ca28110a7de59a378e5ba79b1c37a"></a><!-- doxytag: member="irr::gui::IGUIListBox::setItem" ref="a643ca28110a7de59a378e5ba79b1c37a" args="(u32 index, const wchar_t *text, s32 icon)=0" --> | ||
614 | <div class="memitem"> | ||
615 | <div class="memproto"> | ||
616 | <table class="memname"> | ||
617 | <tr> | ||
618 | <td class="memname">virtual void irr::gui::IGUIListBox::setItem </td> | ||
619 | <td>(</td> | ||
620 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
621 | <td class="paramname"><em>index</em>, </td> | ||
622 | </tr> | ||
623 | <tr> | ||
624 | <td class="paramkey"></td> | ||
625 | <td></td> | ||
626 | <td class="paramtype">const wchar_t * </td> | ||
627 | <td class="paramname"><em>text</em>, </td> | ||
628 | </tr> | ||
629 | <tr> | ||
630 | <td class="paramkey"></td> | ||
631 | <td></td> | ||
632 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
633 | <td class="paramname"><em>icon</em> </td> | ||
634 | </tr> | ||
635 | <tr> | ||
636 | <td></td> | ||
637 | <td>)</td> | ||
638 | <td></td><td><code> [pure virtual]</code></td> | ||
639 | </tr> | ||
640 | </table> | ||
641 | </div> | ||
642 | <div class="memdoc"> | ||
643 | |||
644 | <p>set the item at the given index </p> | ||
645 | |||
646 | </div> | ||
647 | </div> | ||
648 | <a class="anchor" id="a83fb9c6f32039a39197cf799dd5e0c8f"></a><!-- doxytag: member="irr::gui::IGUIListBox::setItemHeight" ref="a83fb9c6f32039a39197cf799dd5e0c8f" args="(s32 height)=0" --> | ||
649 | <div class="memitem"> | ||
650 | <div class="memproto"> | ||
651 | <table class="memname"> | ||
652 | <tr> | ||
653 | <td class="memname">virtual void irr::gui::IGUIListBox::setItemHeight </td> | ||
654 | <td>(</td> | ||
655 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
656 | <td class="paramname"><em>height</em></td><td>)</td> | ||
657 | <td><code> [pure virtual]</code></td> | ||
658 | </tr> | ||
659 | </table> | ||
660 | </div> | ||
661 | <div class="memdoc"> | ||
662 | |||
663 | <p>set global itemHeight </p> | ||
664 | |||
665 | </div> | ||
666 | </div> | ||
667 | <a class="anchor" id="ae2f09b02e7428175e13fa6b3216ced67"></a><!-- doxytag: member="irr::gui::IGUIListBox::setItemOverrideColor" ref="ae2f09b02e7428175e13fa6b3216ced67" args="(u32 index, video::SColor color)=0" --> | ||
668 | <div class="memitem"> | ||
669 | <div class="memproto"> | ||
670 | <table class="memname"> | ||
671 | <tr> | ||
672 | <td class="memname">virtual void irr::gui::IGUIListBox::setItemOverrideColor </td> | ||
673 | <td>(</td> | ||
674 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
675 | <td class="paramname"><em>index</em>, </td> | ||
676 | </tr> | ||
677 | <tr> | ||
678 | <td class="paramkey"></td> | ||
679 | <td></td> | ||
680 | <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> </td> | ||
681 | <td class="paramname"><em>color</em> </td> | ||
682 | </tr> | ||
683 | <tr> | ||
684 | <td></td> | ||
685 | <td>)</td> | ||
686 | <td></td><td><code> [pure virtual]</code></td> | ||
687 | </tr> | ||
688 | </table> | ||
689 | </div> | ||
690 | <div class="memdoc"> | ||
691 | |||
692 | <p>set all item colors at given index to color </p> | ||
693 | |||
694 | </div> | ||
695 | </div> | ||
696 | <a class="anchor" id="a84444d888931d79dcc50a8f229aad2c7"></a><!-- doxytag: member="irr::gui::IGUIListBox::setItemOverrideColor" ref="a84444d888931d79dcc50a8f229aad2c7" args="(u32 index, EGUI_LISTBOX_COLOR colorType, video::SColor color)=0" --> | ||
697 | <div class="memitem"> | ||
698 | <div class="memproto"> | ||
699 | <table class="memname"> | ||
700 | <tr> | ||
701 | <td class="memname">virtual void irr::gui::IGUIListBox::setItemOverrideColor </td> | ||
702 | <td>(</td> | ||
703 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
704 | <td class="paramname"><em>index</em>, </td> | ||
705 | </tr> | ||
706 | <tr> | ||
707 | <td class="paramkey"></td> | ||
708 | <td></td> | ||
709 | <td class="paramtype"><a class="el" href="namespaceirr_1_1gui.html#a7da705f0a0b4aa5385e6842adf409cb6">EGUI_LISTBOX_COLOR</a> </td> | ||
710 | <td class="paramname"><em>colorType</em>, </td> | ||
711 | </tr> | ||
712 | <tr> | ||
713 | <td class="paramkey"></td> | ||
714 | <td></td> | ||
715 | <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_s_color.html">video::SColor</a> </td> | ||
716 | <td class="paramname"><em>color</em> </td> | ||
717 | </tr> | ||
718 | <tr> | ||
719 | <td></td> | ||
720 | <td>)</td> | ||
721 | <td></td><td><code> [pure virtual]</code></td> | ||
722 | </tr> | ||
723 | </table> | ||
724 | </div> | ||
725 | <div class="memdoc"> | ||
726 | |||
727 | <p>set all item colors of specified type at given index to color </p> | ||
728 | |||
729 | </div> | ||
730 | </div> | ||
731 | <a class="anchor" id="ac981fa5b285115333b67202819230f6f"></a><!-- doxytag: member="irr::gui::IGUIListBox::setSelected" ref="ac981fa5b285115333b67202819230f6f" args="(s32 index)=0" --> | ||
732 | <div class="memitem"> | ||
733 | <div class="memproto"> | ||
734 | <table class="memname"> | ||
735 | <tr> | ||
736 | <td class="memname">virtual void irr::gui::IGUIListBox::setSelected </td> | ||
737 | <td>(</td> | ||
738 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
739 | <td class="paramname"><em>index</em></td><td>)</td> | ||
740 | <td><code> [pure virtual]</code></td> | ||
741 | </tr> | ||
742 | </table> | ||
743 | </div> | ||
744 | <div class="memdoc"> | ||
745 | |||
746 | <p>sets the selected item. Set this to -1 if no item should be selected </p> | ||
747 | |||
748 | </div> | ||
749 | </div> | ||
750 | <a class="anchor" id="aa6031e2a0ecbcfe80484d8271b1c9529"></a><!-- doxytag: member="irr::gui::IGUIListBox::setSelected" ref="aa6031e2a0ecbcfe80484d8271b1c9529" args="(const wchar_t *item)=0" --> | ||
751 | <div class="memitem"> | ||
752 | <div class="memproto"> | ||
753 | <table class="memname"> | ||
754 | <tr> | ||
755 | <td class="memname">virtual void irr::gui::IGUIListBox::setSelected </td> | ||
756 | <td>(</td> | ||
757 | <td class="paramtype">const wchar_t * </td> | ||
758 | <td class="paramname"><em>item</em></td><td>)</td> | ||
759 | <td><code> [pure virtual]</code></td> | ||
760 | </tr> | ||
761 | </table> | ||
762 | </div> | ||
763 | <div class="memdoc"> | ||
764 | |||
765 | <p>sets the selected item. Set this to 0 if no item should be selected </p> | ||
766 | |||
767 | </div> | ||
768 | </div> | ||
769 | <a class="anchor" id="ad139cef6f71bb8d36624b48e8a695ed4"></a><!-- doxytag: member="irr::gui::IGUIListBox::setSpriteBank" ref="ad139cef6f71bb8d36624b48e8a695ed4" args="(IGUISpriteBank *bank)=0" --> | ||
770 | <div class="memitem"> | ||
771 | <div class="memproto"> | ||
772 | <table class="memname"> | ||
773 | <tr> | ||
774 | <td class="memname">virtual void irr::gui::IGUIListBox::setSpriteBank </td> | ||
775 | <td>(</td> | ||
776 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_sprite_bank.html">IGUISpriteBank</a> * </td> | ||
777 | <td class="paramname"><em>bank</em></td><td>)</td> | ||
778 | <td><code> [pure virtual]</code></td> | ||
779 | </tr> | ||
780 | </table> | ||
781 | </div> | ||
782 | <div class="memdoc"> | ||
783 | |||
784 | <p>Sets the sprite bank which should be used to draw list icons. </p> | ||
785 | <p>This font is set to the sprite bank of the built-in-font by default. A sprite can be displayed in front of every list item. An icon is an index within the icon sprite bank. Several default icons are available in the skin through getIcon. </p> | ||
786 | |||
787 | </div> | ||
788 | </div> | ||
789 | <a class="anchor" id="accb47d6f72558ea5d3034b3e4e4ccd81"></a><!-- doxytag: member="irr::gui::IGUIListBox::swapItems" ref="accb47d6f72558ea5d3034b3e4e4ccd81" args="(u32 index1, u32 index2)=0" --> | ||
790 | <div class="memitem"> | ||
791 | <div class="memproto"> | ||
792 | <table class="memname"> | ||
793 | <tr> | ||
794 | <td class="memname">virtual void irr::gui::IGUIListBox::swapItems </td> | ||
795 | <td>(</td> | ||
796 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
797 | <td class="paramname"><em>index1</em>, </td> | ||
798 | </tr> | ||
799 | <tr> | ||
800 | <td class="paramkey"></td> | ||
801 | <td></td> | ||
802 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
803 | <td class="paramname"><em>index2</em> </td> | ||
804 | </tr> | ||
805 | <tr> | ||
806 | <td></td> | ||
807 | <td>)</td> | ||
808 | <td></td><td><code> [pure virtual]</code></td> | ||
809 | </tr> | ||
810 | </table> | ||
811 | </div> | ||
812 | <div class="memdoc"> | ||
813 | |||
814 | <p>Swap the items at the given indices. </p> | ||
815 | |||
816 | </div> | ||
817 | </div> | ||
818 | <hr/>The documentation for this class was generated from the following file:<ul> | ||
819 | <li><a class="el" href="_i_g_u_i_list_box_8h_source.html">IGUIListBox.h</a></li> | ||
820 | </ul> | ||
821 | </div> | ||
822 | </div> | ||
823 | <div id="nav-path" class="navpath"> | ||
824 | <ul> | ||
825 | <li class="navelem"><a class="el" href="namespaceirr.html">irr</a> </li> | ||
826 | <li class="navelem"><a class="el" href="namespaceirr_1_1gui.html">gui</a> </li> | ||
827 | <li class="navelem"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html">IGUIListBox</a> </li> | ||
828 | <!-- window showing the filter options --> | ||
829 | <div id="MSearchSelectWindow" | ||
830 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
831 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
832 | onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
833 | <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> | ||
834 | |||
835 | <!-- iframe showing the search results (closed by default) --> | ||
836 | <div id="MSearchResultsWindow"> | ||
837 | <iframe src="javascript:void(0)" frameborder="0" | ||
838 | name="MSearchResults" id="MSearchResults"> | ||
839 | </iframe> | ||
840 | </div> | ||
841 | |||
842 | |||
843 | <li class="footer"> | ||
844 | <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht | ||
845 | Engine</a> Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Sun Nov 17 2013 20:18:44 for Irrlicht 3D Engine by | ||
846 | <a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li> | ||
847 | </ul> | ||
848 | </div> | ||
849 | |||
850 | |||
851 | </body> | ||
852 | </html> | ||