Files
openmw/components/lua_ui/util.hpp
T
2026-03-29 16:21:14 +02:00

23 lines
569 B
C++

#ifndef OPENMW_LUAUI_WIDGETLIST
#define OPENMW_LUAUI_WIDGETLIST
#include <sol/table.hpp>
#include <string>
#include <unordered_map>
#include <vector>
namespace LuaUi
{
void registerAllWidgets();
const std::unordered_map<std::string, std::string>& widgetTypeToName();
void clearGameInterface();
void clearMenuInterface();
bool warnUnused(std::vector<std::string>& warnings, sol::object table, const std::string& tableName,
const std::vector<std::string_view>& usedKeys, bool generateWarningStrings);
}
#endif // OPENMW_LUAUI_WIDGETLIST