/** * @file XTPPopupThemeOffice2013.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/XTPDrawHelpers.h" #include "Common/XTPColorManager.h" #include "Controls/Popup/XTPPopupPaintManager.h" #include "Controls/Popup/Themes/XTPPopupThemeOffice2000.h" #include "Controls/Popup/Themes/XTPPopupThemeOfficeXP.h" #include "Controls/Popup/Themes/XTPPopupThemeOffice2003.h" #include "Controls/Popup/Themes/XTPPopupThemeOffice2013.h" #include "Common/Base/Diagnostic/XTPDisableNoisyWarnings.h" #ifdef _DEBUG # define new DEBUG_NEW # undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ////////////////////////////////////////////////////////////////////////// // CXTPPopupThemeOffice2013 CXTPPopupThemeOffice2013::CXTPPopupThemeOffice2013() { } CXTPPopupThemeOffice2013::~CXTPPopupThemeOffice2013() { } void CXTPPopupThemeOffice2013::RefreshMetrics() { CXTPPopupThemeOffice2003::RefreshMetrics(); m_clrGripper = CXTPPaintManagerColorGradient(RGB(170, 169, 187), RGB(122, 117, 147)); m_clrFrame = RGB(167, 171, 176); m_clrBackground = CXTPPaintManagerColorGradient(RGB(232, 235, 241), RGB(179, 186, 196)); m_clrText = RGB(68, 68, 68); m_clrButtonSelectedBorder = RGB(146, 192, 224); m_clrButtonSelected = RGB(205, 230, 247); m_clrButtonPressedBorder = RGB(42, 141, 212); m_clrButtonPressed = RGB(146, 192, 224); m_iButtonBorderInflate = XTP_DPI_X(2); }