diff options
author | aunsane <aunsane@gmail.com> | 2018-01-17 23:11:36 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-01-17 23:11:36 +0300 |
commit | fc14cd04c3894702603bb4db7e56258608c5c8d7 (patch) | |
tree | 43b5315d3f20090cf4ebb4e5828a573bb6ec6ff7 /protocols/Steam/src/steam_options.cpp | |
parent | bf928bd6cfa3df39b4cfda0ff5a5825105cf4a56 (diff) |
Steam: fixed #1106
Diffstat (limited to 'protocols/Steam/src/steam_options.cpp')
-rw-r--r-- | protocols/Steam/src/steam_options.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_options.cpp b/protocols/Steam/src/steam_options.cpp index c5898bea86..e87775e68d 100644 --- a/protocols/Steam/src/steam_options.cpp +++ b/protocols/Steam/src/steam_options.cpp @@ -69,4 +69,24 @@ void CSteamOptionsBlockList::OnInitDialog() void CSteamOptionsBlockList::OnBlock(CCtrlButton*)
{
+}
+
+/////////////////////////////////////////////////////////////////////////////////
+
+int CSteamProto::OnOptionsInit(WPARAM wParam, LPARAM)
+{
+ OPTIONSDIALOGPAGE odp = { 0 };
+ odp.hInstance = g_hInstance;
+ odp.szTitle.w = m_tszUserName;
+ odp.flags = ODPF_BOLDGROUPS | ODPF_UNICODE;
+ odp.szGroup.w = LPGENW("Network");
+
+ odp.szTab.w = LPGENW("Account");
+ odp.pDialog = CSteamOptionsMain::CreateOptionsPage(this);
+ Options_AddPage(wParam, &odp);
+
+ odp.szTab.w = LPGENW("Blocked contacts");
+ odp.pDialog = CSteamOptionsBlockList::CreateOptionsPage(this);
+ Options_AddPage(wParam, &odp);
+ return 0;
}
\ No newline at end of file |