context menus, document refactoring, fixes

This commit is contained in:
2025-10-26 00:10:44 -04:00
parent 87c2db2a77
commit fe9366f9ef
62 changed files with 2138 additions and 793 deletions

View File

@@ -8,16 +8,16 @@ namespace anm2ed::state
{
class State
{
void tick(settings::Settings& settings);
void update(SDL_Window*& window, settings::Settings& settings);
void render(SDL_Window*& window, settings::Settings& settings);
void tick(settings::Settings&);
void update(SDL_Window*&, settings::Settings&);
void render(SDL_Window*&, settings::Settings&);
public:
bool isQuit{};
dialog::Dialog dialog;
resources::Resources resources;
playback::Playback playback;
document_manager::DocumentManager manager;
manager::Manager manager;
clipboard::Clipboard clipboard;
taskbar::Taskbar taskbar;
documents::Documents documents;
@@ -26,8 +26,8 @@ namespace anm2ed::state
uint64_t previousTick{};
uint64_t previousUpdate{};
State(SDL_Window*& window, std::vector<std::string>& arguments);
State(SDL_Window*&, std::vector<std::string>&);
void loop(SDL_Window*& window, settings::Settings& settings);
void loop(SDL_Window*&, settings::Settings&);
};
};