1 #ifndef EDITOR_PAGES_SCRIPTS_HPP
2 #define EDITOR_PAGES_SCRIPTS_HPP
35 virtual void update(
float dt)
override;
41 std::optional<std::string> error;
43 bool operator<(
const Script& rhs)
const;
46 bl::gui::Window::Ptr window;
47 bl::gui::Label::Ptr file;
48 bl::gui::Label::Ptr source;
49 bl::gui::Label::Ptr error;
51 bl::gui::ScrollArea::Ptr scriptArea;
52 std::vector<Script> scripts;
56 void openWindow(
unsigned int i);
All classes and functionality used for implementing the game editor.
Owns all primary systems and a reference to the engine.
Base class for all editor pages.
core::system::Systems & systems
Scripting validation tab.
virtual ~Scripts()=default
Destroy the Scripts object.
Scripts(core::system::Systems &systems)
Creates a new scripting validation tab.
virtual void update(float dt) override
Refreshes if called for first time.