Automatically save a sizes.ors profile when resizing a zone, then automatically load zone sizes from sizes.ors on start

This commit is contained in:
Adam Honse 2020-03-19 14:24:39 -05:00
parent 01020b50d9
commit 18c18e3999
7 changed files with 110 additions and 36 deletions

View file

@ -10,6 +10,7 @@ public:
bool SaveProfile(std::string profile_name);
bool LoadProfile(std::string profile_name);
bool LoadSizeFromProfile(std::string profile_name);
void DeleteProfile(std::string profile_name);
std::vector<std::string> profile_list;
@ -19,4 +20,10 @@ protected:
private:
void UpdateProfileList();
bool LoadProfileWithOptions
(
std::string profile_name,
bool load_size,
bool load_settings
);
};