summaryrefslogtreecommitdiff
path: root/include/m_popup.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-07-24 17:13:02 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-07-24 17:13:02 +0300
commit789aa2edb6337739caccbf0a5769d2419ffd4bb9 (patch)
treef9420d17e59016f50ad5162c052ada6ba001f551 /include/m_popup.h
parentdda1c6b8e7c98a4a5b31661e9b389b594172484c (diff)
code cleaning
Diffstat (limited to 'include/m_popup.h')
-rw-r--r--include/m_popup.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/m_popup.h b/include/m_popup.h
index c8f77d27b5..6a0bf86fa3 100644
--- a/include/m_popup.h
+++ b/include/m_popup.h
@@ -399,17 +399,12 @@ struct POPUPCLASS
{
int cbSize;
int flags; // PCF_* constants
+ int iSeconds;
+ COLORREF colorBack, colorText;
char *pszName;
MAllStrings pszDescription;
-
HICON hIcon;
-
- COLORREF colorBack;
- COLORREF colorText;
-
WNDPROC PluginWindowProc;
-
- int iSeconds;
LPARAM lParam; //APF_RETURN_HWND, APF_CUSTOM_POPUP ... as above
};
@@ -422,11 +417,11 @@ EXTERN_C MIR_APP_DLL(void) Popup_UnregisterClass(HANDLE ppc);
struct POPUPDATACLASS
{
int cbSize;
+ MCONTACT hContact;
const char *pszClassName;
MAllCStrings szTitle;
MAllCStrings szText;
void *PluginData;
- MCONTACT hContact;
};
EXTERN_C MIR_APP_DLL(HWND) Popup_AddClass(POPUPDATACLASS*);