BillySheet/include/gui/gui_data.hpp
Pcornat 9142896237
Submodule for JSON added.
Menu data and menu in their own folder.
2022-01-14 22:06:07 +01:00

32 lines
511 B
C++

#ifndef BILLYSHEET_GUI_DATA_HPP
#define BILLYSHEET_GUI_DATA_HPP
#include "character_sheet.hpp"
#include <spdlog/spdlog.h>
namespace gui {
class Window;
class GuiData final {
private:
friend class Gui;
Window &window;
character::CharacterSheet billy;
public:
GuiData() = delete;
explicit GuiData(Window &wwindow) : window(wwindow) { SPDLOG_DEBUG("Creating GUI Data"); }
~GuiData() noexcept = default;
[[nodiscard]] Window &get_window() const;
};
}
#endif //BILLYSHEET_GUI_DATA_HPP