BillySheet/include/gui.hpp

33 lines
403 B
C++
Raw Normal View History

#ifndef BILLYSHEET_GUI_HPP
#define BILLYSHEET_GUI_HPP
2022-01-09 00:43:33 +01:00
#include <filesystem>
namespace fs = std::filesystem;
namespace gui {
2022-01-09 00:43:33 +01:00
class GuiData;
class Gui final {
private:
2022-01-09 00:43:33 +01:00
GuiData &data;
fs::path font;
2022-01-09 00:43:33 +01:00
bool initialized{ false };
public:
Gui() = delete;
2022-01-09 00:43:33 +01:00
explicit Gui(GuiData &data);
~Gui() noexcept;
2022-01-09 00:43:33 +01:00
void render_gui();
void render_gpu() const;
};
}
#endif //BILLYSHEET_GUI_HPP