X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=include%2FIGUIEnvironment.h;h=721d02919ec4d9539e31120ce4c64beabdec11c6;hb=29e2baf09b55c8d338ddd68a7b79586945675710;hp=f20eb5c61a31ded14a1b76f9a994fa23f689bb45;hpb=26e0d2232734e893983975b68d3a760b147e8e8c;p=c-irrlicht.git diff --git a/include/IGUIEnvironment.h b/include/IGUIEnvironment.h index f20eb5c..721d029 100644 --- a/include/IGUIEnvironment.h +++ b/include/IGUIEnvironment.h @@ -22,20 +22,28 @@ #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); + 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 }