diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-07 18:48:03 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-07 22:40:54 +0300 |
commit | fab3905d91890102046dcc4554721991ae8ff413 (patch) | |
tree | 7514ac3e6739bf09447e9ff5c0926fee7bfe8155 /include/m_message.h | |
parent | 4138d31dd4609d4c29e7bd0dd8dcdedf5f3245b6 (diff) |
Skin_GetProtoIcon - new function to retrieve status icon's handle
Diffstat (limited to 'include/m_message.h')
-rw-r--r-- | include/m_message.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/m_message.h b/include/m_message.h index df1ef4ad2c..b4c2f3ca3d 100644 --- a/include/m_message.h +++ b/include/m_message.h @@ -149,15 +149,11 @@ struct MessageWindowPopupData struct StatusIconData
{
- char *szModule; // used in combo with the dwId below to create a unique identifier
+ const char *szModule; // used in combo with the dwId below to create a unique identifier
DWORD dwId; // uniquely defines a button inside a module
HICON hIcon, hIconDisabled; // hIconDisabled is optional - if null, will use hIcon in the disabled state
int flags; // bitwize OR of MBF_* flags above
- union {
- char *szTooltip; // controlled by MBF_UNICODE
- wchar_t *tszTooltip;
- wchar_t *wszTooltip;
- };
+ MAllCStrings szTooltip; // controlled by MBF_UNICODE
};
#define MBCF_RIGHTBUTTON 0x01 // if this flag is specified, the click was a right button - otherwize it was a left click
@@ -185,7 +181,7 @@ EXTERN_C MIR_APP_DLL(StatusIconData*) Srmm_GetNthIcon(MCONTACT hContact, int ind struct StatusIconClickData
{
POINT clickLocation; // click location, in screen coordinates
- char *szModule;
+ const char *szModule;
DWORD dwId;
int flags; // bitwize OR of MBCF_* flags above
};
|