diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2018-03-09 23:55:49 -0500 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2018-03-09 23:55:49 -0500 |
| commit | 2831e232b886c5e3b0791ea5192f9e5194e6abf3 (patch) | |
| tree | 4fb9309d18f388673b7a21b8f0e927727006f585 /src/client/lua_api/load_gui.cpp | |
| parent | 35b7c646fd7f80b64c1ef49b6d81f9df9bc1b940 (diff) | |
| download | brokengine-2831e232b886c5e3b0791ea5192f9e5194e6abf3.tar.gz brokengine-2831e232b886c5e3b0791ea5192f9e5194e6abf3.tar.bz2 brokengine-2831e232b886c5e3b0791ea5192f9e5194e6abf3.zip | |
Added IGUIImages
Added the ability to display itextures on the gui
Diffstat (limited to 'src/client/lua_api/load_gui.cpp')
| -rw-r--r-- | src/client/lua_api/load_gui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/lua_api/load_gui.cpp b/src/client/lua_api/load_gui.cpp index f8e8dc0..86c95cc 100644 --- a/src/client/lua_api/load_gui.cpp +++ b/src/client/lua_api/load_gui.cpp @@ -15,6 +15,7 @@ extern "C" { #include "gui/iguiwindow.hpp" #include "gui/iguiskin.hpp" #include "gui/iguicheckbox.hpp" +#include "gui/iguiimage.hpp" #include "../callbackhandeler.hpp" #include "guiparts.hpp" @@ -52,6 +53,7 @@ void load_guifuncs(lua_State* L){ lua_setglobal(L,"gui"); iguicheckbox_register(L); iguiwindow_register(L,device); + iguiimage_register(L); lua_pushcfunction(L,screenwidth); lua_setglobal(L,"scrw"); |
