blob: deb109babc308de43013302acdf15f79465e366f (
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
|
#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;
protected:
CSteamOptionsMain(CSteamProto *proto, int idDialog, HWND hwndParent = NULL);
void OnInitDialog();
void OnApply();
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:
void OnInitDialog();
void OnBlock(CCtrlButton*);
public:
CSteamOptionsBlockList(CSteamProto *proto);
static CDlgBase *CreateOptionsPage(void *param) { return new CSteamOptionsBlockList((CSteamProto*)param); }
};
#endif //_STEAM_OPTIONS_H_
|