summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-06 19:42:25 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-06 19:42:25 +0300
commitd6110527e8c45bdee003f76c3552629f34131d10 (patch)
tree6bbbd4457e06dc8c074197696744c6093844eae4 /src/mir_app
parent71bdb2f1b65f1649dcd707eaf32d590eb253495c (diff)
CLIST_INTERFACE::pfnGetDefaultExStyle => Clist_GetDefaultExStyle
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/clc.h2
-rw-r--r--src/mir_app/src/clcutils.cpp4
-rw-r--r--src/mir_app/src/clistcore.cpp1
-rw-r--r--src/mir_app/src/mir_app.def1
-rw-r--r--src/mir_app/src/mir_app64.def1
5 files changed, 4 insertions, 5 deletions
diff --git a/src/mir_app/src/clc.h b/src/mir_app/src/clc.h
index ebdd0b1dcf..46f95c5d5a 100644
--- a/src/mir_app/src/clc.h
+++ b/src/mir_app/src/clc.h
@@ -96,8 +96,6 @@ void fnGetDefaultFontSetting(int i, LOGFONT *lf, COLORREF *colour);
void fnLoadClcOptions(HWND hwnd, struct ClcData *dat, BOOL bFirst);
void fnSetContactCheckboxes(ClcContact *cc, int checked);
-DWORD fnGetDefaultExStyle(void);
-
int fnGetRowBottomY(struct ClcData *dat, int item);
int fnGetRowHeight(struct ClcData *dat, int item);
int fnGetRowTopY(struct ClcData *dat, int item);
diff --git a/src/mir_app/src/clcutils.cpp b/src/mir_app/src/clcutils.cpp
index e0ecf94e42..1e41121b0e 100644
--- a/src/mir_app/src/clcutils.cpp
+++ b/src/mir_app/src/clcutils.cpp
@@ -659,7 +659,7 @@ void fnNotifyNewContact(HWND hwnd, MCONTACT hContact)
SendMessage(GetParent(hwnd), WM_NOTIFY, 0, (LPARAM)&nm);
}
-DWORD fnGetDefaultExStyle(void)
+MIR_APP_DLL(DWORD) Clist_GetDefaultExStyle(void)
{
BOOL param;
DWORD ret = CLCDEFAULT_EXSTYLE;
@@ -734,7 +734,7 @@ void fnLoadClcOptions(HWND hwnd, ClcData *dat, BOOL bFirst)
{
dat->rowHeight = db_get_b(0, "CLC", "RowHeight", CLCDEFAULT_ROWHEIGHT);
dat->leftMargin = db_get_b(0, "CLC", "LeftMargin", CLCDEFAULT_LEFTMARGIN);
- dat->exStyle = db_get_dw(0, "CLC", "ExStyle", cli.pfnGetDefaultExStyle());
+ dat->exStyle = db_get_dw(0, "CLC", "ExStyle", Clist_GetDefaultExStyle());
dat->scrollTime = db_get_w(0, "CLC", "ScrollTime", CLCDEFAULT_SCROLLTIME);
dat->groupIndent = db_get_b(0, "CLC", "GroupIndent", CLCDEFAULT_GROUPINDENT);
dat->gammaCorrection = db_get_b(0, "CLC", "GammaCorrect", CLCDEFAULT_GAMMACORRECT);
diff --git a/src/mir_app/src/clistcore.cpp b/src/mir_app/src/clistcore.cpp
index a4828244f5..ba3ebdbf46 100644
--- a/src/mir_app/src/clistcore.cpp
+++ b/src/mir_app/src/clistcore.cpp
@@ -110,7 +110,6 @@ void InitClistCore()
cli.pfnIsVisibleContact = fnIsVisibleContact;
cli.pfnHideInfoTip = fnHideInfoTip;
cli.pfnNotifyNewContact = fnNotifyNewContact;
- cli.pfnGetDefaultExStyle = fnGetDefaultExStyle;
cli.pfnGetDefaultFontSetting = fnGetDefaultFontSetting;
cli.pfnLoadClcOptions = fnLoadClcOptions;
cli.pfnGetRowBottomY = fnGetRowBottomY;
diff --git a/src/mir_app/src/mir_app.def b/src/mir_app/src/mir_app.def
index 9aae4506fa..7847920997 100644
--- a/src/mir_app/src/mir_app.def
+++ b/src/mir_app/src/mir_app.def
@@ -561,3 +561,4 @@ Clist_InvalidateItem @580
Clist_SetGroupChildCheckboxes @581
Clist_RecalculateGroupCheckboxes @582
Clist_GetFontSetting @583
+Clist_GetDefaultExStyle @584
diff --git a/src/mir_app/src/mir_app64.def b/src/mir_app/src/mir_app64.def
index 69d4f4aa02..33dfe19f1c 100644
--- a/src/mir_app/src/mir_app64.def
+++ b/src/mir_app/src/mir_app64.def
@@ -561,3 +561,4 @@ Clist_InvalidateItem @580
Clist_SetGroupChildCheckboxes @581
Clist_RecalculateGroupCheckboxes @582
Clist_GetFontSetting @583
+Clist_GetDefaultExStyle @584