From ff3beb8902dc91ad183ec10d19d0ad12d2a6de93 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 5 Apr 2018 19:31:05 +0300 Subject: CLIST_INTERFACE::pfnDrawMenuItem => Clist_DrawMenuItem --- include/delphi/m_clistint.inc | 4 ++-- include/m_clistint.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/delphi/m_clistint.inc b/include/delphi/m_clistint.inc index a0abfb9c17..25107e17b2 100644 --- a/include/delphi/m_clistint.inc +++ b/include/delphi/m_clistint.inc @@ -401,8 +401,8 @@ type pfnContactListWndProc : function(hwnd:HWND; msg:uint; wParam:WPARAM; lParam:LPARAM):int; stdcall; pfnCluiProtocolStatusChanged : procedure (status:int; szProto:PAnsiChar); cdecl; - pfnDrawMenuItem : procedure (_para1:PDRAWITEMSTRUCT; _para2:HICON; _para3:HICON); cdecl; - pfnLoadCluiGlobalOpts : procedure ; cdecl; + blablablabla4 : procedure; cdecl; + pfnLoadCluiGlobalOpts : procedure; cdecl; pfnInvalidateRect : function (hwnd:HWND; var lpRect:TRECT; bErase:bool):bool; cdecl; pfnOnCreateClc : procedure ; cdecl; diff --git a/include/m_clistint.h b/include/m_clistint.h index db88b62361..cce531b480 100644 --- a/include/m_clistint.h +++ b/include/m_clistint.h @@ -253,6 +253,7 @@ EXTERN_C MIR_APP_DLL(void) Clist_Broadcast(int msg, WPARAM wParam, LPARAM lParam EXTERN_C MIR_APP_DLL(void) Clist_BroadcastAsync(int msg, WPARAM wParam, LPARAM lParam); EXTERN_C MIR_APP_DLL(void) Clist_ChangeContactIcon(MCONTACT hContact, int iIcon); +EXTERN_C MIR_APP_DLL(void) Clist_DrawMenuItem(DRAWITEMSTRUCT *dis, HICON hIcon, HICON eventIcon); EXTERN_C MIR_APP_DLL(bool) Clist_FindItem(HWND hwnd, ClcData *dat, DWORD dwItem, ClcContact **contact, ClcGroup **subgroup, int *isVisible); EXTERN_C MIR_APP_DLL(void) Clist_InitAutoRebuild(HWND hWnd); EXTERN_C MIR_APP_DLL(void) Clist_LoadContactTree(void); @@ -403,7 +404,7 @@ struct CLIST_INTERFACE LRESULT (CALLBACK *pfnContactListWndProc)(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); void (*pfnCluiProtocolStatusChanged)(int status, const char *szProto); - void (*pfnDrawMenuItem)(LPDRAWITEMSTRUCT, HICON, HICON); + int (*blablabla4)(); void (*pfnLoadCluiGlobalOpts)(void); BOOL (*pfnInvalidateRect)(HWND hwnd, CONST RECT* lpRect, BOOL bErase); void (*pfnOnCreateClc)(void); -- cgit v1.2.3