diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-25 16:17:46 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-25 16:17:46 +0000 |
commit | 1914d6f60f4ad92c0efa45a6559a51421bfcaf1e (patch) | |
tree | 3fda8e3ec1de79e6442753aa40645cd98f44dbb1 /plugins/YAPP/src/common.h | |
parent | 6c5f57abce943f3838d2eb002c3646df1da939df (diff) |
fix for popups that use icons controlled by icolib
git-svn-id: http://svn.miranda-ng.org/main/trunk@2490 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAPP/src/common.h')
-rw-r--r-- | plugins/YAPP/src/common.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/plugins/YAPP/src/common.h b/plugins/YAPP/src/common.h index 1b2a52b74b..e8aa204340 100644 --- a/plugins/YAPP/src/common.h +++ b/plugins/YAPP/src/common.h @@ -51,6 +51,7 @@ #include <m_fontservice.h>
#include <m_avatars.h>
#include <m_popup.h>
+#include <m_icolib.h>
#include <win2k.h>
#include <m_notify.h>
@@ -79,7 +80,8 @@ typedef int (CALLBACK *PFNLVCOMPARE)(LPARAM, LPARAM, LPARAM); #endif
-typedef struct {
+struct PopupData
+{
int cbSize;
int flags; // OR of PDF_* flags below
HANDLE hContact;
@@ -99,11 +101,14 @@ typedef struct { WNDPROC windowProc; // optional custom window procedure
int timeout; // -1 == infinite, 0 == default, otherwise timeout in seconds
void *opaque;
-} PopupData;
-#define PDF_UNICODE 0x0001
+ void SetIcon(HICON);
+};
-#define PDF_TCHAR PDF_UNICODE
+#define PDF_UNICODE 0x0001
+#define PDF_ICOLIB 0x0002
+
+#define PDF_TCHAR PDF_UNICODE
// windowProc messages
#define PM_INIT (WM_USER + 0x0202) // message sent to your windowProc after the window has been initialized
|