diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-05-03 17:41:15 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-05-03 17:41:15 +0000 |
commit | 8054c771852aec548f4d648cafafc8fd6c1bf08e (patch) | |
tree | 6e4315c70163db6e9afaead638dfe26cbed0868e /plugins/Clist_nicer/src/extBackg.cpp | |
parent | d5a062a77c2da82b8f99aefcbaaa2ac131266ee5 (diff) |
- Fixed drawing flat/themed toolbar buttons in clist_nicer (patch by slotwin) (fixes #655)
git-svn-id: http://svn.miranda-ng.org/main/trunk@9117 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/extBackg.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/extBackg.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Clist_nicer/src/extBackg.cpp b/plugins/Clist_nicer/src/extBackg.cpp index e6c9330b81..908eab71b6 100644 --- a/plugins/Clist_nicer/src/extBackg.cpp +++ b/plugins/Clist_nicer/src/extBackg.cpp @@ -362,13 +362,14 @@ static void SaveCompleteStructToDB(void) void SetButtonToSkinned()
{
bool bSkinned = (cfg::dat.bSkinnedButtonMode = cfg::getByte("CLCExt", "bskinned", 0)) != 0;
+ bool bFlat = bSkinned ? true : cfg::getByte("TopToolBar", "UseFlatButton", 0);
for (int i = 0; ; i++) {
if (BTNS[i].pszButtonID == NULL)
break;
if (BTNS[i].hwndButton == 0 || BTNS[i].ctrlid == IDC_TBGLOBALSTATUS || BTNS[i].ctrlid == IDC_TBMENU)
continue;
- CustomizeButton(BTNS[i].hwndButton, bSkinned, !bSkinned, bSkinned, true);
+ CustomizeButton(BTNS[i].hwndButton, bSkinned, !bSkinned, bFlat, true);
}
CustomizeButton(GetDlgItem(pcli->hwndContactList, IDC_TBMENU), bSkinned, !bSkinned, bSkinned);
|