Working with file dialog, yay ! :D

This commit is contained in:
Pcornat 2022-01-20 22:30:14 +01:00
parent 1266628646
commit 546c935cf2
Signed by: Pcornat
GPG key ID: 2F3932FF46D9ECA0
8 changed files with 25 additions and 31 deletions

View file

@ -21,7 +21,9 @@ public:
~Controller() noexcept = default;
void control() noexcept;
void control_menu() const noexcept;
void control_sheet()const noexcept;
};

View file

@ -3,6 +3,7 @@
#include <filesystem>
#include "gui/menu/menu.hpp"
#include "controller.hpp"
namespace fs = std::filesystem;
@ -28,7 +29,7 @@ namespace gui {
~Gui() noexcept;
void render_gui();
void render_gui(const Controller &controller);
void render_gpu() const;
};

View file

@ -14,9 +14,9 @@ namespace character {
namespace gui::menu {
class MenuData final {
public:
static constexpr const char *const open_character_key{ "CharacterSheetOpen" };
const std::string open_character_key{ "CharacterSheetOpen" };
static constexpr const char *const save_character_key{ "CharacterSheetSaveAs" };
const std::string save_character_key{ "CharacterSheetSaveAs" };
private:
friend class Menu;