admin
2025-04-08 5c9991be21f57781573f04961ec511ac2938ea3d
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();
 
 
 
};