Split mac UI state saving
This commit is contained in:
@@ -169,4 +169,11 @@ void AppleDocumentPlatformServices::set_cursor_visible(bool visible) const
|
||||
#endif
|
||||
}
|
||||
|
||||
void AppleDocumentPlatformServices::save_ui_state() const
|
||||
{
|
||||
#if defined(__OSX__)
|
||||
[App::I->osx_app save_ui_state];
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -38,6 +38,7 @@ public:
|
||||
void display_file(std::string_view path) const;
|
||||
void share_file(std::string_view path) const;
|
||||
void set_cursor_visible(bool visible) const;
|
||||
void save_ui_state() const;
|
||||
|
||||
private:
|
||||
PlatformFamily family_;
|
||||
|
||||
Reference in New Issue
Block a user