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:
parent
01020b50d9
commit
18c18e3999
7 changed files with 110 additions and 36 deletions
|
|
@ -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
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue