diff options
author | George Hazan <ghazan@miranda.im> | 2023-01-31 17:54:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-01-31 17:54:30 +0300 |
commit | e24a98864045837ff4a7d22b770b3768e90b86a1 (patch) | |
tree | 56f3b4f96a06f9b47aa236e62e73960764b45cb6 /plugins/Clist_modern/src/modern_clui.h | |
parent | 4b8f3c1d3dba2ef99eb2e1a9af4bf5f7fd9e50c5 (diff) |
fixes #3316 (Метаконтакты: добавить пункт контекстного меню для разворачивания/сворачивания)
Diffstat (limited to 'plugins/Clist_modern/src/modern_clui.h')
-rw-r--r-- | plugins/Clist_modern/src/modern_clui.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/plugins/Clist_modern/src/modern_clui.h b/plugins/Clist_modern/src/modern_clui.h index c6267ccabc..0cf8d5f8c7 100644 --- a/plugins/Clist_modern/src/modern_clui.h +++ b/plugins/Clist_modern/src/modern_clui.h @@ -46,17 +46,18 @@ public: static CLUI * GetClui() { return m_pCLUI; }
static BOOL IsMainMenuInited() { return CLUI::m_fMainMenuInited; }
- CLINTERFACE void cliOnCreateClc();
-
- EVENTHOOK(OnEvent_ModulesLoaded);
- EVENTHOOK(OnEvent_ContactMenuPreBuild);
- EVENTHOOK(OnEvent_FontReload);
-
- SERVICE(Service_ShowMainMenu);
- SERVICE(Service_ShowStatusMenu);
- SERVICE(Service_Menu_ShowContactAvatar);
- SERVICE(Service_Menu_HideContactAvatar);
-
+ static void cliOnCreateClc();
+
+ static int OnEvent_ModulesLoaded(WPARAM wParam, LPARAM lParam);
+ static int OnEvent_ContactMenuPreBuild(WPARAM wParam, LPARAM lParam);
+ static int OnEvent_FontReload(WPARAM wParam, LPARAM lParam);
+
+ static INT_PTR Service_ShowMainMenu(WPARAM wParam, LPARAM lParam);
+ static INT_PTR Service_ShowStatusMenu(WPARAM wParam, LPARAM lParam);
+ static INT_PTR Service_Menu_ExpandMeta(WPARAM wParam, LPARAM lParam);
+ static INT_PTR Service_Menu_ShowContactAvatar(WPARAM wParam, LPARAM lParam);
+ static INT_PTR Service_Menu_HideContactAvatar(WPARAM wParam, LPARAM lParam);
+
static LRESULT CALLBACK cli_ContactListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
CLUI * This = m_pCLUI;
|