diff options
Diffstat (limited to 'plugins/Clist_modern/src/modern_clc.h')
-rw-r--r-- | plugins/Clist_modern/src/modern_clc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_clc.h b/plugins/Clist_modern/src/modern_clc.h index 261724c0f9..f180bd53d9 100644 --- a/plugins/Clist_modern/src/modern_clc.h +++ b/plugins/Clist_modern/src/modern_clc.h @@ -330,6 +330,10 @@ struct ClcData : public ClcDataBase XPTHANDLE hCheckBoxTheme;
BYTE bCompactMode;
+
+ __forceinline int getRowHeight(int iRow) const
+ { return (row_variable_height) ? row_heights[iRow] : rowHeight;
+ }
};
typedef struct tagOVERLAYICONINFO
@@ -347,8 +351,6 @@ void ClcOptionsChanged(void); 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);
-HANDLE ContactToHItem(ClcContact *contact);
-HANDLE ContactToItemHandle(ClcContact *contact, DWORD *nmFlags);
//clcitems.c
void cliRebuildEntireList(HWND hwnd, ClcData *dat);
|