Working, minimal example.
This commit is contained in:
parent
01697f9df4
commit
bfc12b4a72
7 changed files with 123 additions and 7 deletions
|
@ -1,15 +1,31 @@
|
|||
#ifndef BILLYSHEET_GUI_HPP
|
||||
#define BILLYSHEET_GUI_HPP
|
||||
|
||||
#include <filesystem>
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
namespace gui {
|
||||
|
||||
class GuiData;
|
||||
|
||||
class Gui final {
|
||||
private:
|
||||
GuiData &data;
|
||||
|
||||
fs::path font;
|
||||
|
||||
bool initialized{ false };
|
||||
public:
|
||||
Gui() = delete;
|
||||
|
||||
explicit Gui(GuiData &data);
|
||||
|
||||
~Gui() noexcept;
|
||||
|
||||
void render_gui();
|
||||
|
||||
void render_gpu() const;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue