osb/source/frontend/StarShadersMenu.cpp

23 lines
417 B
C++
Raw Normal View History

2024-12-18 22:28:39 -08:00
#include "StarShadersMenu.hpp"
namespace Star {
ShadersMenu::ShadersMenu(Json const& config, UniverseClientPtr client) : BaseScriptPane(config) {
m_client = std::move(client);
}
void ShadersMenu::show() {
BaseScriptPane::show();
}
void ShadersMenu::displayed() {
m_script.setLuaRoot(m_client->luaRoot());
BaseScriptPane::displayed();
}
void ShadersMenu::dismissed() {
BaseScriptPane::dismissed();
}
}