summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/Include
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_nicer/src/Include')
-rw-r--r--plugins/Clist_nicer/src/Include/clc.h2
-rw-r--r--plugins/Clist_nicer/src/Include/rowheight_funcs.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/plugins/Clist_nicer/src/Include/clc.h b/plugins/Clist_nicer/src/Include/clc.h
index 879fc52553..a1bd91939f 100644
--- a/plugins/Clist_nicer/src/Include/clc.h
+++ b/plugins/Clist_nicer/src/Include/clc.h
@@ -486,7 +486,9 @@ void ReloadExtraInfo(HANDLE hContact);
void LoadAvatarForContact(struct ClcContact *p);
void ApplyViewMode(const char *name);
DWORD CalcXMask(HANDLE hContact);
+
void ClcSetButtonState(int ctrlId, int status);
+HWND ClcGetButtonWindow(int ctrlid);
//clcpaint.c
void PaintClc(HWND hwnd, struct ClcData *dat, HDC hdc, RECT *rcPaint);
diff --git a/plugins/Clist_nicer/src/Include/rowheight_funcs.h b/plugins/Clist_nicer/src/Include/rowheight_funcs.h
index 383db5b592..b7e69382d4 100644
--- a/plugins/Clist_nicer/src/Include/rowheight_funcs.h
+++ b/plugins/Clist_nicer/src/Include/rowheight_funcs.h
@@ -22,7 +22,7 @@ public:
int height = 0;
//DWORD style=GetWindowLongPtr(hwnd,GWL_STYLE);
- //if(contact->iRowHeight == item)
+ //if (contact->iRowHeight == item)
// return(dat->row_heights[item]);
if (!Alloc(dat, item + 1))
@@ -31,7 +31,7 @@ public:
height = dat->fontInfo[GetBasicFontID(contact)].fontHeight;
if (!dat->bisEmbedded) {
- if(contact->bSecondLine != MULTIROW_NEVER && contact->bSecondLine != MULTIROW_IFSPACE && contact->type == CLCIT_CONTACT) {
+ if (contact->bSecondLine != MULTIROW_NEVER && contact->bSecondLine != MULTIROW_IFSPACE && contact->type == CLCIT_CONTACT) {
if ((contact->bSecondLine == MULTIROW_ALWAYS || ((cfg::dat.dwFlags & CLUI_FRAME_SHOWSTATUSMSG && contact->bSecondLine == MULTIROW_IFNEEDED) && (contact->xStatus > 0 || cfg::eCache[contact->extraCacheEntry].bStatusMsgValid > STATUSMSG_XSTATUSID))))
height += (dat->fontInfo[FONTID_STATUS].fontHeight + cfg::dat.avatarPadding);
}