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
|
|
|
|
{
|
2022-01-29 22:06:43 +00:00
|
|
|
class LuaAdapter;
|
2022-01-28 20:45:13 +00:00
|
|
|
struct Element;
|
2022-01-29 12:22:08 +00:00
|
|
|
struct ScriptSettingsPage
|
2022-01-25 20:53:00 +00:00
|
|
|
{
|
|
|
|
std::string mName;
|
2022-02-01 18:20:47 +00:00
|
|
|
std::string mSearchHints;
|
2022-01-29 22:06:43 +00:00
|
|
|
std::shared_ptr<Element> mElement;
|
2022-01-25 20:53:00 +00:00
|
|
|
};
|
2022-01-29 17:33:14 +00:00
|
|
|
size_t scriptSettingsPageCount();
|
|
|
|
ScriptSettingsPage scriptSettingsPageAt(size_t index);
|
2022-01-29 22:06:43 +00:00
|
|
|
void attachPageAt(size_t index, LuaAdapter* adapter);
|
2022-01-25 20:53:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif // !OPENMW_LUAUI_SCRIPTSETTINGS
|