#pragma once #include #include "gfx/shape_renderer.h" #include "gfx/txt_renderer.h" #include "terminal.h" class UIWindow { public: UIWindow(const char* title, int x, int y, int width, int height); void render(ShapeRenderer* shape_renderer, TextRenderer* txt_renderer, int screen_height); void set_content(Terminal* term); private: int _x, _y, _width, _height; std::string _title; Terminal* _content; };