summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clcpaint.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-06 20:59:25 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-06 20:59:25 +0300
commit205963dfbb2297f5fab4adeec027342394329d2d (patch)
treebbf0df9820b79995c1b631bee47f8294c8ab4a83 /plugins/Clist_modern/src/modern_clcpaint.cpp
parentda9aa1870502d88752c5482e3eb2d2548dd64984 (diff)
CLIST_INTERFACE::pfnGetGroupCountsText => Clist_GetGroupCountsText
CLIST_INTERFACE::pfnEnsureVisible => Clist_EnsureVisible
Diffstat (limited to 'plugins/Clist_modern/src/modern_clcpaint.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clcpaint.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Clist_modern/src/modern_clcpaint.cpp b/plugins/Clist_modern/src/modern_clcpaint.cpp
index 6f33458f9d..0ddeeabdc4 100644
--- a/plugins/Clist_modern/src/modern_clcpaint.cpp
+++ b/plugins/Clist_modern/src/modern_clcpaint.cpp
@@ -780,7 +780,7 @@ void CLCPaint::_PaintRowItemsEx(HDC hdcMem, ClcData *dat, ClcContact *Drawing, R
RECT count_rc = { 0 };
SIZE count_size = { 0 };
int space_width = 0;
- szCounts = pcli->pfnGetGroupCountsText(dat, Drawing);
+ szCounts = Clist_GetGroupCountsText(dat, Drawing);
// Has to draw the count?
if (szCounts && mir_wstrlen(szCounts) > 0) {
// calc width and height
@@ -852,7 +852,7 @@ void CLCPaint::_PaintRowItemsEx(HDC hdcMem, ClcData *dat, ClcContact *Drawing, R
return;
}
else if (Drawing->type == CLCIT_GROUP) {
- szCounts = pcli->pfnGetGroupCountsText(dat, Drawing);
+ szCounts = Clist_GetGroupCountsText(dat, Drawing);
// Has to draw the count?
if (szCounts && szCounts[0]) {
RECT space_rc = fr_rc;
@@ -1001,7 +1001,7 @@ void CLCPaint::_PaintRowItemsEx(HDC hdcMem, ClcData *dat, ClcContact *Drawing, R
RECT count_rc = { 0 };
SIZE count_size = { 0 };
int space_width = 0;
- wchar_t *szCounts = pcli->pfnGetGroupCountsText(dat, Drawing);
+ wchar_t *szCounts = Clist_GetGroupCountsText(dat, Drawing);
// Has to draw the count?
if (szCounts && mir_wstrlen(szCounts) > 0) {
// calc width and height
@@ -2197,7 +2197,7 @@ void CLCPaint::_CalcItemsPos(HDC hdcMem, ClcData *dat, ClcContact *Drawing, RECT
if (Drawing->type == CLCIT_GROUP) {
int full_text_width = text_size.cx;
// Has to draw the count?
- wchar_t *szCounts = pcli->pfnGetGroupCountsText(dat, Drawing);
+ wchar_t *szCounts = Clist_GetGroupCountsText(dat, Drawing);
if (szCounts && szCounts[0]) {
RECT space_rc = free_row_rc;
RECT counts_rc = free_row_rc;
@@ -2683,7 +2683,7 @@ void CLCPaint::_DrawContactText(HDC hdcMem, ClcData *dat, ClcContact *Drawing, i
void CLCPaint::_DrawContactSubText(HDC hdcMem, ClcData *dat, ClcContact *Drawing, int& selected, int& hottrack, RECT& text_rc, RECT *prcItem, UINT uTextFormat, BYTE itemType)
{
if (Drawing->type == CLCIT_GROUP) {
- wchar_t *szCounts = pcli->pfnGetGroupCountsText(dat, Drawing);
+ wchar_t *szCounts = Clist_GetGroupCountsText(dat, Drawing);
// Has to draw the count?
if (szCounts && szCounts[0]) {