Better organization.

This commit is contained in:
Pcornat 2022-01-11 22:33:29 +01:00
parent c7b6b87005
commit 45c92db758
Signed by: Pcornat
GPG key ID: 2F3932FF46D9ECA0
8 changed files with 26 additions and 20 deletions

View file

@ -2,8 +2,11 @@
#define BILLYSHEET_GUI_DATA_HPP
#include "character_sheet.hpp"
#include <filesystem>
#include <spdlog/spdlog.h>
namespace fs = std::filesystem;
namespace gui {
class Window;
@ -13,6 +16,9 @@ namespace gui {
character::CharacterSheet billy;
fs::path save_path{ "./" };
std::string filename{ "character_sheet.json" };
public:
GuiData() = delete;

View file

@ -3,7 +3,7 @@
#include <memory>
#include "imgui_impl_opengl3_loader.h"
#include <GLFW/glfw3.h>
#include "GLFW/glfw3.h"
namespace gui {
class Window final {