mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-07-14 14:54:15 -04:00
Save window maximized state
This commit is contained in:
@@ -43,12 +43,16 @@ private:
|
||||
|
||||
class AppConfig {
|
||||
public:
|
||||
AppConfig();
|
||||
std::string getConfigDir();
|
||||
DeviceConfig *getDevice(std::string deviceId);
|
||||
|
||||
void setWindow(wxPoint winXY, wxSize winWH);
|
||||
wxRect *getWindow();
|
||||
|
||||
void setWindowMaximized(bool max);
|
||||
bool getWindowMaximized();
|
||||
|
||||
void setTheme(int themeId);
|
||||
int getTheme();
|
||||
|
||||
@@ -59,5 +63,6 @@ public:
|
||||
private:
|
||||
std::map<std::string, DeviceConfig *> deviceConfig;
|
||||
std::atomic_int winX,winY,winW,winH;
|
||||
std::atomic_bool winMax;
|
||||
std::atomic_int themeId;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user