Menu is ready !
This commit is contained in:
parent
7eb1b22b9d
commit
27c571a6b9
4 changed files with 17 additions and 5 deletions
|
@ -2,6 +2,7 @@
|
|||
#define BILLYSHEET_GUI_HPP
|
||||
|
||||
#include <filesystem>
|
||||
#include "menu.hpp"
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
|
@ -13,6 +14,8 @@ namespace gui {
|
|||
private:
|
||||
GuiData &data;
|
||||
|
||||
Menu menu;
|
||||
|
||||
fs::path font;
|
||||
|
||||
bool initialized{ false };
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#ifndef BILLYSHEET_MENU_HPP
|
||||
#define BILLYSHEET_MENU_HPP
|
||||
|
||||
#include <spdlog/spdlog.h>
|
||||
|
||||
namespace gui {
|
||||
class GuiData;
|
||||
|
@ -11,7 +12,7 @@ namespace gui {
|
|||
public:
|
||||
Menu() noexcept = delete;
|
||||
|
||||
explicit Menu(GuiData &data) noexcept: data(data) {}
|
||||
explicit Menu(GuiData &data) noexcept: data(data) { SPDLOG_DEBUG("Creating Menu"); }
|
||||
|
||||
~Menu() noexcept = default;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue