/** * @file XTPCalendarCaptionBarOfficeXPTheme.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(__XTPCALENDARCAPTIONBAROFFICEXPTHEME_H__) # define __XTPCALENDARCAPTIONBAROFFICEXPTHEME_H__ # if _MSC_VER > 1000 # pragma once # endif // _MSC_VER > 1000 # include "Common/Base/Diagnostic/XTPDisableNoisyWarnings.h" /** * @brief * CXTPCalendarCaptionBarOfficeXPTheme is a CXTPCalendarCaptionBarOffice2000Theme derived * class that represents the Office XP calendar theme. */ class _XTP_EXT_CLASS CXTPCalendarCaptionBarOfficeXPTheme : public CXTPCalendarCaptionBarOffice2000Theme { public: /** * @brief * Default paint manager constructor. * @param pTheme A pointer to CXTPCalendarCaptionBarTheme object. * @details Handles initial initialization. * * @see RefreshMetrics() */ CXTPCalendarCaptionBarOfficeXPTheme(CXTPCalendarCaptionBarTheme* pTheme = NULL); /** * @brief * Default paint manager destructor. * * @details Handles member items deallocation. */ virtual ~CXTPCalendarCaptionBarOfficeXPTheme(); /** * @brief * Performs refreshing of graphical related parameters from * system settings. Base implementation do nothing. */ virtual void RefreshMetrics(); virtual void PartDraw(CXTPRadioButtonPart* pBarPart, CDC* pDC); virtual void PartDraw(CXTPCheckboxButtonPart* pBarPart, CDC* pDC); }; # include "Common/Base/Diagnostic/XTPEnableNoisyWarnings.h" #endif // !defined(__XTPCALENDARCAPTIONBAROFFICEXPTHEME_H__)