]> git.jsancho.org Git - c-irrlicht.git/blobdiff - include/IGUIEnvironment.h
Replace void* with appropiate types
[c-irrlicht.git] / include / IGUIEnvironment.h
index 73ffe37a5b1ce82f2a9f34afef28ca7c903013ae..721d02919ec4d9539e31120ce4c64beabdec11c6 100644 (file)
 #ifndef __C_GUI_ENVIRONMENT_H_INCLUDED__
 #define __C_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);
-
-  void irr_gui_IGUIEnvironment_drawAll(void* guienv);
+  irr_gui_IGUIStaticText*
+  irr_gui_IGUIEnvironment_addStaticText(irr_gui_IGUIEnvironment* guienv,
+                                        const char* text,
+                                        const irr_core_rect_s32* rectangle,
+                                        bool border,
+                                        bool wordWrap,
+                                        irr_gui_IGUIElement* parent,
+                                        int32_t id,
+                                        bool fillBackground);
+
+  void
+  irr_gui_IGUIEnvironment_drawAll(irr_gui_IGUIEnvironment* guienv);
 
 #ifdef __cplusplus
 }