admin
2024-05-17 03654f19baa454b990c052c43e2393a1c53c2c81
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#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();
 
 
 
};