summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/cluiframes.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-05-30 09:56:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-05-30 09:56:04 +0000
commit98a011711360f3a1ef0c68b667c2c05de5c1892e (patch)
treeb775af43c94c363cb48d507341c8a6a518b32e26 /plugins/Clist_modern/src/cluiframes.cpp
parent868edd81fb052448f102ec7e606c6939c54a4f9a (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/cluiframes.cpp')
-rw-r--r--plugins/Clist_modern/src/cluiframes.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/Clist_modern/src/cluiframes.cpp b/plugins/Clist_modern/src/cluiframes.cpp
index 7acf5e11b7..5dafc9d4fd 100644
--- a/plugins/Clist_modern/src/cluiframes.cpp
+++ b/plugins/Clist_modern/src/cluiframes.cpp
@@ -88,7 +88,7 @@ static COLORREF sttSelBkColour;
static BOOL sttBkUseWinColours;
BYTE AlignCOLLIconToLeft; //will hide frame icon
-COLORREF sttGetColor(char * module, char * color, COLORREF defColor);
+
//for old multiwindow
#define MPCF_CONTEXTFRAMEMENU 3
POINT ptOld;
@@ -2352,9 +2352,9 @@ int OnFrameTitleBarBackgroundChange(WPARAM, LPARAM)
{
AlignCOLLIconToLeft = db_get_b(NULL, "FrameTitleBar", "AlignCOLLIconToLeft", CLCDEFAULT_COLLICONTOLEFT);
- sttBkColour = sttGetColor("FrameTitleBar", "BkColour", CLCDEFAULT_BKCOLOUR);
+ sttBkColour = cliGetColor("FrameTitleBar", "BkColour", CLCDEFAULT_BKCOLOUR);
sttBkUseWinColours = db_get_b(NULL, "FrameTitleBar", "UseWinColours", CLCDEFAULT_USEWINDOWSCOLOURS);
- sttSelBkColour = sttGetColor("FrameTitleBar", "TextColour", CLCDEFAULT_TEXTCOLOUR);
+ sttSelBkColour = cliGetColor("FrameTitleBar", "TextColour", CLCDEFAULT_TEXTCOLOUR);
if (sttBmpBackground) {
DeleteObject(sttBmpBackground);
@@ -2522,8 +2522,7 @@ int DrawTitleBar(HDC hdcMem2, RECT *rect, int Frameid)
xpt_DrawThemeBackground(_hFrameTitleTheme, hdcMem, WP_SMALLCAPTION, state, &rc, &rc);
bThemed = TRUE;
}
- else
- DrawBackGround(g_pfwFrames[pos].TitleBar.hwnd, hdcMem, sttBmpBackground, sttBkColour, sttBackgroundBmpUse);
+ else DrawBackGround(g_pfwFrames[pos].TitleBar.hwnd, hdcMem, sttBmpBackground, sttBkColour, sttBackgroundBmpUse);
}
else if (!g_CluiData.fLayered) {
ske_BltBackImage(g_pfwFrames[pos].TitleBar.hwnd, hdcMem, &rc);