/** * @file XTPCalendarCaptionBarOffice2013Theme.h * * @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 * */ #if !defined(__XTPCALENDARCAPTIONBAROFFICE2013THEME_H__) # define __XTPCALENDARCAPTIONBAROFFICE2013THEME_H__ # if _MSC_VER > 1000 # pragma once # endif // _MSC_VER > 1000 # include "Common/Base/Diagnostic/XTPDisableNoisyWarnings.h" /** * @brief * CXTPCalendarCaptionBarOffice2013Theme is a CXTPCalendarCaptionBarOffice2003Theme derived * class that represents the Office 2013 white calendar theme. */ class _XTP_EXT_CLASS CXTPCalendarCaptionBarOffice2013Theme : public CXTPCalendarCaptionBarOffice2003Theme { public: /** * @brief * Default paint manager constructor. * @param pTheme A pointer to CXTPCalendarCaptionBarTheme object. * @details Handles initial initialization. * * @see RefreshMetrics() */ CXTPCalendarCaptionBarOffice2013Theme(CXTPCalendarCaptionBarTheme* pTheme = NULL); /** * @brief * Default paint manager destructor. * * @details Handles member items deallocation. */ virtual ~CXTPCalendarCaptionBarOffice2013Theme(); /** * @brief * Performs refreshing of graphical related parameters from * system settings. Base implementation do nothing. */ virtual void RefreshMetrics(); virtual void PartRefresh(CXTPSwitchViewButtonPart* pBarPart); virtual void PartRefresh(CXTPRadioButtonPart* pBarPart); virtual void PartRefresh(CXTPCheckboxButtonPart* pBarPart); virtual void PartDraw(CXTPSwitchViewButtonPart* pBarPart, CDC* pDC); virtual void PartDraw(CXTPScrollDateButtonPart* pBarPart, CDC* pDC); virtual void PartDraw(CXTPDateLabelPart* pBarPart, CDC* pDC); virtual void DrawBack(CDC* pDC, CRect rcRect, int nState); protected: CXTPPaintManagerColor m_clrButtonHighlight; CXTPPaintManagerColor m_clrButtonHighlightText; CXTPPaintManagerColor m_clrButtonHighlightBorder; CXTPPaintManagerColor m_clrButtonPressed; CXTPPaintManagerColor m_clrButtonPressedText; CXTPPaintManagerColor m_clrButtonPressedBorder; CXTPPaintManagerColor m_clrButtonChecked; CXTPPaintManagerColor m_clrButtonCheckedText; CXTPPaintManagerColor m_clrButtonCheckedBorder; }; # include "Common/Base/Diagnostic/XTPEnableNoisyWarnings.h" #endif // !defined(__XTPCALENDARCAPTIONBAROFFICE2013THEME_H__)