/** * @file XTPDockingPanePanelColorSet2019.cpp * * @copyright * (c) 1998-2025 Codejock Software, All Rights Reserved. * * This source file is the property of Codejock Software and must not be * redistributed by any means without the explicit written permission of * Codejock Software. * * The use of this source code is governed by the terms and conditions specified * in the Toolkit Pro license agreement. Codejock Software grants you, as a * single software developer, the limited right to use this software on one * computer only. * * Contact Information: * support@codejock.com * http://www.codejock.com * */ #include "StdAfx.h" #include "Common/XTPTypeId.h" #include "Common/XTPFramework.h" #include "Common/XTPSystemHelpers.h" #include "Common/XTPSynchro.h" #include "Common/XTPApplication.h" #include "Common/XTPSingleton.h" #include "Common/XTPGdiObjects.h" #include "Common/XTPColorManager.h" #include "Common/XTPResourceImage.h" #include "TabManager/Includes.h" #include "DockingPane/TabColorSets/XTPDockingPanePanelColorSet2012.h" #include "DockingPane/TabColorSets/XTPDockingPanePanelColorSet2019.h" #include "Common/Base/Diagnostic/XTPDisableNoisyWarnings.h" #ifdef _DEBUG # define new DEBUG_NEW # undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif CXTPDockingPanePanelColorSet2019::CXTPDockingPanePanelColorSet2019() { } void CXTPDockingPanePanelColorSet2019::RefreshMetrics() { CXTPTabPaintManagerColorSet::RefreshMetrics(); static LPCTSTR lpszSection = _T("DockingPane.Panel"); m_clrButtonNormal = XTPIniColor(lpszSection, _T("ButtonNormal"), RGB(239, 239, 242)); m_clrButtonPressed = XTPIniColor(lpszSection, _T("ButtonPressed"), RGB(254, 254, 254)); m_clrButtonSelected = XTPIniColor(lpszSection, _T("ButtonSelected"), RGB(246, 246, 246)); m_clrButtonHighlighted = XTPIniColor(lpszSection, _T("ButtonHighlighted"), RGB(254, 254, 254)); m_clrButtonBorder = XTPIniColor(lpszSection, _T("ButtonBorder"), RGB(204, 206, 219)); m_clrTextNormal = XTPIniColor(lpszSection, _T("TextNormal"), RGB(68, 68, 68)); m_clrTextSelected = XTPIniColor(lpszSection, _T("TextSelected"), RGB(0, 122, 204)); m_clrTextHighlight = XTPIniColor(lpszSection, _T("TextHighlight"), RGB(0, 122, 204)); m_clrTextDisabled = XTPIniColor(lpszSection, _T("TextDisabled"), RGB(0, 0, 0)); m_clrAutoHideFace = XTPIniColor(lpszSection, _T("AutoHideFace"), RGB(239, 239, 242)); m_clrHeaderFace = XTPIniColor(lpszSection, _T("HeaderFace"), RGB(239, 239, 242)); }