diff options
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 |