diff options
Diffstat (limited to 'libraries/irrlicht-1.8/doc/html/classirr_1_1gui_1_1_i_g_u_i_environment.html')
-rw-r--r-- | libraries/irrlicht-1.8/doc/html/classirr_1_1gui_1_1_i_g_u_i_environment.html | 2458 |
1 files changed, 2458 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8/doc/html/classirr_1_1gui_1_1_i_g_u_i_environment.html b/libraries/irrlicht-1.8/doc/html/classirr_1_1gui_1_1_i_g_u_i_environment.html new file mode 100644 index 0000000..5714f15 --- /dev/null +++ b/libraries/irrlicht-1.8/doc/html/classirr_1_1gui_1_1_i_g_u_i_environment.html | |||
@@ -0,0 +1,2458 @@ | |||
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::IGUIEnvironment 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_environment.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::IGUIEnvironment Class Reference</div> </div> | ||
91 | </div> | ||
92 | <div class="contents"> | ||
93 | <!-- doxytag: class="irr::gui::IGUIEnvironment" --><!-- doxytag: inherits="irr::IReferenceCounted" --> | ||
94 | <p>GUI Environment. Used as factory and manager of all other GUI elements. | ||
95 | <a href="classirr_1_1gui_1_1_i_g_u_i_environment.html#details">More...</a></p> | ||
96 | |||
97 | <p><code>#include <<a class="el" href="_i_g_u_i_environment_8h_source.html">IGUIEnvironment.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::IGUIEnvironment:</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_environment.png" usemap="#irr::gui::IGUIEnvironment_map" alt=""/> | ||
105 | <map id="irr::gui::IGUIEnvironment_map" name="irr::gui::IGUIEnvironment_map"> | ||
106 | <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,147,24"/> | ||
107 | </map> | ||
108 | </div></div> | ||
109 | |||
110 | <p><a href="classirr_1_1gui_1_1_i_g_u_i_environment-members.html">List of all members.</a></p> | ||
111 | <h2><a name="pub-methods"></a> | ||
112 | Public Member Functions</h2> | ||
113 | <ul> | ||
114 | <li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_button.html">IGUIButton</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a666749b7352a677c74acb242199e54a0">addButton</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &rectangle, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, const wchar_t *text=0, const wchar_t *tooltiptext=0)=0 | ||
115 | <dl class="el"><dd class="mdescRight">Adds a button element. <a href="#a666749b7352a677c74acb242199e54a0"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_check_box.html">IGUICheckBox</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a849a6970cda901fbcf745c757b46212e">addCheckBox</a> (bool checked, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &rectangle, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, const wchar_t *text=0)=0 | ||
116 | <dl class="el"><dd class="mdescRight">Adds a checkbox element. <a href="#a849a6970cda901fbcf745c757b46212e"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_color_select_dialog.html">IGUIColorSelectDialog</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a72858e14c66a1ee4687e6f51dedb0ce0">addColorSelectDialog</a> (const wchar_t *title=0, bool modal=true, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1)=0 | ||
117 | <dl class="el"><dd class="mdescRight">Adds a color select dialog. <a href="#a72858e14c66a1ee4687e6f51dedb0ce0"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_combo_box.html">IGUIComboBox</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a24c178560277c21d3d2e3c9ba1196d2f">addComboBox</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &rectangle, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1)=0 | ||
118 | <dl class="el"><dd class="mdescRight">Adds a combo box to the environment. <a href="#a24c178560277c21d3d2e3c9ba1196d2f"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_context_menu.html">IGUIContextMenu</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a4f421209425cfe58a29c6fb2e49a2e99">addContextMenu</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &rectangle, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1)=0 | ||
119 | <dl class="el"><dd class="mdescRight">Adds a context menu to the environment. <a href="#a4f421209425cfe58a29c6fb2e49a2e99"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_edit_box.html">IGUIEditBox</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#ab46cdfa5f746932166ac4ccfa86a70eb">addEditBox</a> (const wchar_t *text, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &rectangle, bool border=true, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1)=0 | ||
120 | <dl class="el"><dd class="mdescRight">Adds an edit box. <a href="#ab46cdfa5f746932166ac4ccfa86a70eb"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_sprite_bank.html">IGUISpriteBank</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a62f34cdf4dd600a35eaf37d856579d98">addEmptySpriteBank</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &name)=0 | ||
121 | <dl class="el"><dd class="mdescRight">Adds an empty sprite bank to the manager. <a href="#a62f34cdf4dd600a35eaf37d856579d98"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_file_open_dialog.html">IGUIFileOpenDialog</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#aaac7c786a19c5cac51a550ce77cd972a">addFileOpenDialog</a> (const wchar_t *title=0, bool modal=true, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, bool restoreCWD=false, <a class="el" href="classirr_1_1core_1_1string.html#aa29e2f7804a44a4040202083366bf807">io::path::char_type</a> *startDir=0)=0 | ||
122 | <dl class="el"><dd class="mdescRight">Adds a file open dialog. <a href="#aaac7c786a19c5cac51a550ce77cd972a"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_font.html">IGUIFont</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a2c4fefb8a67fc92aedbbff6254532c2b">addFont</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &name, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_font.html">IGUIFont</a> *font)=0 | ||
123 | <dl class="el"><dd class="mdescRight">Adds an externally loaded font to the font list. <a href="#a2c4fefb8a67fc92aedbbff6254532c2b"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a17114e35fc67f6d54df1baebb806f3b7">addGUIElement</a> (const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a> *elementName, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0)=0 | ||
124 | <dl class="el"><dd class="mdescRight">Adds a GUI element by its name. <a href="#a17114e35fc67f6d54df1baebb806f3b7"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_image.html">IGUIImage</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a35cc257b3a183551a2ed0376dcec9fe4">addImage</a> (<a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *image, core::position2d< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > pos, bool useAlphaChannel=true, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, const wchar_t *text=0)=0 | ||
125 | <dl class="el"><dd class="mdescRight">Adds an image element. <a href="#a35cc257b3a183551a2ed0376dcec9fe4"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_image.html">IGUIImage</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a0f84bdf59447419bb0555f001f68d889">addImage</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &rectangle, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, const wchar_t *text=0, bool useAlphaChannel=true)=0 | ||
126 | <dl class="el"><dd class="mdescRight">Adds an image element. <a href="#a0f84bdf59447419bb0555f001f68d889"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_in_out_fader.html">IGUIInOutFader</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a9ffbddbf3785b54a284d83df4ce3df02">addInOutFader</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > *rectangle=0, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1)=0 | ||
127 | <dl class="el"><dd class="mdescRight">Adds an element for fading in or out. <a href="#a9ffbddbf3785b54a284d83df4ce3df02"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html">IGUIListBox</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#af5990b3ad8c9bdc65e645a4cb508ad5f">addListBox</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &rectangle, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, bool drawBackground=false)=0 | ||
128 | <dl class="el"><dd class="mdescRight">Adds a list box element. <a href="#af5990b3ad8c9bdc65e645a4cb508ad5f"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_context_menu.html">IGUIContextMenu</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a0bed2ddf6c422117285f9602c8afd4a1">addMenu</a> (<a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1)=0 | ||
129 | <dl class="el"><dd class="mdescRight">Adds a menu to the environment. <a href="#a0bed2ddf6c422117285f9602c8afd4a1"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_mesh_viewer.html">IGUIMeshViewer</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a4e35088a4346e5a80d1362e406a628e2">addMeshViewer</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &rectangle, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, const wchar_t *text=0)=0 | ||
130 | <dl class="el"><dd class="mdescRight">Adds a mesh viewer. Not 100% implemented yet. <a href="#a4e35088a4346e5a80d1362e406a628e2"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_window.html">IGUIWindow</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#aaf8cad4624c26895523b22728098a917">addMessageBox</a> (const wchar_t *caption, const wchar_t *text=0, bool modal=true, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> flags=EMBF_OK, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, <a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *image=0)=0 | ||
131 | <dl class="el"><dd class="mdescRight">Adds a message box. <a href="#aaf8cad4624c26895523b22728098a917"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a8bdf2e97e3694da75205ad693d849219">addModalScreen</a> (<a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent)=0 | ||
132 | <dl class="el"><dd class="mdescRight">Adds a modal screen. <a href="#a8bdf2e97e3694da75205ad693d849219"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_scroll_bar.html">IGUIScrollBar</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#aff82c4b3935eaf56ce638996f5e002c9">addScrollBar</a> (bool horizontal, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &rectangle, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1)=0 | ||
133 | <dl class="el"><dd class="mdescRight">Adds a scrollbar. <a href="#aff82c4b3935eaf56ce638996f5e002c9"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_spin_box.html">IGUISpinBox</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#ab7deca80cf9b0422fba30985612c3c99">addSpinBox</a> (const wchar_t *text, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &rectangle, bool border=true, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1)=0 | ||
134 | <dl class="el"><dd class="mdescRight">Adds a spin box. <a href="#ab7deca80cf9b0422fba30985612c3c99"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html">IGUIStaticText</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#adb56652b23932a391b08f710a9546ef3">addStaticText</a> (const wchar_t *text, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &rectangle, bool border=false, bool wordWrap=true, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, bool fillBackground=false)=0 | ||
135 | <dl class="el"><dd class="mdescRight">Adds a static text. <a href="#adb56652b23932a391b08f710a9546ef3"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_tab.html">IGUITab</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a67b5c558738d61f4753353de8b96f3c1">addTab</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &rectangle, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1)=0 | ||
136 | <dl class="el"><dd class="mdescRight">Adds tab to the environment. <a href="#a67b5c558738d61f4753353de8b96f3c1"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_tab_control.html">IGUITabControl</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#af076e5646db2e392309aef75edd28238">addTabControl</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &rectangle, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, bool fillbackground=false, bool border=true, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1)=0 | ||
137 | <dl class="el"><dd class="mdescRight">Adds a tab control to the environment. <a href="#af076e5646db2e392309aef75edd28238"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_table.html">IGUITable</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a6c4a058d7c6ff21f062b5fe540ca4748">addTable</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &rectangle, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, bool drawBackground=false)=0 | ||
138 | <dl class="el"><dd class="mdescRight">Adds a table to the environment. <a href="#a6c4a058d7c6ff21f062b5fe540ca4748"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_tool_bar.html">IGUIToolBar</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#aa25084f8d939ca49b503162fd3370eae">addToolBar</a> (<a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1)=0 | ||
139 | <dl class="el"><dd class="mdescRight">Adds a toolbar to the environment. <a href="#aa25084f8d939ca49b503162fd3370eae"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_tree_view.html">IGUITreeView</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a3c82300cf7eaabc451ef20a04b432c32">addTreeView</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &rectangle, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1, bool drawBackground=false, bool scrollBarVertical=true, bool scrollBarHorizontal=false)=0 | ||
140 | <dl class="el"><dd class="mdescRight">Adds a tree view element. <a href="#a3c82300cf7eaabc451ef20a04b432c32"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_window.html">IGUIWindow</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#ac233dcbef643b5f7de9ab30ae5896e28">addWindow</a> (const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &rectangle, bool modal=false, const wchar_t *text=0, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> id=-1)=0 | ||
141 | <dl class="el"><dd class="mdescRight">Adds an empty window element. <a href="#ac233dcbef643b5f7de9ab30ae5896e28"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a77b0cdd0aec36dbb9c558446fab383c2">clear</a> ()=0 | ||
142 | <dl class="el"><dd class="mdescRight">Removes all elements from the environment. <a href="#a77b0cdd0aec36dbb9c558446fab383c2"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_image_list.html">IGUIImageList</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#af3bd793f81b15dc534648e8a37e76467">createImageList</a> (<a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> *texture, <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > imageSize, bool useAlphaChannel)=0 | ||
143 | <dl class="el"><dd class="mdescRight">Creates the image list from the given texture. <a href="#af3bd793f81b15dc534648e8a37e76467"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_skin.html">IGUISkin</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a824099cd1ba9dd4b95e40dd1b15244f1">createSkin</a> (<a class="el" href="namespaceirr_1_1gui.html#a7b4619db540cbdf96e81023893b4eca5">EGUI_SKIN_TYPE</a> type)=0 | ||
144 | <dl class="el"><dd class="mdescRight">Creates a new GUI Skin based on a template. <a href="#a824099cd1ba9dd4b95e40dd1b15244f1"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a8890a0b0cb5a08c9cca65c6efa3a1e0e">deserializeAttributes</a> (<a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a> *in, <a class="el" href="structirr_1_1io_1_1_s_attribute_read_write_options.html">io::SAttributeReadWriteOptions</a> *options=0)=0 | ||
145 | <dl class="el"><dd class="mdescRight">Reads attributes of the gui environment. <a href="#a8890a0b0cb5a08c9cca65c6efa3a1e0e"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#aa6ba29bbf3121a5954cfa5a9ca72982f">drawAll</a> ()=0 | ||
146 | <dl class="el"><dd class="mdescRight">Draws all gui elements by traversing the GUI environment starting at the root node. <a href="#aa6ba29bbf3121a5954cfa5a9ca72982f"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_font.html">IGUIFont</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a896fbfcbad5ccf187a835827b439da93">getBuiltInFont</a> () const =0 | ||
147 | <dl class="el"><dd class="mdescRight">Returns the default built-in font. <a href="#a896fbfcbad5ccf187a835827b439da93"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element_factory.html">IGUIElementFactory</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a13ec41a31e1b9cdc317c0c6092c2b820">getDefaultGUIElementFactory</a> () const =0 | ||
148 | <dl class="el"><dd class="mdescRight">Get the default element factory which can create all built-in elements. <a href="#a13ec41a31e1b9cdc317c0c6092c2b820"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1io_1_1_i_file_system.html">io::IFileSystem</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#ad3ae4570702000e09cacdb663f0ec363">getFileSystem</a> () const =0 | ||
149 | <dl class="el"><dd class="mdescRight">Returns the file system. <a href="#ad3ae4570702000e09cacdb663f0ec363"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a624c047cb88a5d3e3e0d17a42a627335">getFocus</a> () const =0 | ||
150 | <dl class="el"><dd class="mdescRight">Returns the element which holds the focus. <a href="#a624c047cb88a5d3e3e0d17a42a627335"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_font.html">IGUIFont</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a22074f9a1a5a86d5d216126bbb90b3b1">getFont</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &filename)=0 | ||
151 | <dl class="el"><dd class="mdescRight">Returns pointer to the font with the specified filename. <a href="#a22074f9a1a5a86d5d216126bbb90b3b1"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element_factory.html">IGUIElementFactory</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a3c1ec1c13e7339e2e8abb34276d6288f">getGUIElementFactory</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> index) const =0 | ||
152 | <dl class="el"><dd class="mdescRight">Get a gui element factory by index. <a href="#a3c1ec1c13e7339e2e8abb34276d6288f"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a00fa645d517a276553b78fc1d0e78591">getHovered</a> () const =0 | ||
153 | <dl class="el"><dd class="mdescRight">Returns the element which was last under the mouse cursor. <a href="#a00fa645d517a276553b78fc1d0e78591"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1_i_o_s_operator.html">IOSOperator</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#afc715b9a9d98ae3aa8e769c9fb2f4f31">getOSOperator</a> () const =0 | ||
154 | <dl class="el"><dd class="mdescRight">returns a pointer to the OS operator <a href="#afc715b9a9d98ae3aa8e769c9fb2f4f31"></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_environment.html#a022dcd144b1f955180569ef2ee844561">getRegisteredGUIElementFactoryCount</a> () const =0 | ||
155 | <dl class="el"><dd class="mdescRight">Get amount of registered gui element factories. <a href="#a022dcd144b1f955180569ef2ee844561"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a35fec6d5baa9b2f65aa9ee2c336104d4">getRootGUIElement</a> ()=0 | ||
156 | <dl class="el"><dd class="mdescRight">Returns the root gui element. <a href="#a35fec6d5baa9b2f65aa9ee2c336104d4"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_skin.html">IGUISkin</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a54ce9072ea7b89cdaea65306e93ba90c">getSkin</a> () const =0 | ||
157 | <dl class="el"><dd class="mdescRight">Returns pointer to the current gui skin. <a href="#a54ce9072ea7b89cdaea65306e93ba90c"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_sprite_bank.html">IGUISpriteBank</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a187ebb28837dbdb88810f7e493096c3f">getSpriteBank</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &filename)=0 | ||
158 | <dl class="el"><dd class="mdescRight">Returns pointer to the sprite bank with the specified file name. <a href="#a187ebb28837dbdb88810f7e493096c3f"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_i_video_driver.html">video::IVideoDriver</a> * <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a48f5e442f0a2074a531234ab83148fe2">getVideoDriver</a> () const =0 | ||
159 | <dl class="el"><dd class="mdescRight">Returns the current video driver. <a href="#a48f5e442f0a2074a531234ab83148fe2"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a88c483f30a0f35debed70e8e51836552">hasFocus</a> (<a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *element) const =0 | ||
160 | <dl class="el"><dd class="mdescRight">Returns whether the element has focus. <a href="#a88c483f30a0f35debed70e8e51836552"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a6e847a40e5c97c846f2d654605ae13a0">loadGUI</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &filename, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0)=0 | ||
161 | <dl class="el"><dd class="mdescRight">Loads the gui. Note that the current gui is not cleared before. <a href="#a6e847a40e5c97c846f2d654605ae13a0"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a23e53c388d45358c53304d095f0b029b">loadGUI</a> (<a class="el" href="classirr_1_1io_1_1_i_read_file.html">io::IReadFile</a> *file, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *parent=0)=0 | ||
162 | <dl class="el"><dd class="mdescRight">Loads the gui. Note that the current gui is not cleared before. <a href="#a23e53c388d45358c53304d095f0b029b"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#aff1cc1109841f9bccd19634870c7cd65">postEventFromUser</a> (const <a class="el" href="structirr_1_1_s_event.html">SEvent</a> &event)=0 | ||
163 | <dl class="el"><dd class="mdescRight">Posts an input event to the environment. <a href="#aff1cc1109841f9bccd19634870c7cd65"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#acdfcdf6330e7475e3fdfd42f43c5f6df">readGUIElement</a> (<a class="el" href="namespaceirr_1_1io.html#a9dc6291fb7e4c73155a3e3c8339f9bff">io::IXMLReader</a> *reader, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *node)=0 | ||
164 | <dl class="el"><dd class="mdescRight">reads an element <a href="#acdfcdf6330e7475e3fdfd42f43c5f6df"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a653ac2cc8640899c23f4d55d9a5f0fdd">registerGUIElementFactory</a> (<a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element_factory.html">IGUIElementFactory</a> *factoryToAdd)=0 | ||
165 | <dl class="el"><dd class="mdescRight">Adds an element factory to the gui environment. <a href="#a653ac2cc8640899c23f4d55d9a5f0fdd"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#ab2100753b415a9950d95572d4623bf46">removeFocus</a> (<a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *element)=0 | ||
166 | <dl class="el"><dd class="mdescRight">Removes the focus from an element. <a href="#ab2100753b415a9950d95572d4623bf46"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a414f61b6901e7328448247648fdf9375">removeFont</a> (<a class="el" href="classirr_1_1gui_1_1_i_g_u_i_font.html">IGUIFont</a> *font)=0 | ||
167 | <dl class="el"><dd class="mdescRight">remove loaded font <a href="#a414f61b6901e7328448247648fdf9375"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#ac5e7b39ff2292983660a5e5999b240b3">saveGUI</a> (const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> &filename, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *start=0)=0 | ||
168 | <dl class="el"><dd class="mdescRight">Saves the current gui into a file. <a href="#ac5e7b39ff2292983660a5e5999b240b3"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a39fdeef8455813a2be2bce9212ec758a">saveGUI</a> (<a class="el" href="classirr_1_1io_1_1_i_write_file.html">io::IWriteFile</a> *file, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *start=0)=0 | ||
169 | <dl class="el"><dd class="mdescRight">Saves the current gui into a file. <a href="#a39fdeef8455813a2be2bce9212ec758a"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a6342ec41dcd9fbd3f587dce369d11b34">serializeAttributes</a> (<a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a> *out, <a class="el" href="structirr_1_1io_1_1_s_attribute_read_write_options.html">io::SAttributeReadWriteOptions</a> *options=0) const =0 | ||
170 | <dl class="el"><dd class="mdescRight">Writes attributes of the gui environment. <a href="#a6342ec41dcd9fbd3f587dce369d11b34"></a><br/></dl><li>virtual bool <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a2bfe9985ae1a2f379e708fce86902cea">setFocus</a> (<a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *element)=0 | ||
171 | <dl class="el"><dd class="mdescRight">Sets the focus to an element. <a href="#a2bfe9985ae1a2f379e708fce86902cea"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#ae7042c520e848643e080ad4532797f23">setSkin</a> (<a class="el" href="classirr_1_1gui_1_1_i_g_u_i_skin.html">IGUISkin</a> *skin)=0 | ||
172 | <dl class="el"><dd class="mdescRight">Sets a new GUI Skin. <a href="#ae7042c520e848643e080ad4532797f23"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a2491715aa30894c66357eb0451aa10b0">setUserEventReceiver</a> (<a class="el" href="classirr_1_1_i_event_receiver.html">IEventReceiver</a> *evr)=0 | ||
173 | <dl class="el"><dd class="mdescRight">This sets a new event receiver for gui events. <a href="#a2491715aa30894c66357eb0451aa10b0"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a30fb040bf48603fd309632e9c60b3583">writeGUIElement</a> (<a class="el" href="classirr_1_1io_1_1_i_x_m_l_writer.html">io::IXMLWriter</a> *writer, <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> *node)=0 | ||
174 | <dl class="el"><dd class="mdescRight">writes an element <a href="#a30fb040bf48603fd309632e9c60b3583"></a><br/></dl></ul> | ||
175 | <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> | ||
176 | <div class="textblock"><p>GUI Environment. Used as factory and manager of all other GUI elements. </p> | ||
177 | <dl class="user"><dt><b>This element can create the following events of type EGUI_EVENT_TYPE (which are passed on to focused sub-elements):</b></dt><dd><ul> | ||
178 | <li>EGET_ELEMENT_FOCUS_LOST </li> | ||
179 | <li>EGET_ELEMENT_FOCUSED </li> | ||
180 | <li>EGET_ELEMENT_LEFT </li> | ||
181 | <li>EGET_ELEMENT_HOVERED </li> | ||
182 | </ul> | ||
183 | </dd></dl> | ||
184 | |||
185 | <p>Definition at line <a class="el" href="_i_g_u_i_environment_8h_source.html#l00070">70</a> of file <a class="el" href="_i_g_u_i_environment_8h_source.html">IGUIEnvironment.h</a>.</p> | ||
186 | </div><hr/><h2>Member Function Documentation</h2> | ||
187 | <a class="anchor" id="a666749b7352a677c74acb242199e54a0"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addButton" ref="a666749b7352a677c74acb242199e54a0" args="(const core::rect< s32 > &rectangle, IGUIElement *parent=0, s32 id=-1, const wchar_t *text=0, const wchar_t *tooltiptext=0)=0" --> | ||
188 | <div class="memitem"> | ||
189 | <div class="memproto"> | ||
190 | <table class="memname"> | ||
191 | <tr> | ||
192 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_button.html">IGUIButton</a>* irr::gui::IGUIEnvironment::addButton </td> | ||
193 | <td>(</td> | ||
194 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
195 | <td class="paramname"><em>rectangle</em>, </td> | ||
196 | </tr> | ||
197 | <tr> | ||
198 | <td class="paramkey"></td> | ||
199 | <td></td> | ||
200 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
201 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
202 | </tr> | ||
203 | <tr> | ||
204 | <td class="paramkey"></td> | ||
205 | <td></td> | ||
206 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
207 | <td class="paramname"><em>id</em> = <code>-1</code>, </td> | ||
208 | </tr> | ||
209 | <tr> | ||
210 | <td class="paramkey"></td> | ||
211 | <td></td> | ||
212 | <td class="paramtype">const wchar_t * </td> | ||
213 | <td class="paramname"><em>text</em> = <code>0</code>, </td> | ||
214 | </tr> | ||
215 | <tr> | ||
216 | <td class="paramkey"></td> | ||
217 | <td></td> | ||
218 | <td class="paramtype">const wchar_t * </td> | ||
219 | <td class="paramname"><em>tooltiptext</em> = <code>0</code> </td> | ||
220 | </tr> | ||
221 | <tr> | ||
222 | <td></td> | ||
223 | <td>)</td> | ||
224 | <td></td><td><code> [pure virtual]</code></td> | ||
225 | </tr> | ||
226 | </table> | ||
227 | </div> | ||
228 | <div class="memdoc"> | ||
229 | |||
230 | <p>Adds a button element. </p> | ||
231 | <dl><dt><b>Parameters:</b></dt><dd> | ||
232 | <table class="params"> | ||
233 | <tr><td class="paramname">rectangle</td><td>Rectangle specifying the borders of the button. </td></tr> | ||
234 | <tr><td class="paramname">parent</td><td>Parent gui element of the button. </td></tr> | ||
235 | <tr><td class="paramname">id</td><td>Id with which the gui element can be identified. </td></tr> | ||
236 | <tr><td class="paramname">text</td><td>Text displayed on the button. </td></tr> | ||
237 | <tr><td class="paramname">tooltiptext</td><td>Text displayed in the tooltip. </td></tr> | ||
238 | </table> | ||
239 | </dd> | ||
240 | </dl> | ||
241 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created button. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
242 | |||
243 | </div> | ||
244 | </div> | ||
245 | <a class="anchor" id="a849a6970cda901fbcf745c757b46212e"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addCheckBox" ref="a849a6970cda901fbcf745c757b46212e" args="(bool checked, const core::rect< s32 > &rectangle, IGUIElement *parent=0, s32 id=-1, const wchar_t *text=0)=0" --> | ||
246 | <div class="memitem"> | ||
247 | <div class="memproto"> | ||
248 | <table class="memname"> | ||
249 | <tr> | ||
250 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_check_box.html">IGUICheckBox</a>* irr::gui::IGUIEnvironment::addCheckBox </td> | ||
251 | <td>(</td> | ||
252 | <td class="paramtype">bool </td> | ||
253 | <td class="paramname"><em>checked</em>, </td> | ||
254 | </tr> | ||
255 | <tr> | ||
256 | <td class="paramkey"></td> | ||
257 | <td></td> | ||
258 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
259 | <td class="paramname"><em>rectangle</em>, </td> | ||
260 | </tr> | ||
261 | <tr> | ||
262 | <td class="paramkey"></td> | ||
263 | <td></td> | ||
264 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
265 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
266 | </tr> | ||
267 | <tr> | ||
268 | <td class="paramkey"></td> | ||
269 | <td></td> | ||
270 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
271 | <td class="paramname"><em>id</em> = <code>-1</code>, </td> | ||
272 | </tr> | ||
273 | <tr> | ||
274 | <td class="paramkey"></td> | ||
275 | <td></td> | ||
276 | <td class="paramtype">const wchar_t * </td> | ||
277 | <td class="paramname"><em>text</em> = <code>0</code> </td> | ||
278 | </tr> | ||
279 | <tr> | ||
280 | <td></td> | ||
281 | <td>)</td> | ||
282 | <td></td><td><code> [pure virtual]</code></td> | ||
283 | </tr> | ||
284 | </table> | ||
285 | </div> | ||
286 | <div class="memdoc"> | ||
287 | |||
288 | <p>Adds a checkbox element. </p> | ||
289 | <dl><dt><b>Parameters:</b></dt><dd> | ||
290 | <table class="params"> | ||
291 | <tr><td class="paramname">checked</td><td>Define the initial state of the check box. </td></tr> | ||
292 | <tr><td class="paramname">rectangle</td><td>Rectangle specifying the borders of the check box. </td></tr> | ||
293 | <tr><td class="paramname">parent</td><td>Parent gui element of the check box. </td></tr> | ||
294 | <tr><td class="paramname">id</td><td>Id to identify the gui element. </td></tr> | ||
295 | <tr><td class="paramname">text</td><td>Title text of the check box. </td></tr> | ||
296 | </table> | ||
297 | </dd> | ||
298 | </dl> | ||
299 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created check box. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
300 | |||
301 | </div> | ||
302 | </div> | ||
303 | <a class="anchor" id="a72858e14c66a1ee4687e6f51dedb0ce0"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addColorSelectDialog" ref="a72858e14c66a1ee4687e6f51dedb0ce0" args="(const wchar_t *title=0, bool modal=true, IGUIElement *parent=0, s32 id=-1)=0" --> | ||
304 | <div class="memitem"> | ||
305 | <div class="memproto"> | ||
306 | <table class="memname"> | ||
307 | <tr> | ||
308 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_color_select_dialog.html">IGUIColorSelectDialog</a>* irr::gui::IGUIEnvironment::addColorSelectDialog </td> | ||
309 | <td>(</td> | ||
310 | <td class="paramtype">const wchar_t * </td> | ||
311 | <td class="paramname"><em>title</em> = <code>0</code>, </td> | ||
312 | </tr> | ||
313 | <tr> | ||
314 | <td class="paramkey"></td> | ||
315 | <td></td> | ||
316 | <td class="paramtype">bool </td> | ||
317 | <td class="paramname"><em>modal</em> = <code>true</code>, </td> | ||
318 | </tr> | ||
319 | <tr> | ||
320 | <td class="paramkey"></td> | ||
321 | <td></td> | ||
322 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
323 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
324 | </tr> | ||
325 | <tr> | ||
326 | <td class="paramkey"></td> | ||
327 | <td></td> | ||
328 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
329 | <td class="paramname"><em>id</em> = <code>-1</code> </td> | ||
330 | </tr> | ||
331 | <tr> | ||
332 | <td></td> | ||
333 | <td>)</td> | ||
334 | <td></td><td><code> [pure virtual]</code></td> | ||
335 | </tr> | ||
336 | </table> | ||
337 | </div> | ||
338 | <div class="memdoc"> | ||
339 | |||
340 | <p>Adds a color select dialog. </p> | ||
341 | <dl><dt><b>Parameters:</b></dt><dd> | ||
342 | <table class="params"> | ||
343 | <tr><td class="paramname">title</td><td>The title of the dialog. </td></tr> | ||
344 | <tr><td class="paramname">modal</td><td>Defines if the dialog is modal. This means, that all other gui elements which were created before the dialog cannot be used until it is removed. </td></tr> | ||
345 | <tr><td class="paramname">parent</td><td>The parent of the dialog. </td></tr> | ||
346 | <tr><td class="paramname">id</td><td>The ID of the dialog. </td></tr> | ||
347 | </table> | ||
348 | </dd> | ||
349 | </dl> | ||
350 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created file open dialog. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
351 | |||
352 | </div> | ||
353 | </div> | ||
354 | <a class="anchor" id="a24c178560277c21d3d2e3c9ba1196d2f"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addComboBox" ref="a24c178560277c21d3d2e3c9ba1196d2f" args="(const core::rect< s32 > &rectangle, IGUIElement *parent=0, s32 id=-1)=0" --> | ||
355 | <div class="memitem"> | ||
356 | <div class="memproto"> | ||
357 | <table class="memname"> | ||
358 | <tr> | ||
359 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_combo_box.html">IGUIComboBox</a>* irr::gui::IGUIEnvironment::addComboBox </td> | ||
360 | <td>(</td> | ||
361 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
362 | <td class="paramname"><em>rectangle</em>, </td> | ||
363 | </tr> | ||
364 | <tr> | ||
365 | <td class="paramkey"></td> | ||
366 | <td></td> | ||
367 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
368 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
369 | </tr> | ||
370 | <tr> | ||
371 | <td class="paramkey"></td> | ||
372 | <td></td> | ||
373 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
374 | <td class="paramname"><em>id</em> = <code>-1</code> </td> | ||
375 | </tr> | ||
376 | <tr> | ||
377 | <td></td> | ||
378 | <td>)</td> | ||
379 | <td></td><td><code> [pure virtual]</code></td> | ||
380 | </tr> | ||
381 | </table> | ||
382 | </div> | ||
383 | <div class="memdoc"> | ||
384 | |||
385 | <p>Adds a combo box to the environment. </p> | ||
386 | <dl><dt><b>Parameters:</b></dt><dd> | ||
387 | <table class="params"> | ||
388 | <tr><td class="paramname">rectangle</td><td>Rectangle specifying the borders of the combo box. </td></tr> | ||
389 | <tr><td class="paramname">parent</td><td>Parent item of the element, e.g. a window. Set it to 0 to place the combo box directly in the environment. </td></tr> | ||
390 | <tr><td class="paramname">id</td><td>An identifier for the combo box. </td></tr> | ||
391 | </table> | ||
392 | </dd> | ||
393 | </dl> | ||
394 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created combo box. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
395 | |||
396 | </div> | ||
397 | </div> | ||
398 | <a class="anchor" id="a4f421209425cfe58a29c6fb2e49a2e99"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addContextMenu" ref="a4f421209425cfe58a29c6fb2e49a2e99" args="(const core::rect< s32 > &rectangle, IGUIElement *parent=0, s32 id=-1)=0" --> | ||
399 | <div class="memitem"> | ||
400 | <div class="memproto"> | ||
401 | <table class="memname"> | ||
402 | <tr> | ||
403 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_context_menu.html">IGUIContextMenu</a>* irr::gui::IGUIEnvironment::addContextMenu </td> | ||
404 | <td>(</td> | ||
405 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
406 | <td class="paramname"><em>rectangle</em>, </td> | ||
407 | </tr> | ||
408 | <tr> | ||
409 | <td class="paramkey"></td> | ||
410 | <td></td> | ||
411 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
412 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
413 | </tr> | ||
414 | <tr> | ||
415 | <td class="paramkey"></td> | ||
416 | <td></td> | ||
417 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
418 | <td class="paramname"><em>id</em> = <code>-1</code> </td> | ||
419 | </tr> | ||
420 | <tr> | ||
421 | <td></td> | ||
422 | <td>)</td> | ||
423 | <td></td><td><code> [pure virtual]</code></td> | ||
424 | </tr> | ||
425 | </table> | ||
426 | </div> | ||
427 | <div class="memdoc"> | ||
428 | |||
429 | <p>Adds a context menu to the environment. </p> | ||
430 | <dl><dt><b>Parameters:</b></dt><dd> | ||
431 | <table class="params"> | ||
432 | <tr><td class="paramname">rectangle</td><td>Rectangle specifying the borders of the menu. Note that the menu is resizing itself based on what items you add. </td></tr> | ||
433 | <tr><td class="paramname">parent</td><td>Parent item of the element, e.g. a window. Set it to 0 to place the menu directly in the environment. </td></tr> | ||
434 | <tr><td class="paramname">id</td><td>An identifier for the menu. </td></tr> | ||
435 | </table> | ||
436 | </dd> | ||
437 | </dl> | ||
438 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created context menu. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
439 | |||
440 | </div> | ||
441 | </div> | ||
442 | <a class="anchor" id="ab46cdfa5f746932166ac4ccfa86a70eb"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addEditBox" ref="ab46cdfa5f746932166ac4ccfa86a70eb" args="(const wchar_t *text, const core::rect< s32 > &rectangle, bool border=true, IGUIElement *parent=0, s32 id=-1)=0" --> | ||
443 | <div class="memitem"> | ||
444 | <div class="memproto"> | ||
445 | <table class="memname"> | ||
446 | <tr> | ||
447 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_edit_box.html">IGUIEditBox</a>* irr::gui::IGUIEnvironment::addEditBox </td> | ||
448 | <td>(</td> | ||
449 | <td class="paramtype">const wchar_t * </td> | ||
450 | <td class="paramname"><em>text</em>, </td> | ||
451 | </tr> | ||
452 | <tr> | ||
453 | <td class="paramkey"></td> | ||
454 | <td></td> | ||
455 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
456 | <td class="paramname"><em>rectangle</em>, </td> | ||
457 | </tr> | ||
458 | <tr> | ||
459 | <td class="paramkey"></td> | ||
460 | <td></td> | ||
461 | <td class="paramtype">bool </td> | ||
462 | <td class="paramname"><em>border</em> = <code>true</code>, </td> | ||
463 | </tr> | ||
464 | <tr> | ||
465 | <td class="paramkey"></td> | ||
466 | <td></td> | ||
467 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
468 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
469 | </tr> | ||
470 | <tr> | ||
471 | <td class="paramkey"></td> | ||
472 | <td></td> | ||
473 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
474 | <td class="paramname"><em>id</em> = <code>-1</code> </td> | ||
475 | </tr> | ||
476 | <tr> | ||
477 | <td></td> | ||
478 | <td>)</td> | ||
479 | <td></td><td><code> [pure virtual]</code></td> | ||
480 | </tr> | ||
481 | </table> | ||
482 | </div> | ||
483 | <div class="memdoc"> | ||
484 | |||
485 | <p>Adds an edit box. </p> | ||
486 | <p>Supports unicode input from every keyboard around the world, scrolling, copying and pasting (exchanging data with the clipboard directly), maximum character amount, marking, and all shortcuts like ctrl+X, ctrl+V, ctrl+C, shift+Left, shift+Right, Home, End, and so on. </p> | ||
487 | <dl><dt><b>Parameters:</b></dt><dd> | ||
488 | <table class="params"> | ||
489 | <tr><td class="paramname">text</td><td>Text to be displayed. Can be altered after creation by setText(). </td></tr> | ||
490 | <tr><td class="paramname">rectangle</td><td>Rectangle specifying the borders of the edit box. </td></tr> | ||
491 | <tr><td class="paramname">border</td><td>Set to true if the edit box should have a 3d border. </td></tr> | ||
492 | <tr><td class="paramname">parent</td><td>Parent item of the element, e.g. a window. Set it to 0 to place the edit box directly in the environment. </td></tr> | ||
493 | <tr><td class="paramname">id</td><td>The ID of the element. </td></tr> | ||
494 | </table> | ||
495 | </dd> | ||
496 | </dl> | ||
497 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created edit box. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
498 | |||
499 | </div> | ||
500 | </div> | ||
501 | <a class="anchor" id="a62f34cdf4dd600a35eaf37d856579d98"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addEmptySpriteBank" ref="a62f34cdf4dd600a35eaf37d856579d98" args="(const io::path &name)=0" --> | ||
502 | <div class="memitem"> | ||
503 | <div class="memproto"> | ||
504 | <table class="memname"> | ||
505 | <tr> | ||
506 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_sprite_bank.html">IGUISpriteBank</a>* irr::gui::IGUIEnvironment::addEmptySpriteBank </td> | ||
507 | <td>(</td> | ||
508 | <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> & </td> | ||
509 | <td class="paramname"><em>name</em></td><td>)</td> | ||
510 | <td><code> [pure virtual]</code></td> | ||
511 | </tr> | ||
512 | </table> | ||
513 | </div> | ||
514 | <div class="memdoc"> | ||
515 | |||
516 | <p>Adds an empty sprite bank to the manager. </p> | ||
517 | <dl><dt><b>Parameters:</b></dt><dd> | ||
518 | <table class="params"> | ||
519 | <tr><td class="paramname">name</td><td>Name of the new sprite bank. </td></tr> | ||
520 | </table> | ||
521 | </dd> | ||
522 | </dl> | ||
523 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the sprite bank. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
524 | |||
525 | </div> | ||
526 | </div> | ||
527 | <a class="anchor" id="aaac7c786a19c5cac51a550ce77cd972a"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addFileOpenDialog" ref="aaac7c786a19c5cac51a550ce77cd972a" args="(const wchar_t *title=0, bool modal=true, IGUIElement *parent=0, s32 id=-1, bool restoreCWD=false, io::path::char_type *startDir=0)=0" --> | ||
528 | <div class="memitem"> | ||
529 | <div class="memproto"> | ||
530 | <table class="memname"> | ||
531 | <tr> | ||
532 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_file_open_dialog.html">IGUIFileOpenDialog</a>* irr::gui::IGUIEnvironment::addFileOpenDialog </td> | ||
533 | <td>(</td> | ||
534 | <td class="paramtype">const wchar_t * </td> | ||
535 | <td class="paramname"><em>title</em> = <code>0</code>, </td> | ||
536 | </tr> | ||
537 | <tr> | ||
538 | <td class="paramkey"></td> | ||
539 | <td></td> | ||
540 | <td class="paramtype">bool </td> | ||
541 | <td class="paramname"><em>modal</em> = <code>true</code>, </td> | ||
542 | </tr> | ||
543 | <tr> | ||
544 | <td class="paramkey"></td> | ||
545 | <td></td> | ||
546 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
547 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
548 | </tr> | ||
549 | <tr> | ||
550 | <td class="paramkey"></td> | ||
551 | <td></td> | ||
552 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
553 | <td class="paramname"><em>id</em> = <code>-1</code>, </td> | ||
554 | </tr> | ||
555 | <tr> | ||
556 | <td class="paramkey"></td> | ||
557 | <td></td> | ||
558 | <td class="paramtype">bool </td> | ||
559 | <td class="paramname"><em>restoreCWD</em> = <code>false</code>, </td> | ||
560 | </tr> | ||
561 | <tr> | ||
562 | <td class="paramkey"></td> | ||
563 | <td></td> | ||
564 | <td class="paramtype"><a class="el" href="classirr_1_1core_1_1string.html#aa29e2f7804a44a4040202083366bf807">io::path::char_type</a> * </td> | ||
565 | <td class="paramname"><em>startDir</em> = <code>0</code> </td> | ||
566 | </tr> | ||
567 | <tr> | ||
568 | <td></td> | ||
569 | <td>)</td> | ||
570 | <td></td><td><code> [pure virtual]</code></td> | ||
571 | </tr> | ||
572 | </table> | ||
573 | </div> | ||
574 | <div class="memdoc"> | ||
575 | |||
576 | <p>Adds a file open dialog. </p> | ||
577 | <dl><dt><b>Parameters:</b></dt><dd> | ||
578 | <table class="params"> | ||
579 | <tr><td class="paramname">title</td><td>Text to be displayed as the title of the dialog. </td></tr> | ||
580 | <tr><td class="paramname">modal</td><td>Defines if the dialog is modal. This means, that all other gui elements which were created before the message box cannot be used until this messagebox is removed. </td></tr> | ||
581 | <tr><td class="paramname">parent</td><td>Parent gui element of the dialog. </td></tr> | ||
582 | <tr><td class="paramname">id</td><td>Id to identify the gui element. </td></tr> | ||
583 | <tr><td class="paramname">restoreCWD</td><td>If set to true, the current workingn directory will be restored after the dialog is closed in some way. Otherwise the working directory will be the one that the file dialog was last showing. </td></tr> | ||
584 | <tr><td class="paramname">startDir</td><td>Optional path for which the file dialog will be opened. </td></tr> | ||
585 | </table> | ||
586 | </dd> | ||
587 | </dl> | ||
588 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created file open dialog. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
589 | |||
590 | </div> | ||
591 | </div> | ||
592 | <a class="anchor" id="a2c4fefb8a67fc92aedbbff6254532c2b"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addFont" ref="a2c4fefb8a67fc92aedbbff6254532c2b" args="(const io::path &name, IGUIFont *font)=0" --> | ||
593 | <div class="memitem"> | ||
594 | <div class="memproto"> | ||
595 | <table class="memname"> | ||
596 | <tr> | ||
597 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_font.html">IGUIFont</a>* irr::gui::IGUIEnvironment::addFont </td> | ||
598 | <td>(</td> | ||
599 | <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> & </td> | ||
600 | <td class="paramname"><em>name</em>, </td> | ||
601 | </tr> | ||
602 | <tr> | ||
603 | <td class="paramkey"></td> | ||
604 | <td></td> | ||
605 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_font.html">IGUIFont</a> * </td> | ||
606 | <td class="paramname"><em>font</em> </td> | ||
607 | </tr> | ||
608 | <tr> | ||
609 | <td></td> | ||
610 | <td>)</td> | ||
611 | <td></td><td><code> [pure virtual]</code></td> | ||
612 | </tr> | ||
613 | </table> | ||
614 | </div> | ||
615 | <div class="memdoc"> | ||
616 | |||
617 | <p>Adds an externally loaded font to the font list. </p> | ||
618 | <p>This method allows to attach an already loaded font to the list of existing fonts. The font is grabbed if non-null and adding was successful. </p> | ||
619 | <dl><dt><b>Parameters:</b></dt><dd> | ||
620 | <table class="params"> | ||
621 | <tr><td class="paramname">name</td><td>Name the font should be stored as. </td></tr> | ||
622 | <tr><td class="paramname">font</td><td>Pointer to font to add. </td></tr> | ||
623 | </table> | ||
624 | </dd> | ||
625 | </dl> | ||
626 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the font stored. This can differ from given parameter if the name previously existed. </dd></dl> | ||
627 | |||
628 | </div> | ||
629 | </div> | ||
630 | <a class="anchor" id="a17114e35fc67f6d54df1baebb806f3b7"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addGUIElement" ref="a17114e35fc67f6d54df1baebb806f3b7" args="(const c8 *elementName, IGUIElement *parent=0)=0" --> | ||
631 | <div class="memitem"> | ||
632 | <div class="memproto"> | ||
633 | <table class="memname"> | ||
634 | <tr> | ||
635 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a>* irr::gui::IGUIEnvironment::addGUIElement </td> | ||
636 | <td>(</td> | ||
637 | <td class="paramtype">const <a class="el" href="namespaceirr.html#a9395eaea339bcb546b319e9c96bf7410">c8</a> * </td> | ||
638 | <td class="paramname"><em>elementName</em>, </td> | ||
639 | </tr> | ||
640 | <tr> | ||
641 | <td class="paramkey"></td> | ||
642 | <td></td> | ||
643 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
644 | <td class="paramname"><em>parent</em> = <code>0</code> </td> | ||
645 | </tr> | ||
646 | <tr> | ||
647 | <td></td> | ||
648 | <td>)</td> | ||
649 | <td></td><td><code> [pure virtual]</code></td> | ||
650 | </tr> | ||
651 | </table> | ||
652 | </div> | ||
653 | <div class="memdoc"> | ||
654 | |||
655 | <p>Adds a GUI element by its name. </p> | ||
656 | <p>Each factory is checked if it can create an element of the given name. The first match will be created. </p> | ||
657 | <dl><dt><b>Parameters:</b></dt><dd> | ||
658 | <table class="params"> | ||
659 | <tr><td class="paramname">elementName</td><td>Name of the element to be created. </td></tr> | ||
660 | <tr><td class="paramname">parent</td><td>Parent of the new element, if not 0. </td></tr> | ||
661 | </table> | ||
662 | </dd> | ||
663 | </dl> | ||
664 | <dl class="return"><dt><b>Returns:</b></dt><dd>New GUI element, or 0 if no such element exists. </dd></dl> | ||
665 | |||
666 | </div> | ||
667 | </div> | ||
668 | <a class="anchor" id="a35cc257b3a183551a2ed0376dcec9fe4"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addImage" ref="a35cc257b3a183551a2ed0376dcec9fe4" args="(video::ITexture *image, core::position2d< s32 > pos, bool useAlphaChannel=true, IGUIElement *parent=0, s32 id=-1, const wchar_t *text=0)=0" --> | ||
669 | <div class="memitem"> | ||
670 | <div class="memproto"> | ||
671 | <table class="memname"> | ||
672 | <tr> | ||
673 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_image.html">IGUIImage</a>* irr::gui::IGUIEnvironment::addImage </td> | ||
674 | <td>(</td> | ||
675 | <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> * </td> | ||
676 | <td class="paramname"><em>image</em>, </td> | ||
677 | </tr> | ||
678 | <tr> | ||
679 | <td class="paramkey"></td> | ||
680 | <td></td> | ||
681 | <td class="paramtype">core::position2d< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > </td> | ||
682 | <td class="paramname"><em>pos</em>, </td> | ||
683 | </tr> | ||
684 | <tr> | ||
685 | <td class="paramkey"></td> | ||
686 | <td></td> | ||
687 | <td class="paramtype">bool </td> | ||
688 | <td class="paramname"><em>useAlphaChannel</em> = <code>true</code>, </td> | ||
689 | </tr> | ||
690 | <tr> | ||
691 | <td class="paramkey"></td> | ||
692 | <td></td> | ||
693 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
694 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
695 | </tr> | ||
696 | <tr> | ||
697 | <td class="paramkey"></td> | ||
698 | <td></td> | ||
699 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
700 | <td class="paramname"><em>id</em> = <code>-1</code>, </td> | ||
701 | </tr> | ||
702 | <tr> | ||
703 | <td class="paramkey"></td> | ||
704 | <td></td> | ||
705 | <td class="paramtype">const wchar_t * </td> | ||
706 | <td class="paramname"><em>text</em> = <code>0</code> </td> | ||
707 | </tr> | ||
708 | <tr> | ||
709 | <td></td> | ||
710 | <td>)</td> | ||
711 | <td></td><td><code> [pure virtual]</code></td> | ||
712 | </tr> | ||
713 | </table> | ||
714 | </div> | ||
715 | <div class="memdoc"> | ||
716 | |||
717 | <p>Adds an image element. </p> | ||
718 | <dl><dt><b>Parameters:</b></dt><dd> | ||
719 | <table class="params"> | ||
720 | <tr><td class="paramname">image</td><td>Image to be displayed. </td></tr> | ||
721 | <tr><td class="paramname">pos</td><td>Position of the image. The width and height of the image is taken from the image. </td></tr> | ||
722 | <tr><td class="paramname">useAlphaChannel</td><td>Sets if the image should use the alpha channel of the texture to draw itself. </td></tr> | ||
723 | <tr><td class="paramname">parent</td><td>Parent gui element of the image. </td></tr> | ||
724 | <tr><td class="paramname">id</td><td>Id to identify the gui element. </td></tr> | ||
725 | <tr><td class="paramname">text</td><td>Title text of the image. </td></tr> | ||
726 | </table> | ||
727 | </dd> | ||
728 | </dl> | ||
729 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created image element. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
730 | |||
731 | </div> | ||
732 | </div> | ||
733 | <a class="anchor" id="a0f84bdf59447419bb0555f001f68d889"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addImage" ref="a0f84bdf59447419bb0555f001f68d889" args="(const core::rect< s32 > &rectangle, IGUIElement *parent=0, s32 id=-1, const wchar_t *text=0, bool useAlphaChannel=true)=0" --> | ||
734 | <div class="memitem"> | ||
735 | <div class="memproto"> | ||
736 | <table class="memname"> | ||
737 | <tr> | ||
738 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_image.html">IGUIImage</a>* irr::gui::IGUIEnvironment::addImage </td> | ||
739 | <td>(</td> | ||
740 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
741 | <td class="paramname"><em>rectangle</em>, </td> | ||
742 | </tr> | ||
743 | <tr> | ||
744 | <td class="paramkey"></td> | ||
745 | <td></td> | ||
746 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
747 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
748 | </tr> | ||
749 | <tr> | ||
750 | <td class="paramkey"></td> | ||
751 | <td></td> | ||
752 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
753 | <td class="paramname"><em>id</em> = <code>-1</code>, </td> | ||
754 | </tr> | ||
755 | <tr> | ||
756 | <td class="paramkey"></td> | ||
757 | <td></td> | ||
758 | <td class="paramtype">const wchar_t * </td> | ||
759 | <td class="paramname"><em>text</em> = <code>0</code>, </td> | ||
760 | </tr> | ||
761 | <tr> | ||
762 | <td class="paramkey"></td> | ||
763 | <td></td> | ||
764 | <td class="paramtype">bool </td> | ||
765 | <td class="paramname"><em>useAlphaChannel</em> = <code>true</code> </td> | ||
766 | </tr> | ||
767 | <tr> | ||
768 | <td></td> | ||
769 | <td>)</td> | ||
770 | <td></td><td><code> [pure virtual]</code></td> | ||
771 | </tr> | ||
772 | </table> | ||
773 | </div> | ||
774 | <div class="memdoc"> | ||
775 | |||
776 | <p>Adds an image element. </p> | ||
777 | <p>Use <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_image.html#a35a3af4957e42acb183f562d09a4ea63" title="Sets an image texture.">IGUIImage::setImage</a> later to set the image to be displayed. </p> | ||
778 | <dl><dt><b>Parameters:</b></dt><dd> | ||
779 | <table class="params"> | ||
780 | <tr><td class="paramname">rectangle</td><td>Rectangle specifying the borders of the image. </td></tr> | ||
781 | <tr><td class="paramname">parent</td><td>Parent gui element of the image. </td></tr> | ||
782 | <tr><td class="paramname">id</td><td>Id to identify the gui element. </td></tr> | ||
783 | <tr><td class="paramname">text</td><td>Title text of the image. </td></tr> | ||
784 | <tr><td class="paramname">useAlphaChannel</td><td>Sets if the image should use the alpha channel of the texture to draw itself. </td></tr> | ||
785 | </table> | ||
786 | </dd> | ||
787 | </dl> | ||
788 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created image element. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
789 | |||
790 | </div> | ||
791 | </div> | ||
792 | <a class="anchor" id="a9ffbddbf3785b54a284d83df4ce3df02"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addInOutFader" ref="a9ffbddbf3785b54a284d83df4ce3df02" args="(const core::rect< s32 > *rectangle=0, IGUIElement *parent=0, s32 id=-1)=0" --> | ||
793 | <div class="memitem"> | ||
794 | <div class="memproto"> | ||
795 | <table class="memname"> | ||
796 | <tr> | ||
797 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_in_out_fader.html">IGUIInOutFader</a>* irr::gui::IGUIEnvironment::addInOutFader </td> | ||
798 | <td>(</td> | ||
799 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > * </td> | ||
800 | <td class="paramname"><em>rectangle</em> = <code>0</code>, </td> | ||
801 | </tr> | ||
802 | <tr> | ||
803 | <td class="paramkey"></td> | ||
804 | <td></td> | ||
805 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
806 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
807 | </tr> | ||
808 | <tr> | ||
809 | <td class="paramkey"></td> | ||
810 | <td></td> | ||
811 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
812 | <td class="paramname"><em>id</em> = <code>-1</code> </td> | ||
813 | </tr> | ||
814 | <tr> | ||
815 | <td></td> | ||
816 | <td>)</td> | ||
817 | <td></td><td><code> [pure virtual]</code></td> | ||
818 | </tr> | ||
819 | </table> | ||
820 | </div> | ||
821 | <div class="memdoc"> | ||
822 | |||
823 | <p>Adds an element for fading in or out. </p> | ||
824 | <dl><dt><b>Parameters:</b></dt><dd> | ||
825 | <table class="params"> | ||
826 | <tr><td class="paramname">rectangle</td><td>Rectangle specifying the borders of the fader. If the pointer is NULL, the whole screen is used. </td></tr> | ||
827 | <tr><td class="paramname">parent</td><td>Parent item of the element, e.g. a window. </td></tr> | ||
828 | <tr><td class="paramname">id</td><td>An identifier for the fader. </td></tr> | ||
829 | </table> | ||
830 | </dd> | ||
831 | </dl> | ||
832 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created in-out-fader. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
833 | |||
834 | </div> | ||
835 | </div> | ||
836 | <a class="anchor" id="af5990b3ad8c9bdc65e645a4cb508ad5f"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addListBox" ref="af5990b3ad8c9bdc65e645a4cb508ad5f" args="(const core::rect< s32 > &rectangle, IGUIElement *parent=0, s32 id=-1, bool drawBackground=false)=0" --> | ||
837 | <div class="memitem"> | ||
838 | <div class="memproto"> | ||
839 | <table class="memname"> | ||
840 | <tr> | ||
841 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_list_box.html">IGUIListBox</a>* irr::gui::IGUIEnvironment::addListBox </td> | ||
842 | <td>(</td> | ||
843 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
844 | <td class="paramname"><em>rectangle</em>, </td> | ||
845 | </tr> | ||
846 | <tr> | ||
847 | <td class="paramkey"></td> | ||
848 | <td></td> | ||
849 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
850 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
851 | </tr> | ||
852 | <tr> | ||
853 | <td class="paramkey"></td> | ||
854 | <td></td> | ||
855 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
856 | <td class="paramname"><em>id</em> = <code>-1</code>, </td> | ||
857 | </tr> | ||
858 | <tr> | ||
859 | <td class="paramkey"></td> | ||
860 | <td></td> | ||
861 | <td class="paramtype">bool </td> | ||
862 | <td class="paramname"><em>drawBackground</em> = <code>false</code> </td> | ||
863 | </tr> | ||
864 | <tr> | ||
865 | <td></td> | ||
866 | <td>)</td> | ||
867 | <td></td><td><code> [pure virtual]</code></td> | ||
868 | </tr> | ||
869 | </table> | ||
870 | </div> | ||
871 | <div class="memdoc"> | ||
872 | |||
873 | <p>Adds a list box element. </p> | ||
874 | <dl><dt><b>Parameters:</b></dt><dd> | ||
875 | <table class="params"> | ||
876 | <tr><td class="paramname">rectangle</td><td>Rectangle specifying the borders of the list box. </td></tr> | ||
877 | <tr><td class="paramname">parent</td><td>Parent gui element of the list box. </td></tr> | ||
878 | <tr><td class="paramname">id</td><td>Id to identify the gui element. </td></tr> | ||
879 | <tr><td class="paramname">drawBackground</td><td>Flag whether the background should be drawn. </td></tr> | ||
880 | </table> | ||
881 | </dd> | ||
882 | </dl> | ||
883 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created list box. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
884 | |||
885 | </div> | ||
886 | </div> | ||
887 | <a class="anchor" id="a0bed2ddf6c422117285f9602c8afd4a1"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addMenu" ref="a0bed2ddf6c422117285f9602c8afd4a1" args="(IGUIElement *parent=0, s32 id=-1)=0" --> | ||
888 | <div class="memitem"> | ||
889 | <div class="memproto"> | ||
890 | <table class="memname"> | ||
891 | <tr> | ||
892 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_context_menu.html">IGUIContextMenu</a>* irr::gui::IGUIEnvironment::addMenu </td> | ||
893 | <td>(</td> | ||
894 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
895 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
896 | </tr> | ||
897 | <tr> | ||
898 | <td class="paramkey"></td> | ||
899 | <td></td> | ||
900 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
901 | <td class="paramname"><em>id</em> = <code>-1</code> </td> | ||
902 | </tr> | ||
903 | <tr> | ||
904 | <td></td> | ||
905 | <td>)</td> | ||
906 | <td></td><td><code> [pure virtual]</code></td> | ||
907 | </tr> | ||
908 | </table> | ||
909 | </div> | ||
910 | <div class="memdoc"> | ||
911 | |||
912 | <p>Adds a menu to the environment. </p> | ||
913 | <p>This is like the menu you can find on top of most windows in modern graphical user interfaces. </p> | ||
914 | <dl><dt><b>Parameters:</b></dt><dd> | ||
915 | <table class="params"> | ||
916 | <tr><td class="paramname">parent</td><td>Parent item of the element, e.g. a window. Set it to 0 to place the menu directly in the environment. </td></tr> | ||
917 | <tr><td class="paramname">id</td><td>An identifier for the menu. </td></tr> | ||
918 | </table> | ||
919 | </dd> | ||
920 | </dl> | ||
921 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created menu. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
922 | |||
923 | </div> | ||
924 | </div> | ||
925 | <a class="anchor" id="a4e35088a4346e5a80d1362e406a628e2"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addMeshViewer" ref="a4e35088a4346e5a80d1362e406a628e2" args="(const core::rect< s32 > &rectangle, IGUIElement *parent=0, s32 id=-1, const wchar_t *text=0)=0" --> | ||
926 | <div class="memitem"> | ||
927 | <div class="memproto"> | ||
928 | <table class="memname"> | ||
929 | <tr> | ||
930 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_mesh_viewer.html">IGUIMeshViewer</a>* irr::gui::IGUIEnvironment::addMeshViewer </td> | ||
931 | <td>(</td> | ||
932 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
933 | <td class="paramname"><em>rectangle</em>, </td> | ||
934 | </tr> | ||
935 | <tr> | ||
936 | <td class="paramkey"></td> | ||
937 | <td></td> | ||
938 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
939 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
940 | </tr> | ||
941 | <tr> | ||
942 | <td class="paramkey"></td> | ||
943 | <td></td> | ||
944 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
945 | <td class="paramname"><em>id</em> = <code>-1</code>, </td> | ||
946 | </tr> | ||
947 | <tr> | ||
948 | <td class="paramkey"></td> | ||
949 | <td></td> | ||
950 | <td class="paramtype">const wchar_t * </td> | ||
951 | <td class="paramname"><em>text</em> = <code>0</code> </td> | ||
952 | </tr> | ||
953 | <tr> | ||
954 | <td></td> | ||
955 | <td>)</td> | ||
956 | <td></td><td><code> [pure virtual]</code></td> | ||
957 | </tr> | ||
958 | </table> | ||
959 | </div> | ||
960 | <div class="memdoc"> | ||
961 | |||
962 | <p>Adds a mesh viewer. Not 100% implemented yet. </p> | ||
963 | <dl><dt><b>Parameters:</b></dt><dd> | ||
964 | <table class="params"> | ||
965 | <tr><td class="paramname">rectangle</td><td>Rectangle specifying the borders of the mesh viewer. </td></tr> | ||
966 | <tr><td class="paramname">parent</td><td>Parent gui element of the mesh viewer. </td></tr> | ||
967 | <tr><td class="paramname">id</td><td>Id to identify the gui element. </td></tr> | ||
968 | <tr><td class="paramname">text</td><td>Title text of the mesh viewer. </td></tr> | ||
969 | </table> | ||
970 | </dd> | ||
971 | </dl> | ||
972 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created mesh viewer. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
973 | |||
974 | </div> | ||
975 | </div> | ||
976 | <a class="anchor" id="aaf8cad4624c26895523b22728098a917"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addMessageBox" ref="aaf8cad4624c26895523b22728098a917" args="(const wchar_t *caption, const wchar_t *text=0, bool modal=true, s32 flags=EMBF_OK, IGUIElement *parent=0, s32 id=-1, video::ITexture *image=0)=0" --> | ||
977 | <div class="memitem"> | ||
978 | <div class="memproto"> | ||
979 | <table class="memname"> | ||
980 | <tr> | ||
981 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_window.html">IGUIWindow</a>* irr::gui::IGUIEnvironment::addMessageBox </td> | ||
982 | <td>(</td> | ||
983 | <td class="paramtype">const wchar_t * </td> | ||
984 | <td class="paramname"><em>caption</em>, </td> | ||
985 | </tr> | ||
986 | <tr> | ||
987 | <td class="paramkey"></td> | ||
988 | <td></td> | ||
989 | <td class="paramtype">const wchar_t * </td> | ||
990 | <td class="paramname"><em>text</em> = <code>0</code>, </td> | ||
991 | </tr> | ||
992 | <tr> | ||
993 | <td class="paramkey"></td> | ||
994 | <td></td> | ||
995 | <td class="paramtype">bool </td> | ||
996 | <td class="paramname"><em>modal</em> = <code>true</code>, </td> | ||
997 | </tr> | ||
998 | <tr> | ||
999 | <td class="paramkey"></td> | ||
1000 | <td></td> | ||
1001 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
1002 | <td class="paramname"><em>flags</em> = <code>EMBF_OK</code>, </td> | ||
1003 | </tr> | ||
1004 | <tr> | ||
1005 | <td class="paramkey"></td> | ||
1006 | <td></td> | ||
1007 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
1008 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
1009 | </tr> | ||
1010 | <tr> | ||
1011 | <td class="paramkey"></td> | ||
1012 | <td></td> | ||
1013 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
1014 | <td class="paramname"><em>id</em> = <code>-1</code>, </td> | ||
1015 | </tr> | ||
1016 | <tr> | ||
1017 | <td class="paramkey"></td> | ||
1018 | <td></td> | ||
1019 | <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> * </td> | ||
1020 | <td class="paramname"><em>image</em> = <code>0</code> </td> | ||
1021 | </tr> | ||
1022 | <tr> | ||
1023 | <td></td> | ||
1024 | <td>)</td> | ||
1025 | <td></td><td><code> [pure virtual]</code></td> | ||
1026 | </tr> | ||
1027 | </table> | ||
1028 | </div> | ||
1029 | <div class="memdoc"> | ||
1030 | |||
1031 | <p>Adds a message box. </p> | ||
1032 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1033 | <table class="params"> | ||
1034 | <tr><td class="paramname">caption</td><td>Text to be displayed the title of the message box. </td></tr> | ||
1035 | <tr><td class="paramname">text</td><td>Text to be displayed in the body of the message box. </td></tr> | ||
1036 | <tr><td class="paramname">modal</td><td>Defines if the dialog is modal. This means, that all other gui elements which were created before the message box cannot be used until this messagebox is removed. </td></tr> | ||
1037 | <tr><td class="paramname">flags</td><td>Flags specifying the layout of the message box. For example to create a message box with an OK and a CANCEL button on it, set this to (EMBF_OK | EMBF_CANCEL). </td></tr> | ||
1038 | <tr><td class="paramname">parent</td><td>Parent gui element of the message box. </td></tr> | ||
1039 | <tr><td class="paramname">id</td><td>Id with which the gui element can be identified. </td></tr> | ||
1040 | <tr><td class="paramname">image</td><td>Optional texture which will be displayed beside the text as an image </td></tr> | ||
1041 | </table> | ||
1042 | </dd> | ||
1043 | </dl> | ||
1044 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created message box. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
1045 | |||
1046 | </div> | ||
1047 | </div> | ||
1048 | <a class="anchor" id="a8bdf2e97e3694da75205ad693d849219"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addModalScreen" ref="a8bdf2e97e3694da75205ad693d849219" args="(IGUIElement *parent)=0" --> | ||
1049 | <div class="memitem"> | ||
1050 | <div class="memproto"> | ||
1051 | <table class="memname"> | ||
1052 | <tr> | ||
1053 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a>* irr::gui::IGUIEnvironment::addModalScreen </td> | ||
1054 | <td>(</td> | ||
1055 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
1056 | <td class="paramname"><em>parent</em></td><td>)</td> | ||
1057 | <td><code> [pure virtual]</code></td> | ||
1058 | </tr> | ||
1059 | </table> | ||
1060 | </div> | ||
1061 | <div class="memdoc"> | ||
1062 | |||
1063 | <p>Adds a modal screen. </p> | ||
1064 | <p>This control stops its parent's members from being able to receive input until its last child is removed, it then deletes itself. </p> | ||
1065 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1066 | <table class="params"> | ||
1067 | <tr><td class="paramname">parent</td><td>Parent gui element of the modal. </td></tr> | ||
1068 | </table> | ||
1069 | </dd> | ||
1070 | </dl> | ||
1071 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created modal. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
1072 | |||
1073 | </div> | ||
1074 | </div> | ||
1075 | <a class="anchor" id="aff82c4b3935eaf56ce638996f5e002c9"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addScrollBar" ref="aff82c4b3935eaf56ce638996f5e002c9" args="(bool horizontal, const core::rect< s32 > &rectangle, IGUIElement *parent=0, s32 id=-1)=0" --> | ||
1076 | <div class="memitem"> | ||
1077 | <div class="memproto"> | ||
1078 | <table class="memname"> | ||
1079 | <tr> | ||
1080 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_scroll_bar.html">IGUIScrollBar</a>* irr::gui::IGUIEnvironment::addScrollBar </td> | ||
1081 | <td>(</td> | ||
1082 | <td class="paramtype">bool </td> | ||
1083 | <td class="paramname"><em>horizontal</em>, </td> | ||
1084 | </tr> | ||
1085 | <tr> | ||
1086 | <td class="paramkey"></td> | ||
1087 | <td></td> | ||
1088 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
1089 | <td class="paramname"><em>rectangle</em>, </td> | ||
1090 | </tr> | ||
1091 | <tr> | ||
1092 | <td class="paramkey"></td> | ||
1093 | <td></td> | ||
1094 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
1095 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
1096 | </tr> | ||
1097 | <tr> | ||
1098 | <td class="paramkey"></td> | ||
1099 | <td></td> | ||
1100 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
1101 | <td class="paramname"><em>id</em> = <code>-1</code> </td> | ||
1102 | </tr> | ||
1103 | <tr> | ||
1104 | <td></td> | ||
1105 | <td>)</td> | ||
1106 | <td></td><td><code> [pure virtual]</code></td> | ||
1107 | </tr> | ||
1108 | </table> | ||
1109 | </div> | ||
1110 | <div class="memdoc"> | ||
1111 | |||
1112 | <p>Adds a scrollbar. </p> | ||
1113 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1114 | <table class="params"> | ||
1115 | <tr><td class="paramname">horizontal</td><td>Specifies if the scroll bar is drawn horizontal or vertical. </td></tr> | ||
1116 | <tr><td class="paramname">rectangle</td><td>Rectangle specifying the borders of the scrollbar. </td></tr> | ||
1117 | <tr><td class="paramname">parent</td><td>Parent gui element of the scroll bar. </td></tr> | ||
1118 | <tr><td class="paramname">id</td><td>Id to identify the gui element. </td></tr> | ||
1119 | </table> | ||
1120 | </dd> | ||
1121 | </dl> | ||
1122 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created scrollbar. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
1123 | |||
1124 | </div> | ||
1125 | </div> | ||
1126 | <a class="anchor" id="ab7deca80cf9b0422fba30985612c3c99"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addSpinBox" ref="ab7deca80cf9b0422fba30985612c3c99" args="(const wchar_t *text, const core::rect< s32 > &rectangle, bool border=true, IGUIElement *parent=0, s32 id=-1)=0" --> | ||
1127 | <div class="memitem"> | ||
1128 | <div class="memproto"> | ||
1129 | <table class="memname"> | ||
1130 | <tr> | ||
1131 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_spin_box.html">IGUISpinBox</a>* irr::gui::IGUIEnvironment::addSpinBox </td> | ||
1132 | <td>(</td> | ||
1133 | <td class="paramtype">const wchar_t * </td> | ||
1134 | <td class="paramname"><em>text</em>, </td> | ||
1135 | </tr> | ||
1136 | <tr> | ||
1137 | <td class="paramkey"></td> | ||
1138 | <td></td> | ||
1139 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
1140 | <td class="paramname"><em>rectangle</em>, </td> | ||
1141 | </tr> | ||
1142 | <tr> | ||
1143 | <td class="paramkey"></td> | ||
1144 | <td></td> | ||
1145 | <td class="paramtype">bool </td> | ||
1146 | <td class="paramname"><em>border</em> = <code>true</code>, </td> | ||
1147 | </tr> | ||
1148 | <tr> | ||
1149 | <td class="paramkey"></td> | ||
1150 | <td></td> | ||
1151 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
1152 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
1153 | </tr> | ||
1154 | <tr> | ||
1155 | <td class="paramkey"></td> | ||
1156 | <td></td> | ||
1157 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
1158 | <td class="paramname"><em>id</em> = <code>-1</code> </td> | ||
1159 | </tr> | ||
1160 | <tr> | ||
1161 | <td></td> | ||
1162 | <td>)</td> | ||
1163 | <td></td><td><code> [pure virtual]</code></td> | ||
1164 | </tr> | ||
1165 | </table> | ||
1166 | </div> | ||
1167 | <div class="memdoc"> | ||
1168 | |||
1169 | <p>Adds a spin box. </p> | ||
1170 | <p>An edit box with up and down buttons </p> | ||
1171 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1172 | <table class="params"> | ||
1173 | <tr><td class="paramname">text</td><td>Text to be displayed. Can be altered after creation by setText(). </td></tr> | ||
1174 | <tr><td class="paramname">rectangle</td><td>Rectangle specifying the borders of the spin box. </td></tr> | ||
1175 | <tr><td class="paramname">border</td><td>Set to true if the spin box should have a 3d border. </td></tr> | ||
1176 | <tr><td class="paramname">parent</td><td>Parent item of the element, e.g. a window. Set it to 0 to place the spin box directly in the environment. </td></tr> | ||
1177 | <tr><td class="paramname">id</td><td>The ID of the element. </td></tr> | ||
1178 | </table> | ||
1179 | </dd> | ||
1180 | </dl> | ||
1181 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created spin box. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
1182 | |||
1183 | </div> | ||
1184 | </div> | ||
1185 | <a class="anchor" id="adb56652b23932a391b08f710a9546ef3"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addStaticText" ref="adb56652b23932a391b08f710a9546ef3" args="(const wchar_t *text, const core::rect< s32 > &rectangle, bool border=false, bool wordWrap=true, IGUIElement *parent=0, s32 id=-1, bool fillBackground=false)=0" --> | ||
1186 | <div class="memitem"> | ||
1187 | <div class="memproto"> | ||
1188 | <table class="memname"> | ||
1189 | <tr> | ||
1190 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_static_text.html">IGUIStaticText</a>* irr::gui::IGUIEnvironment::addStaticText </td> | ||
1191 | <td>(</td> | ||
1192 | <td class="paramtype">const wchar_t * </td> | ||
1193 | <td class="paramname"><em>text</em>, </td> | ||
1194 | </tr> | ||
1195 | <tr> | ||
1196 | <td class="paramkey"></td> | ||
1197 | <td></td> | ||
1198 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
1199 | <td class="paramname"><em>rectangle</em>, </td> | ||
1200 | </tr> | ||
1201 | <tr> | ||
1202 | <td class="paramkey"></td> | ||
1203 | <td></td> | ||
1204 | <td class="paramtype">bool </td> | ||
1205 | <td class="paramname"><em>border</em> = <code>false</code>, </td> | ||
1206 | </tr> | ||
1207 | <tr> | ||
1208 | <td class="paramkey"></td> | ||
1209 | <td></td> | ||
1210 | <td class="paramtype">bool </td> | ||
1211 | <td class="paramname"><em>wordWrap</em> = <code>true</code>, </td> | ||
1212 | </tr> | ||
1213 | <tr> | ||
1214 | <td class="paramkey"></td> | ||
1215 | <td></td> | ||
1216 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
1217 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
1218 | </tr> | ||
1219 | <tr> | ||
1220 | <td class="paramkey"></td> | ||
1221 | <td></td> | ||
1222 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
1223 | <td class="paramname"><em>id</em> = <code>-1</code>, </td> | ||
1224 | </tr> | ||
1225 | <tr> | ||
1226 | <td class="paramkey"></td> | ||
1227 | <td></td> | ||
1228 | <td class="paramtype">bool </td> | ||
1229 | <td class="paramname"><em>fillBackground</em> = <code>false</code> </td> | ||
1230 | </tr> | ||
1231 | <tr> | ||
1232 | <td></td> | ||
1233 | <td>)</td> | ||
1234 | <td></td><td><code> [pure virtual]</code></td> | ||
1235 | </tr> | ||
1236 | </table> | ||
1237 | </div> | ||
1238 | <div class="memdoc"> | ||
1239 | |||
1240 | <p>Adds a static text. </p> | ||
1241 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1242 | <table class="params"> | ||
1243 | <tr><td class="paramname">text</td><td>Text to be displayed. Can be altered after creation by SetText(). </td></tr> | ||
1244 | <tr><td class="paramname">rectangle</td><td>Rectangle specifying the borders of the static text </td></tr> | ||
1245 | <tr><td class="paramname">border</td><td>Set to true if the static text should have a 3d border. </td></tr> | ||
1246 | <tr><td class="paramname">wordWrap</td><td>Enable if the text should wrap into multiple lines. </td></tr> | ||
1247 | <tr><td class="paramname">parent</td><td>Parent item of the element, e.g. a window. </td></tr> | ||
1248 | <tr><td class="paramname">id</td><td>The ID of the element. </td></tr> | ||
1249 | <tr><td class="paramname">fillBackground</td><td>Enable if the background shall be filled. Defaults to false. </td></tr> | ||
1250 | </table> | ||
1251 | </dd> | ||
1252 | </dl> | ||
1253 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created static text. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
1254 | |||
1255 | </div> | ||
1256 | </div> | ||
1257 | <a class="anchor" id="a67b5c558738d61f4753353de8b96f3c1"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addTab" ref="a67b5c558738d61f4753353de8b96f3c1" args="(const core::rect< s32 > &rectangle, IGUIElement *parent=0, s32 id=-1)=0" --> | ||
1258 | <div class="memitem"> | ||
1259 | <div class="memproto"> | ||
1260 | <table class="memname"> | ||
1261 | <tr> | ||
1262 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_tab.html">IGUITab</a>* irr::gui::IGUIEnvironment::addTab </td> | ||
1263 | <td>(</td> | ||
1264 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
1265 | <td class="paramname"><em>rectangle</em>, </td> | ||
1266 | </tr> | ||
1267 | <tr> | ||
1268 | <td class="paramkey"></td> | ||
1269 | <td></td> | ||
1270 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
1271 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
1272 | </tr> | ||
1273 | <tr> | ||
1274 | <td class="paramkey"></td> | ||
1275 | <td></td> | ||
1276 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
1277 | <td class="paramname"><em>id</em> = <code>-1</code> </td> | ||
1278 | </tr> | ||
1279 | <tr> | ||
1280 | <td></td> | ||
1281 | <td>)</td> | ||
1282 | <td></td><td><code> [pure virtual]</code></td> | ||
1283 | </tr> | ||
1284 | </table> | ||
1285 | </div> | ||
1286 | <div class="memdoc"> | ||
1287 | |||
1288 | <p>Adds tab to the environment. </p> | ||
1289 | <p>You can use this element to group other elements. This is not used for creating tabs on tab controls, please use <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_tab_control.html#a4b1a55fd79785abc4f5bcb05f8637a42" title="Adds a tab.">IGUITabControl::addTab()</a> for this instead. </p> | ||
1290 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1291 | <table class="params"> | ||
1292 | <tr><td class="paramname">rectangle</td><td>Rectangle specifying the borders of the tab. </td></tr> | ||
1293 | <tr><td class="paramname">parent</td><td>Parent item of the element, e.g. a window. Set it to 0 to place the tab directly in the environment. </td></tr> | ||
1294 | <tr><td class="paramname">id</td><td>An identifier for the tab. </td></tr> | ||
1295 | </table> | ||
1296 | </dd> | ||
1297 | </dl> | ||
1298 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created tab. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
1299 | |||
1300 | </div> | ||
1301 | </div> | ||
1302 | <a class="anchor" id="af076e5646db2e392309aef75edd28238"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addTabControl" ref="af076e5646db2e392309aef75edd28238" args="(const core::rect< s32 > &rectangle, IGUIElement *parent=0, bool fillbackground=false, bool border=true, s32 id=-1)=0" --> | ||
1303 | <div class="memitem"> | ||
1304 | <div class="memproto"> | ||
1305 | <table class="memname"> | ||
1306 | <tr> | ||
1307 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_tab_control.html">IGUITabControl</a>* irr::gui::IGUIEnvironment::addTabControl </td> | ||
1308 | <td>(</td> | ||
1309 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
1310 | <td class="paramname"><em>rectangle</em>, </td> | ||
1311 | </tr> | ||
1312 | <tr> | ||
1313 | <td class="paramkey"></td> | ||
1314 | <td></td> | ||
1315 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
1316 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
1317 | </tr> | ||
1318 | <tr> | ||
1319 | <td class="paramkey"></td> | ||
1320 | <td></td> | ||
1321 | <td class="paramtype">bool </td> | ||
1322 | <td class="paramname"><em>fillbackground</em> = <code>false</code>, </td> | ||
1323 | </tr> | ||
1324 | <tr> | ||
1325 | <td class="paramkey"></td> | ||
1326 | <td></td> | ||
1327 | <td class="paramtype">bool </td> | ||
1328 | <td class="paramname"><em>border</em> = <code>true</code>, </td> | ||
1329 | </tr> | ||
1330 | <tr> | ||
1331 | <td class="paramkey"></td> | ||
1332 | <td></td> | ||
1333 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
1334 | <td class="paramname"><em>id</em> = <code>-1</code> </td> | ||
1335 | </tr> | ||
1336 | <tr> | ||
1337 | <td></td> | ||
1338 | <td>)</td> | ||
1339 | <td></td><td><code> [pure virtual]</code></td> | ||
1340 | </tr> | ||
1341 | </table> | ||
1342 | </div> | ||
1343 | <div class="memdoc"> | ||
1344 | |||
1345 | <p>Adds a tab control to the environment. </p> | ||
1346 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1347 | <table class="params"> | ||
1348 | <tr><td class="paramname">rectangle</td><td>Rectangle specifying the borders of the tab control. </td></tr> | ||
1349 | <tr><td class="paramname">parent</td><td>Parent item of the element, e.g. a window. Set it to 0 to place the tab control directly in the environment. </td></tr> | ||
1350 | <tr><td class="paramname">fillbackground</td><td>Specifies if the background of the tab control should be drawn. </td></tr> | ||
1351 | <tr><td class="paramname">border</td><td>Specifies if a flat 3d border should be drawn. This is usually not necessary unless you place the control directly into the environment without a window as parent. </td></tr> | ||
1352 | <tr><td class="paramname">id</td><td>An identifier for the tab control. </td></tr> | ||
1353 | </table> | ||
1354 | </dd> | ||
1355 | </dl> | ||
1356 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created tab control element. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
1357 | |||
1358 | </div> | ||
1359 | </div> | ||
1360 | <a class="anchor" id="a6c4a058d7c6ff21f062b5fe540ca4748"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addTable" ref="a6c4a058d7c6ff21f062b5fe540ca4748" args="(const core::rect< s32 > &rectangle, IGUIElement *parent=0, s32 id=-1, bool drawBackground=false)=0" --> | ||
1361 | <div class="memitem"> | ||
1362 | <div class="memproto"> | ||
1363 | <table class="memname"> | ||
1364 | <tr> | ||
1365 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_table.html">IGUITable</a>* irr::gui::IGUIEnvironment::addTable </td> | ||
1366 | <td>(</td> | ||
1367 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
1368 | <td class="paramname"><em>rectangle</em>, </td> | ||
1369 | </tr> | ||
1370 | <tr> | ||
1371 | <td class="paramkey"></td> | ||
1372 | <td></td> | ||
1373 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
1374 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
1375 | </tr> | ||
1376 | <tr> | ||
1377 | <td class="paramkey"></td> | ||
1378 | <td></td> | ||
1379 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
1380 | <td class="paramname"><em>id</em> = <code>-1</code>, </td> | ||
1381 | </tr> | ||
1382 | <tr> | ||
1383 | <td class="paramkey"></td> | ||
1384 | <td></td> | ||
1385 | <td class="paramtype">bool </td> | ||
1386 | <td class="paramname"><em>drawBackground</em> = <code>false</code> </td> | ||
1387 | </tr> | ||
1388 | <tr> | ||
1389 | <td></td> | ||
1390 | <td>)</td> | ||
1391 | <td></td><td><code> [pure virtual]</code></td> | ||
1392 | </tr> | ||
1393 | </table> | ||
1394 | </div> | ||
1395 | <div class="memdoc"> | ||
1396 | |||
1397 | <p>Adds a table to the environment. </p> | ||
1398 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1399 | <table class="params"> | ||
1400 | <tr><td class="paramname">rectangle</td><td>Rectangle specifying the borders of the table. </td></tr> | ||
1401 | <tr><td class="paramname">parent</td><td>Parent item of the element, e.g. a window. Set it to 0 to place the element directly in the environment. </td></tr> | ||
1402 | <tr><td class="paramname">id</td><td>An identifier for the table. </td></tr> | ||
1403 | <tr><td class="paramname">drawBackground</td><td>Flag whether the background should be drawn. </td></tr> | ||
1404 | </table> | ||
1405 | </dd> | ||
1406 | </dl> | ||
1407 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created table. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
1408 | |||
1409 | </div> | ||
1410 | </div> | ||
1411 | <a class="anchor" id="aa25084f8d939ca49b503162fd3370eae"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addToolBar" ref="aa25084f8d939ca49b503162fd3370eae" args="(IGUIElement *parent=0, s32 id=-1)=0" --> | ||
1412 | <div class="memitem"> | ||
1413 | <div class="memproto"> | ||
1414 | <table class="memname"> | ||
1415 | <tr> | ||
1416 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_tool_bar.html">IGUIToolBar</a>* irr::gui::IGUIEnvironment::addToolBar </td> | ||
1417 | <td>(</td> | ||
1418 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
1419 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
1420 | </tr> | ||
1421 | <tr> | ||
1422 | <td class="paramkey"></td> | ||
1423 | <td></td> | ||
1424 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
1425 | <td class="paramname"><em>id</em> = <code>-1</code> </td> | ||
1426 | </tr> | ||
1427 | <tr> | ||
1428 | <td></td> | ||
1429 | <td>)</td> | ||
1430 | <td></td><td><code> [pure virtual]</code></td> | ||
1431 | </tr> | ||
1432 | </table> | ||
1433 | </div> | ||
1434 | <div class="memdoc"> | ||
1435 | |||
1436 | <p>Adds a toolbar to the environment. </p> | ||
1437 | <p>It is like a menu that is always placed on top of its parent, and contains buttons. </p> | ||
1438 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1439 | <table class="params"> | ||
1440 | <tr><td class="paramname">parent</td><td>Parent item of the element, e.g. a window. Set it to 0 to place the tool bar directly in the environment. </td></tr> | ||
1441 | <tr><td class="paramname">id</td><td>An identifier for the tool bar. </td></tr> | ||
1442 | </table> | ||
1443 | </dd> | ||
1444 | </dl> | ||
1445 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created tool bar. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
1446 | |||
1447 | </div> | ||
1448 | </div> | ||
1449 | <a class="anchor" id="a3c82300cf7eaabc451ef20a04b432c32"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addTreeView" ref="a3c82300cf7eaabc451ef20a04b432c32" args="(const core::rect< s32 > &rectangle, IGUIElement *parent=0, s32 id=-1, bool drawBackground=false, bool scrollBarVertical=true, bool scrollBarHorizontal=false)=0" --> | ||
1450 | <div class="memitem"> | ||
1451 | <div class="memproto"> | ||
1452 | <table class="memname"> | ||
1453 | <tr> | ||
1454 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_tree_view.html">IGUITreeView</a>* irr::gui::IGUIEnvironment::addTreeView </td> | ||
1455 | <td>(</td> | ||
1456 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
1457 | <td class="paramname"><em>rectangle</em>, </td> | ||
1458 | </tr> | ||
1459 | <tr> | ||
1460 | <td class="paramkey"></td> | ||
1461 | <td></td> | ||
1462 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
1463 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
1464 | </tr> | ||
1465 | <tr> | ||
1466 | <td class="paramkey"></td> | ||
1467 | <td></td> | ||
1468 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
1469 | <td class="paramname"><em>id</em> = <code>-1</code>, </td> | ||
1470 | </tr> | ||
1471 | <tr> | ||
1472 | <td class="paramkey"></td> | ||
1473 | <td></td> | ||
1474 | <td class="paramtype">bool </td> | ||
1475 | <td class="paramname"><em>drawBackground</em> = <code>false</code>, </td> | ||
1476 | </tr> | ||
1477 | <tr> | ||
1478 | <td class="paramkey"></td> | ||
1479 | <td></td> | ||
1480 | <td class="paramtype">bool </td> | ||
1481 | <td class="paramname"><em>scrollBarVertical</em> = <code>true</code>, </td> | ||
1482 | </tr> | ||
1483 | <tr> | ||
1484 | <td class="paramkey"></td> | ||
1485 | <td></td> | ||
1486 | <td class="paramtype">bool </td> | ||
1487 | <td class="paramname"><em>scrollBarHorizontal</em> = <code>false</code> </td> | ||
1488 | </tr> | ||
1489 | <tr> | ||
1490 | <td></td> | ||
1491 | <td>)</td> | ||
1492 | <td></td><td><code> [pure virtual]</code></td> | ||
1493 | </tr> | ||
1494 | </table> | ||
1495 | </div> | ||
1496 | <div class="memdoc"> | ||
1497 | |||
1498 | <p>Adds a tree view element. </p> | ||
1499 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1500 | <table class="params"> | ||
1501 | <tr><td class="paramname">rectangle</td><td>Position and dimension of list box. </td></tr> | ||
1502 | <tr><td class="paramname">parent</td><td>Parent gui element of the list box. </td></tr> | ||
1503 | <tr><td class="paramname">id</td><td>Id to identify the gui element. </td></tr> | ||
1504 | <tr><td class="paramname">drawBackground</td><td>Flag whether the background should be drawn. </td></tr> | ||
1505 | <tr><td class="paramname">scrollBarVertical</td><td>Flag whether a vertical scrollbar should be used </td></tr> | ||
1506 | <tr><td class="paramname">scrollBarHorizontal</td><td>Flag whether a horizontal scrollbar should be used </td></tr> | ||
1507 | </table> | ||
1508 | </dd> | ||
1509 | </dl> | ||
1510 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created list box. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
1511 | |||
1512 | </div> | ||
1513 | </div> | ||
1514 | <a class="anchor" id="ac233dcbef643b5f7de9ab30ae5896e28"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::addWindow" ref="ac233dcbef643b5f7de9ab30ae5896e28" args="(const core::rect< s32 > &rectangle, bool modal=false, const wchar_t *text=0, IGUIElement *parent=0, s32 id=-1)=0" --> | ||
1515 | <div class="memitem"> | ||
1516 | <div class="memproto"> | ||
1517 | <table class="memname"> | ||
1518 | <tr> | ||
1519 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_window.html">IGUIWindow</a>* irr::gui::IGUIEnvironment::addWindow </td> | ||
1520 | <td>(</td> | ||
1521 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
1522 | <td class="paramname"><em>rectangle</em>, </td> | ||
1523 | </tr> | ||
1524 | <tr> | ||
1525 | <td class="paramkey"></td> | ||
1526 | <td></td> | ||
1527 | <td class="paramtype">bool </td> | ||
1528 | <td class="paramname"><em>modal</em> = <code>false</code>, </td> | ||
1529 | </tr> | ||
1530 | <tr> | ||
1531 | <td class="paramkey"></td> | ||
1532 | <td></td> | ||
1533 | <td class="paramtype">const wchar_t * </td> | ||
1534 | <td class="paramname"><em>text</em> = <code>0</code>, </td> | ||
1535 | </tr> | ||
1536 | <tr> | ||
1537 | <td class="paramkey"></td> | ||
1538 | <td></td> | ||
1539 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
1540 | <td class="paramname"><em>parent</em> = <code>0</code>, </td> | ||
1541 | </tr> | ||
1542 | <tr> | ||
1543 | <td class="paramkey"></td> | ||
1544 | <td></td> | ||
1545 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
1546 | <td class="paramname"><em>id</em> = <code>-1</code> </td> | ||
1547 | </tr> | ||
1548 | <tr> | ||
1549 | <td></td> | ||
1550 | <td>)</td> | ||
1551 | <td></td><td><code> [pure virtual]</code></td> | ||
1552 | </tr> | ||
1553 | </table> | ||
1554 | </div> | ||
1555 | <div class="memdoc"> | ||
1556 | |||
1557 | <p>Adds an empty window element. </p> | ||
1558 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1559 | <table class="params"> | ||
1560 | <tr><td class="paramname">rectangle</td><td>Rectangle specifying the borders of the window. </td></tr> | ||
1561 | <tr><td class="paramname">modal</td><td>Defines if the dialog is modal. This means, that all other gui elements which were created before the window cannot be used until it is removed. </td></tr> | ||
1562 | <tr><td class="paramname">text</td><td>Text displayed as the window title. </td></tr> | ||
1563 | <tr><td class="paramname">parent</td><td>Parent gui element of the window. </td></tr> | ||
1564 | <tr><td class="paramname">id</td><td>Id with which the gui element can be identified. </td></tr> | ||
1565 | </table> | ||
1566 | </dd> | ||
1567 | </dl> | ||
1568 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created window. Returns 0 if an error occurred. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
1569 | |||
1570 | </div> | ||
1571 | </div> | ||
1572 | <a class="anchor" id="a77b0cdd0aec36dbb9c558446fab383c2"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::clear" ref="a77b0cdd0aec36dbb9c558446fab383c2" args="()=0" --> | ||
1573 | <div class="memitem"> | ||
1574 | <div class="memproto"> | ||
1575 | <table class="memname"> | ||
1576 | <tr> | ||
1577 | <td class="memname">virtual void irr::gui::IGUIEnvironment::clear </td> | ||
1578 | <td>(</td> | ||
1579 | <td class="paramname"></td><td>)</td> | ||
1580 | <td><code> [pure virtual]</code></td> | ||
1581 | </tr> | ||
1582 | </table> | ||
1583 | </div> | ||
1584 | <div class="memdoc"> | ||
1585 | |||
1586 | <p>Removes all elements from the environment. </p> | ||
1587 | |||
1588 | </div> | ||
1589 | </div> | ||
1590 | <a class="anchor" id="af3bd793f81b15dc534648e8a37e76467"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::createImageList" ref="af3bd793f81b15dc534648e8a37e76467" args="(video::ITexture *texture, core::dimension2d< s32 > imageSize, bool useAlphaChannel)=0" --> | ||
1591 | <div class="memitem"> | ||
1592 | <div class="memproto"> | ||
1593 | <table class="memname"> | ||
1594 | <tr> | ||
1595 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_image_list.html">IGUIImageList</a>* irr::gui::IGUIEnvironment::createImageList </td> | ||
1596 | <td>(</td> | ||
1597 | <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_texture.html">video::ITexture</a> * </td> | ||
1598 | <td class="paramname"><em>texture</em>, </td> | ||
1599 | </tr> | ||
1600 | <tr> | ||
1601 | <td class="paramkey"></td> | ||
1602 | <td></td> | ||
1603 | <td class="paramtype"><a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > </td> | ||
1604 | <td class="paramname"><em>imageSize</em>, </td> | ||
1605 | </tr> | ||
1606 | <tr> | ||
1607 | <td class="paramkey"></td> | ||
1608 | <td></td> | ||
1609 | <td class="paramtype">bool </td> | ||
1610 | <td class="paramname"><em>useAlphaChannel</em> </td> | ||
1611 | </tr> | ||
1612 | <tr> | ||
1613 | <td></td> | ||
1614 | <td>)</td> | ||
1615 | <td></td><td><code> [pure virtual]</code></td> | ||
1616 | </tr> | ||
1617 | </table> | ||
1618 | </div> | ||
1619 | <div class="memdoc"> | ||
1620 | |||
1621 | <p>Creates the image list from the given texture. </p> | ||
1622 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1623 | <table class="params"> | ||
1624 | <tr><td class="paramname">texture</td><td>Texture to split into images </td></tr> | ||
1625 | <tr><td class="paramname">imageSize</td><td>Dimension of each image </td></tr> | ||
1626 | <tr><td class="paramname">useAlphaChannel</td><td>Flag whether alpha channel of the texture should be honored. </td></tr> | ||
1627 | </table> | ||
1628 | </dd> | ||
1629 | </dl> | ||
1630 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the font. Returns 0 if the font could not be loaded. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
1631 | |||
1632 | </div> | ||
1633 | </div> | ||
1634 | <a class="anchor" id="a824099cd1ba9dd4b95e40dd1b15244f1"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::createSkin" ref="a824099cd1ba9dd4b95e40dd1b15244f1" args="(EGUI_SKIN_TYPE type)=0" --> | ||
1635 | <div class="memitem"> | ||
1636 | <div class="memproto"> | ||
1637 | <table class="memname"> | ||
1638 | <tr> | ||
1639 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_skin.html">IGUISkin</a>* irr::gui::IGUIEnvironment::createSkin </td> | ||
1640 | <td>(</td> | ||
1641 | <td class="paramtype"><a class="el" href="namespaceirr_1_1gui.html#a7b4619db540cbdf96e81023893b4eca5">EGUI_SKIN_TYPE</a> </td> | ||
1642 | <td class="paramname"><em>type</em></td><td>)</td> | ||
1643 | <td><code> [pure virtual]</code></td> | ||
1644 | </tr> | ||
1645 | </table> | ||
1646 | </div> | ||
1647 | <div class="memdoc"> | ||
1648 | |||
1649 | <p>Creates a new GUI Skin based on a template. </p> | ||
1650 | <p>Use <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#ae7042c520e848643e080ad4532797f23" title="Sets a new GUI Skin.">setSkin()</a> to set the created skin. </p> | ||
1651 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1652 | <table class="params"> | ||
1653 | <tr><td class="paramname">type</td><td>The type of the new skin. </td></tr> | ||
1654 | </table> | ||
1655 | </dd> | ||
1656 | </dl> | ||
1657 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the created skin. If you no longer need it, you should call <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IGUISkin::drop()</a>. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
1658 | |||
1659 | </div> | ||
1660 | </div> | ||
1661 | <a class="anchor" id="a8890a0b0cb5a08c9cca65c6efa3a1e0e"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::deserializeAttributes" ref="a8890a0b0cb5a08c9cca65c6efa3a1e0e" args="(io::IAttributes *in, io::SAttributeReadWriteOptions *options=0)=0" --> | ||
1662 | <div class="memitem"> | ||
1663 | <div class="memproto"> | ||
1664 | <table class="memname"> | ||
1665 | <tr> | ||
1666 | <td class="memname">virtual void irr::gui::IGUIEnvironment::deserializeAttributes </td> | ||
1667 | <td>(</td> | ||
1668 | <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a> * </td> | ||
1669 | <td class="paramname"><em>in</em>, </td> | ||
1670 | </tr> | ||
1671 | <tr> | ||
1672 | <td class="paramkey"></td> | ||
1673 | <td></td> | ||
1674 | <td class="paramtype"><a class="el" href="structirr_1_1io_1_1_s_attribute_read_write_options.html">io::SAttributeReadWriteOptions</a> * </td> | ||
1675 | <td class="paramname"><em>options</em> = <code>0</code> </td> | ||
1676 | </tr> | ||
1677 | <tr> | ||
1678 | <td></td> | ||
1679 | <td>)</td> | ||
1680 | <td></td><td><code> [pure virtual]</code></td> | ||
1681 | </tr> | ||
1682 | </table> | ||
1683 | </div> | ||
1684 | <div class="memdoc"> | ||
1685 | |||
1686 | <p>Reads attributes of the gui environment. </p> | ||
1687 | |||
1688 | </div> | ||
1689 | </div> | ||
1690 | <a class="anchor" id="aa6ba29bbf3121a5954cfa5a9ca72982f"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::drawAll" ref="aa6ba29bbf3121a5954cfa5a9ca72982f" args="()=0" --> | ||
1691 | <div class="memitem"> | ||
1692 | <div class="memproto"> | ||
1693 | <table class="memname"> | ||
1694 | <tr> | ||
1695 | <td class="memname">virtual void irr::gui::IGUIEnvironment::drawAll </td> | ||
1696 | <td>(</td> | ||
1697 | <td class="paramname"></td><td>)</td> | ||
1698 | <td><code> [pure virtual]</code></td> | ||
1699 | </tr> | ||
1700 | </table> | ||
1701 | </div> | ||
1702 | <div class="memdoc"> | ||
1703 | |||
1704 | <p>Draws all gui elements by traversing the GUI environment starting at the root node. </p> | ||
1705 | |||
1706 | </div> | ||
1707 | </div> | ||
1708 | <a class="anchor" id="a896fbfcbad5ccf187a835827b439da93"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::getBuiltInFont" ref="a896fbfcbad5ccf187a835827b439da93" args="() const =0" --> | ||
1709 | <div class="memitem"> | ||
1710 | <div class="memproto"> | ||
1711 | <table class="memname"> | ||
1712 | <tr> | ||
1713 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_font.html">IGUIFont</a>* irr::gui::IGUIEnvironment::getBuiltInFont </td> | ||
1714 | <td>(</td> | ||
1715 | <td class="paramname"></td><td>)</td> | ||
1716 | <td> const<code> [pure virtual]</code></td> | ||
1717 | </tr> | ||
1718 | </table> | ||
1719 | </div> | ||
1720 | <div class="memdoc"> | ||
1721 | |||
1722 | <p>Returns the default built-in font. </p> | ||
1723 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the default built-in font. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
1724 | |||
1725 | </div> | ||
1726 | </div> | ||
1727 | <a class="anchor" id="a13ec41a31e1b9cdc317c0c6092c2b820"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::getDefaultGUIElementFactory" ref="a13ec41a31e1b9cdc317c0c6092c2b820" args="() const =0" --> | ||
1728 | <div class="memitem"> | ||
1729 | <div class="memproto"> | ||
1730 | <table class="memname"> | ||
1731 | <tr> | ||
1732 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element_factory.html">IGUIElementFactory</a>* irr::gui::IGUIEnvironment::getDefaultGUIElementFactory </td> | ||
1733 | <td>(</td> | ||
1734 | <td class="paramname"></td><td>)</td> | ||
1735 | <td> const<code> [pure virtual]</code></td> | ||
1736 | </tr> | ||
1737 | </table> | ||
1738 | </div> | ||
1739 | <div class="memdoc"> | ||
1740 | |||
1741 | <p>Get the default element factory which can create all built-in elements. </p> | ||
1742 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the factory. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
1743 | |||
1744 | </div> | ||
1745 | </div> | ||
1746 | <a class="anchor" id="ad3ae4570702000e09cacdb663f0ec363"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::getFileSystem" ref="ad3ae4570702000e09cacdb663f0ec363" args="() const =0" --> | ||
1747 | <div class="memitem"> | ||
1748 | <div class="memproto"> | ||
1749 | <table class="memname"> | ||
1750 | <tr> | ||
1751 | <td class="memname">virtual <a class="el" href="classirr_1_1io_1_1_i_file_system.html">io::IFileSystem</a>* irr::gui::IGUIEnvironment::getFileSystem </td> | ||
1752 | <td>(</td> | ||
1753 | <td class="paramname"></td><td>)</td> | ||
1754 | <td> const<code> [pure virtual]</code></td> | ||
1755 | </tr> | ||
1756 | </table> | ||
1757 | </div> | ||
1758 | <div class="memdoc"> | ||
1759 | |||
1760 | <p>Returns the file system. </p> | ||
1761 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the file system. </dd></dl> | ||
1762 | |||
1763 | </div> | ||
1764 | </div> | ||
1765 | <a class="anchor" id="a624c047cb88a5d3e3e0d17a42a627335"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::getFocus" ref="a624c047cb88a5d3e3e0d17a42a627335" args="() const =0" --> | ||
1766 | <div class="memitem"> | ||
1767 | <div class="memproto"> | ||
1768 | <table class="memname"> | ||
1769 | <tr> | ||
1770 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a>* irr::gui::IGUIEnvironment::getFocus </td> | ||
1771 | <td>(</td> | ||
1772 | <td class="paramname"></td><td>)</td> | ||
1773 | <td> const<code> [pure virtual]</code></td> | ||
1774 | </tr> | ||
1775 | </table> | ||
1776 | </div> | ||
1777 | <div class="memdoc"> | ||
1778 | |||
1779 | <p>Returns the element which holds the focus. </p> | ||
1780 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the element with focus. </dd></dl> | ||
1781 | |||
1782 | </div> | ||
1783 | </div> | ||
1784 | <a class="anchor" id="a22074f9a1a5a86d5d216126bbb90b3b1"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::getFont" ref="a22074f9a1a5a86d5d216126bbb90b3b1" args="(const io::path &filename)=0" --> | ||
1785 | <div class="memitem"> | ||
1786 | <div class="memproto"> | ||
1787 | <table class="memname"> | ||
1788 | <tr> | ||
1789 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_font.html">IGUIFont</a>* irr::gui::IGUIEnvironment::getFont </td> | ||
1790 | <td>(</td> | ||
1791 | <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> & </td> | ||
1792 | <td class="paramname"><em>filename</em></td><td>)</td> | ||
1793 | <td><code> [pure virtual]</code></td> | ||
1794 | </tr> | ||
1795 | </table> | ||
1796 | </div> | ||
1797 | <div class="memdoc"> | ||
1798 | |||
1799 | <p>Returns pointer to the font with the specified filename. </p> | ||
1800 | <p>Loads the font if it was not loaded before. </p> | ||
1801 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1802 | <table class="params"> | ||
1803 | <tr><td class="paramname">filename</td><td>Filename of the Font. </td></tr> | ||
1804 | </table> | ||
1805 | </dd> | ||
1806 | </dl> | ||
1807 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the font. Returns 0 if the font could not be loaded. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
1808 | |||
1809 | </div> | ||
1810 | </div> | ||
1811 | <a class="anchor" id="a3c1ec1c13e7339e2e8abb34276d6288f"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::getGUIElementFactory" ref="a3c1ec1c13e7339e2e8abb34276d6288f" args="(u32 index) const =0" --> | ||
1812 | <div class="memitem"> | ||
1813 | <div class="memproto"> | ||
1814 | <table class="memname"> | ||
1815 | <tr> | ||
1816 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element_factory.html">IGUIElementFactory</a>* irr::gui::IGUIEnvironment::getGUIElementFactory </td> | ||
1817 | <td>(</td> | ||
1818 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
1819 | <td class="paramname"><em>index</em></td><td>)</td> | ||
1820 | <td> const<code> [pure virtual]</code></td> | ||
1821 | </tr> | ||
1822 | </table> | ||
1823 | </div> | ||
1824 | <div class="memdoc"> | ||
1825 | |||
1826 | <p>Get a gui element factory by index. </p> | ||
1827 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1828 | <table class="params"> | ||
1829 | <tr><td class="paramname">index</td><td>Index of the factory. </td></tr> | ||
1830 | </table> | ||
1831 | </dd> | ||
1832 | </dl> | ||
1833 | <dl class="return"><dt><b>Returns:</b></dt><dd>Factory at given index, or 0 if no such factory exists. </dd></dl> | ||
1834 | |||
1835 | </div> | ||
1836 | </div> | ||
1837 | <a class="anchor" id="a00fa645d517a276553b78fc1d0e78591"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::getHovered" ref="a00fa645d517a276553b78fc1d0e78591" args="() const =0" --> | ||
1838 | <div class="memitem"> | ||
1839 | <div class="memproto"> | ||
1840 | <table class="memname"> | ||
1841 | <tr> | ||
1842 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a>* irr::gui::IGUIEnvironment::getHovered </td> | ||
1843 | <td>(</td> | ||
1844 | <td class="paramname"></td><td>)</td> | ||
1845 | <td> const<code> [pure virtual]</code></td> | ||
1846 | </tr> | ||
1847 | </table> | ||
1848 | </div> | ||
1849 | <div class="memdoc"> | ||
1850 | |||
1851 | <p>Returns the element which was last under the mouse cursor. </p> | ||
1852 | <p>NOTE: This information is updated _after_ the user-eventreceiver received it's mouse-events. To find the hovered element while catching mouse events you have to use instead: <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html#a35fec6d5baa9b2f65aa9ee2c336104d4" title="Returns the root gui element.">IGUIEnvironment::getRootGUIElement()</a>->getElementFromPoint(mousePos); </p> | ||
1853 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the element under the mouse. </dd></dl> | ||
1854 | |||
1855 | </div> | ||
1856 | </div> | ||
1857 | <a class="anchor" id="afc715b9a9d98ae3aa8e769c9fb2f4f31"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::getOSOperator" ref="afc715b9a9d98ae3aa8e769c9fb2f4f31" args="() const =0" --> | ||
1858 | <div class="memitem"> | ||
1859 | <div class="memproto"> | ||
1860 | <table class="memname"> | ||
1861 | <tr> | ||
1862 | <td class="memname">virtual <a class="el" href="classirr_1_1_i_o_s_operator.html">IOSOperator</a>* irr::gui::IGUIEnvironment::getOSOperator </td> | ||
1863 | <td>(</td> | ||
1864 | <td class="paramname"></td><td>)</td> | ||
1865 | <td> const<code> [pure virtual]</code></td> | ||
1866 | </tr> | ||
1867 | </table> | ||
1868 | </div> | ||
1869 | <div class="memdoc"> | ||
1870 | |||
1871 | <p>returns a pointer to the OS operator </p> | ||
1872 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the OS operator. </dd></dl> | ||
1873 | |||
1874 | </div> | ||
1875 | </div> | ||
1876 | <a class="anchor" id="a022dcd144b1f955180569ef2ee844561"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::getRegisteredGUIElementFactoryCount" ref="a022dcd144b1f955180569ef2ee844561" args="() const =0" --> | ||
1877 | <div class="memitem"> | ||
1878 | <div class="memproto"> | ||
1879 | <table class="memname"> | ||
1880 | <tr> | ||
1881 | <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::gui::IGUIEnvironment::getRegisteredGUIElementFactoryCount </td> | ||
1882 | <td>(</td> | ||
1883 | <td class="paramname"></td><td>)</td> | ||
1884 | <td> const<code> [pure virtual]</code></td> | ||
1885 | </tr> | ||
1886 | </table> | ||
1887 | </div> | ||
1888 | <div class="memdoc"> | ||
1889 | |||
1890 | <p>Get amount of registered gui element factories. </p> | ||
1891 | <dl class="return"><dt><b>Returns:</b></dt><dd>Amount of registered gui element factories. </dd></dl> | ||
1892 | |||
1893 | </div> | ||
1894 | </div> | ||
1895 | <a class="anchor" id="a35fec6d5baa9b2f65aa9ee2c336104d4"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::getRootGUIElement" ref="a35fec6d5baa9b2f65aa9ee2c336104d4" args="()=0" --> | ||
1896 | <div class="memitem"> | ||
1897 | <div class="memproto"> | ||
1898 | <table class="memname"> | ||
1899 | <tr> | ||
1900 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a>* irr::gui::IGUIEnvironment::getRootGUIElement </td> | ||
1901 | <td>(</td> | ||
1902 | <td class="paramname"></td><td>)</td> | ||
1903 | <td><code> [pure virtual]</code></td> | ||
1904 | </tr> | ||
1905 | </table> | ||
1906 | </div> | ||
1907 | <div class="memdoc"> | ||
1908 | |||
1909 | <p>Returns the root gui element. </p> | ||
1910 | <p>This is the first gui element, the (direct or indirect) parent of all other gui elements. It is a valid <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html" title="Base class of all GUI elements.">IGUIElement</a>, with dimensions the same size as the screen. </p> | ||
1911 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the root element of the GUI. The returned pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
1912 | |||
1913 | </div> | ||
1914 | </div> | ||
1915 | <a class="anchor" id="a54ce9072ea7b89cdaea65306e93ba90c"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::getSkin" ref="a54ce9072ea7b89cdaea65306e93ba90c" args="() const =0" --> | ||
1916 | <div class="memitem"> | ||
1917 | <div class="memproto"> | ||
1918 | <table class="memname"> | ||
1919 | <tr> | ||
1920 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_skin.html">IGUISkin</a>* irr::gui::IGUIEnvironment::getSkin </td> | ||
1921 | <td>(</td> | ||
1922 | <td class="paramname"></td><td>)</td> | ||
1923 | <td> const<code> [pure virtual]</code></td> | ||
1924 | </tr> | ||
1925 | </table> | ||
1926 | </div> | ||
1927 | <div class="memdoc"> | ||
1928 | |||
1929 | <p>Returns pointer to the current gui skin. </p> | ||
1930 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the GUI skin. </dd></dl> | ||
1931 | |||
1932 | </div> | ||
1933 | </div> | ||
1934 | <a class="anchor" id="a187ebb28837dbdb88810f7e493096c3f"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::getSpriteBank" ref="a187ebb28837dbdb88810f7e493096c3f" args="(const io::path &filename)=0" --> | ||
1935 | <div class="memitem"> | ||
1936 | <div class="memproto"> | ||
1937 | <table class="memname"> | ||
1938 | <tr> | ||
1939 | <td class="memname">virtual <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_sprite_bank.html">IGUISpriteBank</a>* irr::gui::IGUIEnvironment::getSpriteBank </td> | ||
1940 | <td>(</td> | ||
1941 | <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> & </td> | ||
1942 | <td class="paramname"><em>filename</em></td><td>)</td> | ||
1943 | <td><code> [pure virtual]</code></td> | ||
1944 | </tr> | ||
1945 | </table> | ||
1946 | </div> | ||
1947 | <div class="memdoc"> | ||
1948 | |||
1949 | <p>Returns pointer to the sprite bank with the specified file name. </p> | ||
1950 | <p>Loads the bank if it was not loaded before. </p> | ||
1951 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1952 | <table class="params"> | ||
1953 | <tr><td class="paramname">filename</td><td>Filename of the sprite bank's origin. </td></tr> | ||
1954 | </table> | ||
1955 | </dd> | ||
1956 | </dl> | ||
1957 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the sprite bank. Returns 0 if it could not be loaded. This pointer should not be dropped. See <a class="el" href="classirr_1_1_i_reference_counted.html#afb169a857e0d2cdb96b8821cb9bff17a" title="Drops the object. Decrements the reference counter by one.">IReferenceCounted::drop()</a> for more information. </dd></dl> | ||
1958 | |||
1959 | </div> | ||
1960 | </div> | ||
1961 | <a class="anchor" id="a48f5e442f0a2074a531234ab83148fe2"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::getVideoDriver" ref="a48f5e442f0a2074a531234ab83148fe2" args="() const =0" --> | ||
1962 | <div class="memitem"> | ||
1963 | <div class="memproto"> | ||
1964 | <table class="memname"> | ||
1965 | <tr> | ||
1966 | <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_i_video_driver.html">video::IVideoDriver</a>* irr::gui::IGUIEnvironment::getVideoDriver </td> | ||
1967 | <td>(</td> | ||
1968 | <td class="paramname"></td><td>)</td> | ||
1969 | <td> const<code> [pure virtual]</code></td> | ||
1970 | </tr> | ||
1971 | </table> | ||
1972 | </div> | ||
1973 | <div class="memdoc"> | ||
1974 | |||
1975 | <p>Returns the current video driver. </p> | ||
1976 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the video driver. </dd></dl> | ||
1977 | |||
1978 | </div> | ||
1979 | </div> | ||
1980 | <a class="anchor" id="a88c483f30a0f35debed70e8e51836552"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::hasFocus" ref="a88c483f30a0f35debed70e8e51836552" args="(IGUIElement *element) const =0" --> | ||
1981 | <div class="memitem"> | ||
1982 | <div class="memproto"> | ||
1983 | <table class="memname"> | ||
1984 | <tr> | ||
1985 | <td class="memname">virtual bool irr::gui::IGUIEnvironment::hasFocus </td> | ||
1986 | <td>(</td> | ||
1987 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
1988 | <td class="paramname"><em>element</em></td><td>)</td> | ||
1989 | <td> const<code> [pure virtual]</code></td> | ||
1990 | </tr> | ||
1991 | </table> | ||
1992 | </div> | ||
1993 | <div class="memdoc"> | ||
1994 | |||
1995 | <p>Returns whether the element has focus. </p> | ||
1996 | <dl><dt><b>Parameters:</b></dt><dd> | ||
1997 | <table class="params"> | ||
1998 | <tr><td class="paramname">element</td><td>Pointer to the element which is tested. </td></tr> | ||
1999 | </table> | ||
2000 | </dd> | ||
2001 | </dl> | ||
2002 | <dl class="return"><dt><b>Returns:</b></dt><dd>True if the element has focus, else false. </dd></dl> | ||
2003 | |||
2004 | </div> | ||
2005 | </div> | ||
2006 | <a class="anchor" id="a6e847a40e5c97c846f2d654605ae13a0"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::loadGUI" ref="a6e847a40e5c97c846f2d654605ae13a0" args="(const io::path &filename, IGUIElement *parent=0)=0" --> | ||
2007 | <div class="memitem"> | ||
2008 | <div class="memproto"> | ||
2009 | <table class="memname"> | ||
2010 | <tr> | ||
2011 | <td class="memname">virtual bool irr::gui::IGUIEnvironment::loadGUI </td> | ||
2012 | <td>(</td> | ||
2013 | <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> & </td> | ||
2014 | <td class="paramname"><em>filename</em>, </td> | ||
2015 | </tr> | ||
2016 | <tr> | ||
2017 | <td class="paramkey"></td> | ||
2018 | <td></td> | ||
2019 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
2020 | <td class="paramname"><em>parent</em> = <code>0</code> </td> | ||
2021 | </tr> | ||
2022 | <tr> | ||
2023 | <td></td> | ||
2024 | <td>)</td> | ||
2025 | <td></td><td><code> [pure virtual]</code></td> | ||
2026 | </tr> | ||
2027 | </table> | ||
2028 | </div> | ||
2029 | <div class="memdoc"> | ||
2030 | |||
2031 | <p>Loads the gui. Note that the current gui is not cleared before. </p> | ||
2032 | <p>When a parent is set the elements will be added below the parent, the parent itself does not deserialize. When the file contains skin-settings from the gui-environment those are always serialized into the guienvironment independent of the parent setting. </p> | ||
2033 | <dl><dt><b>Parameters:</b></dt><dd> | ||
2034 | <table class="params"> | ||
2035 | <tr><td class="paramname">filename</td><td>Name of the file. </td></tr> | ||
2036 | <tr><td class="paramname">parent</td><td>Parent for the loaded GUI, root if 0. </td></tr> | ||
2037 | </table> | ||
2038 | </dd> | ||
2039 | </dl> | ||
2040 | <dl class="return"><dt><b>Returns:</b></dt><dd>True if loading succeeded, else false. </dd></dl> | ||
2041 | |||
2042 | </div> | ||
2043 | </div> | ||
2044 | <a class="anchor" id="a23e53c388d45358c53304d095f0b029b"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::loadGUI" ref="a23e53c388d45358c53304d095f0b029b" args="(io::IReadFile *file, IGUIElement *parent=0)=0" --> | ||
2045 | <div class="memitem"> | ||
2046 | <div class="memproto"> | ||
2047 | <table class="memname"> | ||
2048 | <tr> | ||
2049 | <td class="memname">virtual bool irr::gui::IGUIEnvironment::loadGUI </td> | ||
2050 | <td>(</td> | ||
2051 | <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_read_file.html">io::IReadFile</a> * </td> | ||
2052 | <td class="paramname"><em>file</em>, </td> | ||
2053 | </tr> | ||
2054 | <tr> | ||
2055 | <td class="paramkey"></td> | ||
2056 | <td></td> | ||
2057 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
2058 | <td class="paramname"><em>parent</em> = <code>0</code> </td> | ||
2059 | </tr> | ||
2060 | <tr> | ||
2061 | <td></td> | ||
2062 | <td>)</td> | ||
2063 | <td></td><td><code> [pure virtual]</code></td> | ||
2064 | </tr> | ||
2065 | </table> | ||
2066 | </div> | ||
2067 | <div class="memdoc"> | ||
2068 | |||
2069 | <p>Loads the gui. Note that the current gui is not cleared before. </p> | ||
2070 | <p>When a parent is set the elements will be added below the parent, the parent itself does not deserialize. When the file contains skin-settings from the gui-environment those are always serialized into the guienvironment independent of the parent setting. </p> | ||
2071 | <dl><dt><b>Parameters:</b></dt><dd> | ||
2072 | <table class="params"> | ||
2073 | <tr><td class="paramname">file</td><td>The file to load from. </td></tr> | ||
2074 | <tr><td class="paramname">parent</td><td>Parent for the loaded GUI, root if 0. </td></tr> | ||
2075 | </table> | ||
2076 | </dd> | ||
2077 | </dl> | ||
2078 | <dl class="return"><dt><b>Returns:</b></dt><dd>True if loading succeeded, else false. </dd></dl> | ||
2079 | |||
2080 | </div> | ||
2081 | </div> | ||
2082 | <a class="anchor" id="aff1cc1109841f9bccd19634870c7cd65"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::postEventFromUser" ref="aff1cc1109841f9bccd19634870c7cd65" args="(const SEvent &event)=0" --> | ||
2083 | <div class="memitem"> | ||
2084 | <div class="memproto"> | ||
2085 | <table class="memname"> | ||
2086 | <tr> | ||
2087 | <td class="memname">virtual bool irr::gui::IGUIEnvironment::postEventFromUser </td> | ||
2088 | <td>(</td> | ||
2089 | <td class="paramtype">const <a class="el" href="structirr_1_1_s_event.html">SEvent</a> & </td> | ||
2090 | <td class="paramname"><em>event</em></td><td>)</td> | ||
2091 | <td><code> [pure virtual]</code></td> | ||
2092 | </tr> | ||
2093 | </table> | ||
2094 | </div> | ||
2095 | <div class="memdoc"> | ||
2096 | |||
2097 | <p>Posts an input event to the environment. </p> | ||
2098 | <p>Usually you do not have to use this method, it is used by the engine internally. </p> | ||
2099 | <dl><dt><b>Parameters:</b></dt><dd> | ||
2100 | <table class="params"> | ||
2101 | <tr><td class="paramname">event</td><td>The event to post. </td></tr> | ||
2102 | </table> | ||
2103 | </dd> | ||
2104 | </dl> | ||
2105 | <dl class="return"><dt><b>Returns:</b></dt><dd>True if succeeded, else false. </dd></dl> | ||
2106 | |||
2107 | </div> | ||
2108 | </div> | ||
2109 | <a class="anchor" id="acdfcdf6330e7475e3fdfd42f43c5f6df"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::readGUIElement" ref="acdfcdf6330e7475e3fdfd42f43c5f6df" args="(io::IXMLReader *reader, IGUIElement *node)=0" --> | ||
2110 | <div class="memitem"> | ||
2111 | <div class="memproto"> | ||
2112 | <table class="memname"> | ||
2113 | <tr> | ||
2114 | <td class="memname">virtual void irr::gui::IGUIEnvironment::readGUIElement </td> | ||
2115 | <td>(</td> | ||
2116 | <td class="paramtype"><a class="el" href="namespaceirr_1_1io.html#a9dc6291fb7e4c73155a3e3c8339f9bff">io::IXMLReader</a> * </td> | ||
2117 | <td class="paramname"><em>reader</em>, </td> | ||
2118 | </tr> | ||
2119 | <tr> | ||
2120 | <td class="paramkey"></td> | ||
2121 | <td></td> | ||
2122 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
2123 | <td class="paramname"><em>node</em> </td> | ||
2124 | </tr> | ||
2125 | <tr> | ||
2126 | <td></td> | ||
2127 | <td>)</td> | ||
2128 | <td></td><td><code> [pure virtual]</code></td> | ||
2129 | </tr> | ||
2130 | </table> | ||
2131 | </div> | ||
2132 | <div class="memdoc"> | ||
2133 | |||
2134 | <p>reads an element </p> | ||
2135 | |||
2136 | </div> | ||
2137 | </div> | ||
2138 | <a class="anchor" id="a653ac2cc8640899c23f4d55d9a5f0fdd"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::registerGUIElementFactory" ref="a653ac2cc8640899c23f4d55d9a5f0fdd" args="(IGUIElementFactory *factoryToAdd)=0" --> | ||
2139 | <div class="memitem"> | ||
2140 | <div class="memproto"> | ||
2141 | <table class="memname"> | ||
2142 | <tr> | ||
2143 | <td class="memname">virtual void irr::gui::IGUIEnvironment::registerGUIElementFactory </td> | ||
2144 | <td>(</td> | ||
2145 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element_factory.html">IGUIElementFactory</a> * </td> | ||
2146 | <td class="paramname"><em>factoryToAdd</em></td><td>)</td> | ||
2147 | <td><code> [pure virtual]</code></td> | ||
2148 | </tr> | ||
2149 | </table> | ||
2150 | </div> | ||
2151 | <div class="memdoc"> | ||
2152 | |||
2153 | <p>Adds an element factory to the gui environment. </p> | ||
2154 | <p>Use this to extend the gui environment with new element types which it should be able to create automatically, for example when loading data from xml files. </p> | ||
2155 | <dl><dt><b>Parameters:</b></dt><dd> | ||
2156 | <table class="params"> | ||
2157 | <tr><td class="paramname">factoryToAdd</td><td>Pointer to new factory. </td></tr> | ||
2158 | </table> | ||
2159 | </dd> | ||
2160 | </dl> | ||
2161 | |||
2162 | </div> | ||
2163 | </div> | ||
2164 | <a class="anchor" id="ab2100753b415a9950d95572d4623bf46"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::removeFocus" ref="ab2100753b415a9950d95572d4623bf46" args="(IGUIElement *element)=0" --> | ||
2165 | <div class="memitem"> | ||
2166 | <div class="memproto"> | ||
2167 | <table class="memname"> | ||
2168 | <tr> | ||
2169 | <td class="memname">virtual bool irr::gui::IGUIEnvironment::removeFocus </td> | ||
2170 | <td>(</td> | ||
2171 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
2172 | <td class="paramname"><em>element</em></td><td>)</td> | ||
2173 | <td><code> [pure virtual]</code></td> | ||
2174 | </tr> | ||
2175 | </table> | ||
2176 | </div> | ||
2177 | <div class="memdoc"> | ||
2178 | |||
2179 | <p>Removes the focus from an element. </p> | ||
2180 | <p>Causes a EGET_ELEMENT_FOCUS_LOST event. If the event is absorbed then the focus will not be changed. </p> | ||
2181 | <dl><dt><b>Parameters:</b></dt><dd> | ||
2182 | <table class="params"> | ||
2183 | <tr><td class="paramname">element</td><td>Pointer to the element which shall lose the focus. </td></tr> | ||
2184 | </table> | ||
2185 | </dd> | ||
2186 | </dl> | ||
2187 | <dl class="return"><dt><b>Returns:</b></dt><dd>True on success, false on failure </dd></dl> | ||
2188 | |||
2189 | </div> | ||
2190 | </div> | ||
2191 | <a class="anchor" id="a414f61b6901e7328448247648fdf9375"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::removeFont" ref="a414f61b6901e7328448247648fdf9375" args="(IGUIFont *font)=0" --> | ||
2192 | <div class="memitem"> | ||
2193 | <div class="memproto"> | ||
2194 | <table class="memname"> | ||
2195 | <tr> | ||
2196 | <td class="memname">virtual void irr::gui::IGUIEnvironment::removeFont </td> | ||
2197 | <td>(</td> | ||
2198 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_font.html">IGUIFont</a> * </td> | ||
2199 | <td class="paramname"><em>font</em></td><td>)</td> | ||
2200 | <td><code> [pure virtual]</code></td> | ||
2201 | </tr> | ||
2202 | </table> | ||
2203 | </div> | ||
2204 | <div class="memdoc"> | ||
2205 | |||
2206 | <p>remove loaded font </p> | ||
2207 | |||
2208 | </div> | ||
2209 | </div> | ||
2210 | <a class="anchor" id="ac5e7b39ff2292983660a5e5999b240b3"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::saveGUI" ref="ac5e7b39ff2292983660a5e5999b240b3" args="(const io::path &filename, IGUIElement *start=0)=0" --> | ||
2211 | <div class="memitem"> | ||
2212 | <div class="memproto"> | ||
2213 | <table class="memname"> | ||
2214 | <tr> | ||
2215 | <td class="memname">virtual bool irr::gui::IGUIEnvironment::saveGUI </td> | ||
2216 | <td>(</td> | ||
2217 | <td class="paramtype">const <a class="el" href="namespaceirr_1_1io.html#ab1bdc45edb3f94d8319c02bc0f840ee1">io::path</a> & </td> | ||
2218 | <td class="paramname"><em>filename</em>, </td> | ||
2219 | </tr> | ||
2220 | <tr> | ||
2221 | <td class="paramkey"></td> | ||
2222 | <td></td> | ||
2223 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
2224 | <td class="paramname"><em>start</em> = <code>0</code> </td> | ||
2225 | </tr> | ||
2226 | <tr> | ||
2227 | <td></td> | ||
2228 | <td>)</td> | ||
2229 | <td></td><td><code> [pure virtual]</code></td> | ||
2230 | </tr> | ||
2231 | </table> | ||
2232 | </div> | ||
2233 | <div class="memdoc"> | ||
2234 | |||
2235 | <p>Saves the current gui into a file. </p> | ||
2236 | <dl><dt><b>Parameters:</b></dt><dd> | ||
2237 | <table class="params"> | ||
2238 | <tr><td class="paramname">filename</td><td>Name of the file. </td></tr> | ||
2239 | <tr><td class="paramname">start</td><td>The GUIElement to start with. Root if 0. </td></tr> | ||
2240 | </table> | ||
2241 | </dd> | ||
2242 | </dl> | ||
2243 | <dl class="return"><dt><b>Returns:</b></dt><dd>True if saving succeeded, else false. </dd></dl> | ||
2244 | |||
2245 | </div> | ||
2246 | </div> | ||
2247 | <a class="anchor" id="a39fdeef8455813a2be2bce9212ec758a"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::saveGUI" ref="a39fdeef8455813a2be2bce9212ec758a" args="(io::IWriteFile *file, IGUIElement *start=0)=0" --> | ||
2248 | <div class="memitem"> | ||
2249 | <div class="memproto"> | ||
2250 | <table class="memname"> | ||
2251 | <tr> | ||
2252 | <td class="memname">virtual bool irr::gui::IGUIEnvironment::saveGUI </td> | ||
2253 | <td>(</td> | ||
2254 | <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_write_file.html">io::IWriteFile</a> * </td> | ||
2255 | <td class="paramname"><em>file</em>, </td> | ||
2256 | </tr> | ||
2257 | <tr> | ||
2258 | <td class="paramkey"></td> | ||
2259 | <td></td> | ||
2260 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
2261 | <td class="paramname"><em>start</em> = <code>0</code> </td> | ||
2262 | </tr> | ||
2263 | <tr> | ||
2264 | <td></td> | ||
2265 | <td>)</td> | ||
2266 | <td></td><td><code> [pure virtual]</code></td> | ||
2267 | </tr> | ||
2268 | </table> | ||
2269 | </div> | ||
2270 | <div class="memdoc"> | ||
2271 | |||
2272 | <p>Saves the current gui into a file. </p> | ||
2273 | <dl><dt><b>Parameters:</b></dt><dd> | ||
2274 | <table class="params"> | ||
2275 | <tr><td class="paramname">file</td><td>The file to write to. </td></tr> | ||
2276 | <tr><td class="paramname">start</td><td>The GUIElement to start with. Root if 0. </td></tr> | ||
2277 | </table> | ||
2278 | </dd> | ||
2279 | </dl> | ||
2280 | <dl class="return"><dt><b>Returns:</b></dt><dd>True if saving succeeded, else false. </dd></dl> | ||
2281 | |||
2282 | </div> | ||
2283 | </div> | ||
2284 | <a class="anchor" id="a6342ec41dcd9fbd3f587dce369d11b34"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::serializeAttributes" ref="a6342ec41dcd9fbd3f587dce369d11b34" args="(io::IAttributes *out, io::SAttributeReadWriteOptions *options=0) const =0" --> | ||
2285 | <div class="memitem"> | ||
2286 | <div class="memproto"> | ||
2287 | <table class="memname"> | ||
2288 | <tr> | ||
2289 | <td class="memname">virtual void irr::gui::IGUIEnvironment::serializeAttributes </td> | ||
2290 | <td>(</td> | ||
2291 | <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_attributes.html">io::IAttributes</a> * </td> | ||
2292 | <td class="paramname"><em>out</em>, </td> | ||
2293 | </tr> | ||
2294 | <tr> | ||
2295 | <td class="paramkey"></td> | ||
2296 | <td></td> | ||
2297 | <td class="paramtype"><a class="el" href="structirr_1_1io_1_1_s_attribute_read_write_options.html">io::SAttributeReadWriteOptions</a> * </td> | ||
2298 | <td class="paramname"><em>options</em> = <code>0</code> </td> | ||
2299 | </tr> | ||
2300 | <tr> | ||
2301 | <td></td> | ||
2302 | <td>)</td> | ||
2303 | <td></td><td> const<code> [pure virtual]</code></td> | ||
2304 | </tr> | ||
2305 | </table> | ||
2306 | </div> | ||
2307 | <div class="memdoc"> | ||
2308 | |||
2309 | <p>Writes attributes of the gui environment. </p> | ||
2310 | |||
2311 | </div> | ||
2312 | </div> | ||
2313 | <a class="anchor" id="a2bfe9985ae1a2f379e708fce86902cea"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::setFocus" ref="a2bfe9985ae1a2f379e708fce86902cea" args="(IGUIElement *element)=0" --> | ||
2314 | <div class="memitem"> | ||
2315 | <div class="memproto"> | ||
2316 | <table class="memname"> | ||
2317 | <tr> | ||
2318 | <td class="memname">virtual bool irr::gui::IGUIEnvironment::setFocus </td> | ||
2319 | <td>(</td> | ||
2320 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
2321 | <td class="paramname"><em>element</em></td><td>)</td> | ||
2322 | <td><code> [pure virtual]</code></td> | ||
2323 | </tr> | ||
2324 | </table> | ||
2325 | </div> | ||
2326 | <div class="memdoc"> | ||
2327 | |||
2328 | <p>Sets the focus to an element. </p> | ||
2329 | <p>Causes a EGET_ELEMENT_FOCUS_LOST event followed by a EGET_ELEMENT_FOCUSED event. If someone absorbed either of the events, then the focus will not be changed. </p> | ||
2330 | <dl><dt><b>Parameters:</b></dt><dd> | ||
2331 | <table class="params"> | ||
2332 | <tr><td class="paramname">element</td><td>Pointer to the element which shall get the focus. </td></tr> | ||
2333 | </table> | ||
2334 | </dd> | ||
2335 | </dl> | ||
2336 | <dl class="return"><dt><b>Returns:</b></dt><dd>True on success, false on failure </dd></dl> | ||
2337 | |||
2338 | </div> | ||
2339 | </div> | ||
2340 | <a class="anchor" id="ae7042c520e848643e080ad4532797f23"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::setSkin" ref="ae7042c520e848643e080ad4532797f23" args="(IGUISkin *skin)=0" --> | ||
2341 | <div class="memitem"> | ||
2342 | <div class="memproto"> | ||
2343 | <table class="memname"> | ||
2344 | <tr> | ||
2345 | <td class="memname">virtual void irr::gui::IGUIEnvironment::setSkin </td> | ||
2346 | <td>(</td> | ||
2347 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_skin.html">IGUISkin</a> * </td> | ||
2348 | <td class="paramname"><em>skin</em></td><td>)</td> | ||
2349 | <td><code> [pure virtual]</code></td> | ||
2350 | </tr> | ||
2351 | </table> | ||
2352 | </div> | ||
2353 | <div class="memdoc"> | ||
2354 | |||
2355 | <p>Sets a new GUI Skin. </p> | ||
2356 | <p>You can use this to change the appearance of the whole GUI Environment. You can set one of the built-in skins or implement your own class derived from <a class="el" href="classirr_1_1gui_1_1_i_g_u_i_skin.html" title="A skin modifies the look of the GUI elements.">IGUISkin</a> and enable it using this method. To set for example the built-in Windows classic skin, use the following code: </p> | ||
2357 | <div class="fragment"><pre class="fragment"> gui::IGUISkin* newskin = environment->createSkin(<a class="code" href="namespaceirr_1_1gui.html#a7b4619db540cbdf96e81023893b4eca5a4bc61097b84978277791e5e4b2fcfb03" title="Default windows look and feel.">gui::EGST_WINDOWS_CLASSIC</a>); | ||
2358 | environment->setSkin(newskin); | ||
2359 | newskin->drop(); | ||
2360 | </pre></div> <dl><dt><b>Parameters:</b></dt><dd> | ||
2361 | <table class="params"> | ||
2362 | <tr><td class="paramname">skin</td><td>New skin to use. </td></tr> | ||
2363 | </table> | ||
2364 | </dd> | ||
2365 | </dl> | ||
2366 | |||
2367 | </div> | ||
2368 | </div> | ||
2369 | <a class="anchor" id="a2491715aa30894c66357eb0451aa10b0"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::setUserEventReceiver" ref="a2491715aa30894c66357eb0451aa10b0" args="(IEventReceiver *evr)=0" --> | ||
2370 | <div class="memitem"> | ||
2371 | <div class="memproto"> | ||
2372 | <table class="memname"> | ||
2373 | <tr> | ||
2374 | <td class="memname">virtual void irr::gui::IGUIEnvironment::setUserEventReceiver </td> | ||
2375 | <td>(</td> | ||
2376 | <td class="paramtype"><a class="el" href="classirr_1_1_i_event_receiver.html">IEventReceiver</a> * </td> | ||
2377 | <td class="paramname"><em>evr</em></td><td>)</td> | ||
2378 | <td><code> [pure virtual]</code></td> | ||
2379 | </tr> | ||
2380 | </table> | ||
2381 | </div> | ||
2382 | <div class="memdoc"> | ||
2383 | |||
2384 | <p>This sets a new event receiver for gui events. </p> | ||
2385 | <p>Usually you do not have to use this method, it is used by the engine internally. </p> | ||
2386 | <dl><dt><b>Parameters:</b></dt><dd> | ||
2387 | <table class="params"> | ||
2388 | <tr><td class="paramname">evr</td><td>Pointer to the new receiver. </td></tr> | ||
2389 | </table> | ||
2390 | </dd> | ||
2391 | </dl> | ||
2392 | |||
2393 | </div> | ||
2394 | </div> | ||
2395 | <a class="anchor" id="a30fb040bf48603fd309632e9c60b3583"></a><!-- doxytag: member="irr::gui::IGUIEnvironment::writeGUIElement" ref="a30fb040bf48603fd309632e9c60b3583" args="(io::IXMLWriter *writer, IGUIElement *node)=0" --> | ||
2396 | <div class="memitem"> | ||
2397 | <div class="memproto"> | ||
2398 | <table class="memname"> | ||
2399 | <tr> | ||
2400 | <td class="memname">virtual void irr::gui::IGUIEnvironment::writeGUIElement </td> | ||
2401 | <td>(</td> | ||
2402 | <td class="paramtype"><a class="el" href="classirr_1_1io_1_1_i_x_m_l_writer.html">io::IXMLWriter</a> * </td> | ||
2403 | <td class="paramname"><em>writer</em>, </td> | ||
2404 | </tr> | ||
2405 | <tr> | ||
2406 | <td class="paramkey"></td> | ||
2407 | <td></td> | ||
2408 | <td class="paramtype"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_element.html">IGUIElement</a> * </td> | ||
2409 | <td class="paramname"><em>node</em> </td> | ||
2410 | </tr> | ||
2411 | <tr> | ||
2412 | <td></td> | ||
2413 | <td>)</td> | ||
2414 | <td></td><td><code> [pure virtual]</code></td> | ||
2415 | </tr> | ||
2416 | </table> | ||
2417 | </div> | ||
2418 | <div class="memdoc"> | ||
2419 | |||
2420 | <p>writes an element </p> | ||
2421 | |||
2422 | </div> | ||
2423 | </div> | ||
2424 | <hr/>The documentation for this class was generated from the following file:<ul> | ||
2425 | <li><a class="el" href="_i_g_u_i_environment_8h_source.html">IGUIEnvironment.h</a></li> | ||
2426 | </ul> | ||
2427 | </div> | ||
2428 | </div> | ||
2429 | <div id="nav-path" class="navpath"> | ||
2430 | <ul> | ||
2431 | <li class="navelem"><a class="el" href="namespaceirr.html">irr</a> </li> | ||
2432 | <li class="navelem"><a class="el" href="namespaceirr_1_1gui.html">gui</a> </li> | ||
2433 | <li class="navelem"><a class="el" href="classirr_1_1gui_1_1_i_g_u_i_environment.html">IGUIEnvironment</a> </li> | ||
2434 | <!-- window showing the filter options --> | ||
2435 | <div id="MSearchSelectWindow" | ||
2436 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
2437 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
2438 | onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
2439 | <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> | ||
2440 | |||
2441 | <!-- iframe showing the search results (closed by default) --> | ||
2442 | <div id="MSearchResultsWindow"> | ||
2443 | <iframe src="javascript:void(0)" frameborder="0" | ||
2444 | name="MSearchResults" id="MSearchResults"> | ||
2445 | </iframe> | ||
2446 | </div> | ||
2447 | |||
2448 | |||
2449 | <li class="footer"> | ||
2450 | <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht | ||
2451 | Engine</a> Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Tue Nov 6 2012 11:06:04 for Irrlicht 3D Engine by | ||
2452 | <a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li> | ||
2453 | </ul> | ||
2454 | </div> | ||
2455 | |||
2456 | |||
2457 | </body> | ||
2458 | </html> | ||