From 737ce34543fa5d17f5a32111b60673d8a36db0bf Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Tue, 8 Oct 2019 09:46:11 +0200 Subject: [PATCH] Draw GUI elements --- include/IGUIEnvironment.h | 2 ++ src/IGUIEnvironment.cpp | 5 +++++ 2 files changed, 7 insertions(+) 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(); + } } -- 2.39.5