diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-12 14:44:45 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-12 14:44:45 +0000 |
commit | ea0ec0099a6400a80a4bae0f726e8a1e6522ee86 (patch) | |
tree | 0d17d389212e6b83883d09911db362c33e14c336 /plugins/TabSRMM/src/themes.cpp | |
parent | 2718fa3a1ddcbe82bf36ea1d4060b69de71eeae9 (diff) |
- 'Leave chat' button bar's menu item isn't shown for non-chat windows;
- implementation of CustomButtonData became local for buttonsbar.cpp;
- code cleaning;
- version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@12776 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/themes.cpp')
-rw-r--r-- | plugins/TabSRMM/src/themes.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/themes.cpp b/plugins/TabSRMM/src/themes.cpp index 8829380568..d32fd28c82 100644 --- a/plugins/TabSRMM/src/themes.cpp +++ b/plugins/TabSRMM/src/themes.cpp @@ -2504,3 +2504,10 @@ void CSkin::FillBack(const HDC hdc, RECT* rc) else
::FillRect(hdc, rc, GetSysColorBrush(COLOR_3DFACE));
}
+
+/////////////////////////////////////////////////////////////////////////////////////////
+
+bool CSkin::IsThemed()
+{ + return !(m_skinEnabled && !SkinItems[ID_EXTBKBUTTONSNPRESSED].IGNORED && !SkinItems[ID_EXTBKBUTTONSPRESSED].IGNORED && !SkinItems[ID_EXTBKBUTTONSMOUSEOVER].IGNORED); +} |