From 98a011711360f3a1ef0c68b667c2c05de5c1892e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 30 May 2016 09:56:04 +0000 Subject: - unused settings removed; - code cleaning. git-svn-id: http://svn.miranda-ng.org/main/trunk@16887 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_clc.h | 63 ++++++++++++++++++----------------- 1 file changed, 32 insertions(+), 31 deletions(-) (limited to 'plugins/Clist_modern/src/modern_clc.h') diff --git a/plugins/Clist_modern/src/modern_clc.h b/plugins/Clist_modern/src/modern_clc.h index 59cd0b910b..ab94c5def0 100644 --- a/plugins/Clist_modern/src/modern_clc.h +++ b/plugins/Clist_modern/src/modern_clc.h @@ -339,47 +339,48 @@ typedef struct tagOVERLAYICONINFO int listID; } OVERLAYICONINFO; -//clc.c -void ClcOptionsChanged(void); +// clc.c +void ClcOptionsChanged(void); -//clcidents.c -int cliGetRowsPriorTo(ClcGroup *group, ClcGroup *subgroup, int contactIndex); -int FindItem(HWND hwnd, ClcData *dat, DWORD hItem, ClcContact **contact, ClcGroup **subgroup, int *isVisible, bool isIgnoreSubcontacts); -int cliGetRowByIndex(ClcData *dat, int testindex, ClcContact **contact, ClcGroup **subgroup); +// clcidents.c +int cliGetRowsPriorTo(ClcGroup *group, ClcGroup *subgroup, int contactIndex); +int FindItem(HWND hwnd, ClcData *dat, DWORD hItem, ClcContact **contact, ClcGroup **subgroup, int *isVisible, bool isIgnoreSubcontacts); +int cliGetRowByIndex(ClcData *dat, int testindex, ClcContact **contact, ClcGroup **subgroup); -//clcitems.c -void cliRebuildEntireList(HWND hwnd, ClcData *dat); -void cli_AddContactToTree(HWND hwnd, ClcData *dat, MCONTACT hContact, int updateTotalCount, int checkHideOffline); -void cli_SortCLC(HWND hwnd, ClcData *dat, int useInsertionSort); -int GetNewSelection(ClcGroup *group, int selection, int direction); +// clcitems.c +void cliRebuildEntireList(HWND hwnd, ClcData *dat); +void cli_AddContactToTree(HWND hwnd, ClcData *dat, MCONTACT hContact, int updateTotalCount, int checkHideOffline); +void cli_SortCLC(HWND hwnd, ClcData *dat, int useInsertionSort); +int GetNewSelection(ClcGroup *group, int selection, int direction); -//clcmsgs.c +// clcmsgs.c LRESULT cli_ProcessExternalMessages(HWND hwnd, ClcData *dat, UINT msg, WPARAM wParam, LPARAM lParam); -//clcutils.c -void cliRecalcScrollBar(HWND hwnd, ClcData *dat); -void cliBeginRenameSelection(HWND hwnd, ClcData *dat); -int cliHitTest(HWND hwnd, ClcData *dat, int testx, int testy, ClcContact **contact, ClcGroup **group, DWORD *flags); -void cliScrollTo(HWND hwnd, ClcData *dat, int desty, int noSmooth); -int GetDropTargetInformation(HWND hwnd, ClcData *dat, POINT pt); -void LoadCLCOptions(HWND hwnd, ClcData *dat, BOOL bFirst); +// clcutils.c +void cliRecalcScrollBar(HWND hwnd, ClcData *dat); +void cliBeginRenameSelection(HWND hwnd, ClcData *dat); +int cliHitTest(HWND hwnd, ClcData *dat, int testx, int testy, ClcContact **contact, ClcGroup **group, DWORD *flags); +void cliScrollTo(HWND hwnd, ClcData *dat, int desty, int noSmooth); +int GetDropTargetInformation(HWND hwnd, ClcData *dat, POINT pt); +void LoadCLCOptions(HWND hwnd, ClcData *dat, BOOL bFirst); +COLORREF cliGetColor(char *module, char *color, COLORREF defColor); -//clcpaint.c -void CLCPaint_cliPaintClc(HWND hwnd, ClcData *dat, HDC hdc, RECT *rcPaint); +// clcpaint.c +void CLCPaint_cliPaintClc(HWND hwnd, ClcData *dat, HDC hdc, RECT *rcPaint); -//clcopts.c -int ClcOptInit(WPARAM wParam, LPARAM lParam); -DWORD GetDefaultExStyle(void); -void GetFontSetting(int i, LOGFONT *lf, COLORREF *colour, BYTE *effect, COLORREF *eColour1, COLORREF *eColour2); +// clcopts.c +int ClcOptInit(WPARAM wParam, LPARAM lParam); +DWORD GetDefaultExStyle(void); +void GetFontSetting(int i, LOGFONT *lf, COLORREF *colour, BYTE *effect, COLORREF *eColour1, COLORREF *eColour2); -//clistsettings.c -TCHAR * GetContactDisplayNameW(MCONTACT hContact, int mode); +// clistsettings.c +TCHAR* GetContactDisplayNameW(MCONTACT hContact, int mode); -//groups.c -TCHAR* GetGroupNameTS(int idx, DWORD* pdwFlags); -int RenameGroupT(WPARAM groupID, LPARAM newName); +// groups.c +TCHAR* GetGroupNameTS(int idx, DWORD* pdwFlags); +int RenameGroupT(WPARAM groupID, LPARAM newName); -int GetContactCachedStatus(MCONTACT hContact); +int GetContactCachedStatus(MCONTACT hContact); #endif /* _CLC_H_ */ -- cgit v1.2.3