blob: d1f8b1c22f2f786e899ec9fcb3d9d4501ba3093f (
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 INT_PTR 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
|