BillySheet/include/gui/gui.hpp

51 lines
740 B
C++
Raw Normal View History

#ifndef BILLYSHEET_GUI_HPP
#define BILLYSHEET_GUI_HPP
2022-01-09 00:43:33 +01:00
#include <filesystem>
#include "gui/menu/menu.hpp"
2022-01-09 00:43:33 +01:00
namespace fs = std::filesystem;
2022-01-20 23:16:51 +01:00
class Controller;
namespace gui {
2022-01-09 00:43:33 +01:00
class GuiData;
namespace menu { class MenuData; }
class Gui final {
private:
2022-01-09 00:43:33 +01:00
GuiData &data;
menu::Menu menu;
2022-01-14 19:21:42 +01:00
2022-01-17 19:57:00 +01:00
const fs::path font;
2022-01-09 00:43:33 +01:00
bool initialized{ false };
2022-01-24 21:00:25 +01:00
void habilete_menu() noexcept;
void adresse_menu() noexcept;
void endurance_menu() noexcept;
void chance_menu() noexcept;
void stat_second_menu() noexcept;
public:
Gui() = delete;
explicit Gui(GuiData &data, menu::MenuData &menuData);
2022-01-09 00:43:33 +01:00
~Gui() noexcept;
2022-01-09 00:43:33 +01:00
2022-01-20 22:30:14 +01:00
void render_gui(const Controller &controller);
2022-01-09 00:43:33 +01:00
void render_gpu() const;
};
}
#endif //BILLYSHEET_GUI_HPP