From ea0ec0099a6400a80a4bae0f726e8a1e6522ee86 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 12 Apr 2015 14:44:45 +0000 Subject: - '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 --- plugins/TabSRMM/src/themes.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'plugins/TabSRMM/src/themes.cpp') 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); +} -- cgit v1.2.3