#pragma once
|
#include "../common_nopch/ConfigUtil.h"
|
#include <wx/wx.h>
|
#define DEFAULT_WINOW_POS_AND_SIZE WindowPosSize({-1, -1, -1, -1})
|
|
struct WindowPosSize {
|
int x;
|
int y;
|
int width;
|
int height;
|
};
|
|
|
class MyConfigUtil:public ConfigUtil
|
{
|
|
public:
|
|
|
// ÉèÖÃÖ÷´°¿ÚµÄλÖÃÓë´óС
|
static void setMainWindowPos(wxPoint point, wxSize size);
|
// »ñÈ¡Ö÷´°¿ÚλÖÃÓë´óС
|
static WindowPosSize getMainWindowPos();
|
|
// ÉèÖóɽ»¶ÓÁеÄλÖÃÓë´óС
|
static void setTradeQueueWindowPos(wxPoint point, wxSize size);
|
// »ñÈ¡³É½»¶ÓÁÐλÖÃÓë´óС
|
static WindowPosSize getTradeQueueWindowPos();
|
|
|
|
};
|