/* * ===================================================================================== * * Filename: LuaGUI.hpp * * Description: * * Created: 06/01/2019 23:20:23 * * Author: Quentin Bazin, * * ===================================================================================== */ #ifndef LUAGUI_HPP_ #define LUAGUI_HPP_ #include #include "LuaWidgetDef.hpp" // This class is meant to be used ONLY in Lua class LuaGUI { public: void addImage(const sol::table &table); void addTextButton(const sol::table &table); void addInventoryWidget(const sol::table &table); void addCraftingWidget(const sol::table &table); void addFurnaceWidget(const sol::table &table); void show(); static void initUsertype(sol::state &lua); std::list imageList; std::list textButtonList; std::list inventoryWidgetList; std::list craftingWidgetList; std::list furnaceWidgetList; }; #endif // LUAGUI_HPP_