From: Javier Sancho Date: Tue, 8 Oct 2019 07:46:11 +0000 (+0200) Subject: Draw GUI elements X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=737ce34543fa5d17f5a32111b60673d8a36db0bf;p=c-irrlicht.git Draw GUI elements --- diff --git a/include/IGUIEnvironment.h b/include/IGUIEnvironment.h index f20eb5c..73ffe37 100644 --- a/include/IGUIEnvironment.h +++ b/include/IGUIEnvironment.h @@ -37,6 +37,8 @@ extern "C" { int32_t id, bool fillBackground); + void irr_gui_IGUIEnvironment_drawAll(void* guienv); + #ifdef __cplusplus } #endif diff --git a/src/IGUIEnvironment.cpp b/src/IGUIEnvironment.cpp index b5bc9e1..a77c678 100644 --- a/src/IGUIEnvironment.cpp +++ b/src/IGUIEnvironment.cpp @@ -55,4 +55,9 @@ extern "C" { fillBackground); return staticText; } + + void irr_gui_IGUIEnvironment_drawAll(void* guienv) + { + ((irr::gui::IGUIEnvironment*)guienv)->drawAll(); + } }