]> git.jsancho.org Git - c-irrlicht.git/blobdiff - include/IGUIEnvironment.h
IFileSystem and IFileArchive
[c-irrlicht.git] / include / IGUIEnvironment.h
index f20eb5c61a31ded14a1b76f9a994fa23f689bb45..e97f3d38d13d837f84e0c64b13a6bd498ef95637 100644 (file)
    <http://www.gnu.org/licenses/>.
 */
 
-#ifndef __C_GUI_ENVIRONMENT_H_INCLUDED__
-#define __C_GUI_ENVIRONMENT_H_INCLUDED__
+#ifndef __C_I_GUI_ENVIRONMENT_H_INCLUDED__
+#define __C_I_GUI_ENVIRONMENT_H_INCLUDED__
 
+#include "IGUIElement.h"
+#include "IGUIStaticText.h"
 #include "rect.h"
 
+typedef void irr_gui_IGUIEnvironment;
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-  void* irr_gui_IGUIEnvironment_addStaticText(void* guienv,
-                                              const char* text,
-                                              const irr_core_rect_s32* rectangle,
-                                              bool border,
-                                              bool wordWrap,
-                                              void* parent,
-                                              int32_t id,
-                                              bool fillBackground);
+  irr_gui_IGUIStaticText*
+  irr_gui_addStaticText(irr_gui_IGUIEnvironment* guienv,
+                        const char* text,
+                        const irr_core_rect_s32* rectangle,
+                        int border,
+                        int wordWrap,
+                        irr_gui_IGUIElement* parent,
+                        int id,
+                        int fillBackground);
+
+  void
+  irr_gui_drawAll(irr_gui_IGUIEnvironment* guienv);
 
 #ifdef __cplusplus
 }