context menus, document refactoring, fixes
This commit is contained in:
14
src/state.h
14
src/state.h
@@ -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&);
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user