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