blob: bec300eca9d9fe4b3193a09b8729200a8488806d (
plain)
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
33
34
35
36
37
38
39
40
41
|
#if !defined(HISTORYSTATS_GUARD_DLGCONFIGURE_H)
#define HISTORYSTATS_GUARD_DLGCONFIGURE_H
#include "_globals.h"
#include "_consts.h"
class DlgConfigure
: private pattern::NotCopyable<DlgConfigure>
{
private:
static HWND m_hCfgWnd;
static bool m_bHookedEvent;
private:
static BOOL CALLBACK staticConfigureProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam);
static int staticEventPreShutdown(WPARAM wParam, LPARAM lParam);
public:
static void showModal();
private:
HWND m_hWnd;
bool m_bChanged;
HWND m_hOptWnd;
int m_nPadY;
int m_nOKPadX;
int m_nCancelPadX;
int m_nApplyPadX;
private:
void onWMInitDialog();
void onCancel();
void onApply();
void rearrangeControls();
private:
explicit DlgConfigure(HWND hWnd);
~DlgConfigure();
};
#endif // HISTORYSTATS_GUARD_DLG_CONFIGURE_H
|