blob: a71e6ae2faa49dfbbb274a19242d2b8c39cadd77 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
|
#ifndef _STEAM_OPTIONS_H_
#define _STEAM_OPTIONS_H_
class CSteamOptionsMain : public CSteamDlgBase
{
private:
CCtrlEdit m_username;
CCtrlEdit m_password;
CCtrlEdit m_group;
CCtrlCheck m_biggerAvatars;
CCtrlCheck m_showChatEvents;
CCtrlSpin m_pollingErrorLimit;
protected:
CSteamOptionsMain(CSteamProto *proto, int idDialog, HWND hwndParent = NULL);
bool OnInitDialog() override;
bool OnApply() override;
public:
static CDlgBase *CreateAccountManagerPage(void *param, HWND owner)
{
CSteamOptionsMain *page = new CSteamOptionsMain((CSteamProto*)param, IDD_ACCMGR, owner);
page->Show();
return page;
}
static CDlgBase *CreateOptionsPage(void *param) { return new CSteamOptionsMain((CSteamProto*)param, IDD_OPT_MAIN); }
};
/////////////////////////////////////////////////////////////////////////////////
class CSteamOptionsBlockList : public CSteamDlgBase
{
private:
typedef CSteamDlgBase CSuper;
CCtrlListView m_list;
CCtrlCombo m_contacts;
CCtrlButton m_add;
protected:
bool OnInitDialog() override;
void OnBlock(CCtrlButton*);
public:
CSteamOptionsBlockList(CSteamProto *proto);
static CDlgBase *CreateOptionsPage(void *param) { return new CSteamOptionsBlockList((CSteamProto*)param); }
};
#endif //_STEAM_OPTIONS_H_
|