]> git.jsancho.org Git - c-irrlicht.git/commitdiff
Draw GUI elements
authorJavier Sancho <jsf@jsancho.org>
Tue, 8 Oct 2019 07:46:11 +0000 (09:46 +0200)
committerJavier Sancho <jsf@jsancho.org>
Tue, 8 Oct 2019 07:46:11 +0000 (09:46 +0200)
include/IGUIEnvironment.h
src/IGUIEnvironment.cpp

index f20eb5c61a31ded14a1b76f9a994fa23f689bb45..73ffe37a5b1ce82f2a9f34afef28ca7c903013ae 100644 (file)
@@ -37,6 +37,8 @@ extern "C" {
                                               int32_t id,
                                               bool fillBackground);
 
+  void irr_gui_IGUIEnvironment_drawAll(void* guienv);
+
 #ifdef __cplusplus
 }
 #endif
index b5bc9e1b97ab6306319081463cb645f473fc3d0e..a77c678feb6b7bbd38c1c5e9b48820a08a1a6098 100644 (file)
@@ -55,4 +55,9 @@ extern "C" {
                                                           fillBackground);
     return staticText;
   }
+
+  void irr_gui_IGUIEnvironment_drawAll(void* guienv)
+  {
+    ((irr::gui::IGUIEnvironment*)guienv)->drawAll();
+  }
 }