#pragma once #include #include namespace mgl { class Event; class Window; } namespace gsr { class Widget; class Page { public: Page() = default; Page(const Page&) = delete; Page& operator=(const Page&) = delete; void add_widget(std::unique_ptr widget); void on_event(mgl::Event &event, mgl::Window &window); void draw(mgl::Window &window); private: std::vector> widgets; }; }