1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-03 17:37:18 +00:00
OpenMW/components/lua_ui/scriptsettings.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
514 B
C++
Raw Normal View History

2022-01-25 20:53:00 +00:00
#ifndef OPENMW_LUAUI_SCRIPTSETTINGS
#define OPENMW_LUAUI_SCRIPTSETTINGS
2022-01-29 22:43:08 +00:00
#include <memory>
2022-01-25 20:53:00 +00:00
#include <string>
namespace LuaUi
{
class LuaAdapter;
2022-01-28 20:45:13 +00:00
struct Element;
struct ScriptSettingsPage
2022-01-25 20:53:00 +00:00
{
std::string mName;
std::string mSearchHints;
std::shared_ptr<Element> mElement;
2022-01-25 20:53:00 +00:00
};
size_t scriptSettingsPageCount();
ScriptSettingsPage scriptSettingsPageAt(size_t index);
void attachPageAt(size_t index, LuaAdapter* adapter);
2022-01-25 20:53:00 +00:00
}
#endif // !OPENMW_LUAUI_SCRIPTSETTINGS