BillySheet/include/gui/gui.hpp

59 lines
872 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;
class Window;
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;
2022-01-31 20:37:35 +01:00
void materiel_menu() noexcept;
void gloire_menu() noexcept;
void richesse_menu() noexcept;
public:
Gui() = delete;
explicit Gui(Window &window, 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