Working with file dialog, yay ! :D
This commit is contained in:
parent
1266628646
commit
546c935cf2
8 changed files with 25 additions and 31 deletions
|
@ -21,7 +21,9 @@ public:
|
|||
|
||||
~Controller() noexcept = default;
|
||||
|
||||
void control() noexcept;
|
||||
void control_menu() const noexcept;
|
||||
|
||||
void control_sheet()const noexcept;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue