38 lines
515 B
C++
38 lines
515 B
C++
#ifndef BILLYSHEET_GUI_HPP
|
|
#define BILLYSHEET_GUI_HPP
|
|
|
|
#include <filesystem>
|
|
#include "gui/menu/menu.hpp"
|
|
|
|
namespace fs = std::filesystem;
|
|
|
|
namespace gui {
|
|
|
|
class GuiData;
|
|
|
|
namespace menu { class MenuData; }
|
|
|
|
class Gui final {
|
|
private:
|
|
GuiData &data;
|
|
|
|
menu::Menu menu;
|
|
|
|
fs::path font;
|
|
|
|
bool initialized{ false };
|
|
public:
|
|
Gui() = delete;
|
|
|
|
explicit Gui(GuiData &data, menu::MenuData &menuData);
|
|
|
|
~Gui() noexcept;
|
|
|
|
void render_gui();
|
|
|
|
void render_gpu() const;
|
|
};
|
|
}
|
|
|
|
#endif //BILLYSHEET_GUI_HPP
|