diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-06-30 13:57:53 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-06-30 13:57:53 +0000 |
commit | f65741787bee7c5d143d733efb32b7ec3452edc6 (patch) | |
tree | abde66c5c4b96e96dbcc9c0b66906d0ba989e2d4 /protocols/Steam/src/steam_options.h | |
parent | 98ef126036ee5fdef2155dc15e4e08a7f7eaf534 (diff) |
Steam: fixed options
git-svn-id: http://svn.miranda-ng.org/main/trunk@14457 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_options.h')
-rw-r--r-- | protocols/Steam/src/steam_options.h | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/protocols/Steam/src/steam_options.h b/protocols/Steam/src/steam_options.h index a998cf0e6b..e06a0070ad 100644 --- a/protocols/Steam/src/steam_options.h +++ b/protocols/Steam/src/steam_options.h @@ -4,12 +4,12 @@ class CSteamOptionsMain : public CSteamDlgBase
{
private:
- typedef CSteamDlgBase CSuper;
-
- CCtrlEdit m_steamname;
+ CCtrlEdit m_username;
CCtrlEdit m_password;
CCtrlEdit m_group;
+ CCtrlCheck m_biggerAvatars;
+
protected:
CSteamOptionsMain(CSteamProto *proto, int idDialog, HWND hwndParent = NULL);
@@ -19,11 +19,33 @@ protected: public:
static CDlgBase *CreateAccountManagerPage(void *param, HWND owner)
{
- CSteamOptionsMain *page = new CSteamOptionsMain((CSteamProto*)param, IDD_ACCOUNT_MANAGER, owner);
+ CSteamOptionsMain *page = new CSteamOptionsMain((CSteamProto*)param, IDD_ACCMGR, owner);
page->Show();
+ return page;
}
- static CDlgBase *CreateMainOptionsPage(void *param) { return new CSteamOptionsMain((CSteamProto*)param, IDD_OPTIONS_MAIN); }
+ 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_
\ No newline at end of file |