diff options
author | George Hazan <george.hazan@gmail.com> | 2016-05-30 09:56:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-05-30 09:56:04 +0000 |
commit | 98a011711360f3a1ef0c68b667c2c05de5c1892e (patch) | |
tree | b775af43c94c363cb48d507341c8a6a518b32e26 /plugins/Clist_modern/src/modern_viewmodebar.cpp | |
parent | 868edd81fb052448f102ec7e606c6939c54a4f9a (diff) |
- unused settings removed;
- code cleaning.
git-svn-id: http://svn.miranda-ng.org/main/trunk@16887 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_viewmodebar.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_viewmodebar.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Clist_modern/src/modern_viewmodebar.cpp b/plugins/Clist_modern/src/modern_viewmodebar.cpp index 29c2b1ac77..4e9b144911 100644 --- a/plugins/Clist_modern/src/modern_viewmodebar.cpp +++ b/plugins/Clist_modern/src/modern_viewmodebar.cpp @@ -1157,9 +1157,7 @@ static BOOL sttDrawViewModeBackground(HWND hwnd, HDC hdc, RECT *rect) return TRUE;
}
-COLORREF sttGetColor(char * module, char * color, COLORREF defColor); //clcutils
-
-static int ehhViewModeBackgroundSettingsChanged(WPARAM, LPARAM)
+static int ehhViewModeBackgroundSettingsChanged(WPARAM, LPARAM)
{
if (view_mode.hBmpBackground) {
DeleteObject(view_mode.hBmpBackground);
@@ -1167,7 +1165,7 @@ static int ehhViewModeBackgroundSettingsChanged(WPARAM, LPARAM) }
if (g_CluiData.fDisableSkinEngine) {
- view_mode.bkColour = sttGetColor("ViewMode", "BkColour", CLCDEFAULT_BKCOLOUR);
+ view_mode.bkColour = cliGetColor("ViewMode", "BkColour", CLCDEFAULT_BKCOLOUR);
if (db_get_b(NULL, "ViewMode", "UseBitmap", CLCDEFAULT_USEBITMAP)) {
ptrT tszBitmapName(db_get_tsa(NULL, "ViewMode", "BkBitmap"));
if (tszBitmapName)
|