summaryrefslogtreecommitdiff
path: root/plugins/!Deprecated/W7UI/src/clistproxywindow.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-04-24 08:21:28 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-04-24 08:21:28 +0000
commit690f5e6d29d1c85c4be72638eb22843964c2f512 (patch)
tree47c50956fef107bb1004f9389b817cbe3626d919 /plugins/!Deprecated/W7UI/src/clistproxywindow.h
parente7112d3e58f97fa0630e0afa04e27796cdf3ce38 (diff)
All non-working stuff moved from trunk
git-svn-id: http://svn.miranda-ng.org/main/trunk@13071 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!Deprecated/W7UI/src/clistproxywindow.h')
-rw-r--r--plugins/!Deprecated/W7UI/src/clistproxywindow.h64
1 files changed, 0 insertions, 64 deletions
diff --git a/plugins/!Deprecated/W7UI/src/clistproxywindow.h b/plugins/!Deprecated/W7UI/src/clistproxywindow.h
deleted file mode 100644
index 153c59089b..0000000000
--- a/plugins/!Deprecated/W7UI/src/clistproxywindow.h
+++ /dev/null
@@ -1,64 +0,0 @@
-#ifndef clistproxywindow_h__
-#define clistproxywindow_h__
-
-class CClistProxyWindow: public CDwmWindow
-{
-public:
- CClistProxyWindow();
- ~CClistProxyWindow();
-
- void Flash();
- void SetOverlayIcon(HICON hIcon);
- void SetOverlayIconHandle(HANDLE hIcolibIcon);
- void AddOverlayEvent(int idx);
- void RemoveOverlayEvent(int idx);
- int AllocateOverlayEvent(HANDLE hIcolibIcon);
-
-private:
- class COverlayEventSlot
- {
- private:
- HANDLE m_hIcolibItem;
- TCHAR *m_overlayText;
- int m_level;
-
- public:
- COverlayEventSlot(HANDLE hIcolibItem, TCHAR *overlayText)
- {
- m_hIcolibItem = hIcolibItem;
- m_overlayText = mir_tstrdup(overlayText);
- m_level = 0;
- }
- ~COverlayEventSlot() { mir_free(m_overlayText); }
- void Push() { m_level++; }
- void Pop() { if (m_level > 0) m_level--; }
- operator bool() { return m_level > 0; }
- HANDLE GetIcon() { return m_hIcolibItem; }
- };
-
- int m_activeOverlay;
- HICON m_overlayIcon;
- HANDLE m_overlayIconHandle;
- TCHAR *m_overlayText;
- OBJLIST<COverlayEventSlot> m_overlayEvents;
-
- int __cdecl OnStatusModeChanged(WPARAM wParam, LPARAM lParam);
- int __cdecl OnAvatarChanged(WPARAM wParam, LPARAM lParam);
- int __cdecl OnModulesLoaded(WPARAM wParam, LPARAM lParam);
- int __cdecl OnAccListChanged(WPARAM wParam, LPARAM lParam);
-
- HANDLE SetEventHook(char *evt, int (__cdecl CClistProxyWindow::*fn)(WPARAM, LPARAM));
-
- void Update();
-
-protected:
- void OnActivate(HWND hwndFrom);
- void OnToolbar(int id, INT_PTR data);
- void OnRenderThumbnail(int width, int height);
- void OnClose();
- void OnTimer(int id);
-};
-
-extern CClistProxyWindow *g_clistProxyWnd;
-
-#endif // clistproxywindow_h__