summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/themes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/themes.cpp')
-rw-r--r--plugins/TabSRMM/src/themes.cpp7
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);
+}