/** * @file XTPCommandBarsOffice2007SystemTheme.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 * */ /** @cond */ #if !defined(__XTPCOMMANDBARSOFFICE2007SYSTEMTHEME_H__) # define __XTPCOMMANDBARSOFFICE2007SYSTEMTHEME_H__ /** @endcond */ # if _MSC_VER >= 1000 # pragma once # endif // _MSC_VER >= 1000 # include "Common/Base/Diagnostic/XTPDisableNoisyWarnings.h" class _XTP_EXT_CLASS CXTPCommandBarsOffice2007SystemTheme : public CXTPCommandBarsOfficeXPTheme { /** @cond */ DECLARE_DYNAMIC(CXTPCommandBarsOffice2007SystemTheme) /** @endcond */ public: /** * @brief * Constructs a CXTPCommandBarsOffice2007SystemTheme object. */ CXTPCommandBarsOffice2007SystemTheme(); /** * @brief * Destroys a CXTPCommandBarsOffice2007SystemTheme object, * handles cleanup and deallocation. */ virtual ~CXTPCommandBarsOffice2007SystemTheme(); public: /** * @brief * Retrieves the paint manager used to draw frames. * @return * The paint manager used to draw frames. */ virtual CXTPFramePaintManager* GetFramePaintManager(); /** * @brief * Retrieves the ribbon paint manager. * @return * A pointer to CXTPRibbonPaintManager object. */ virtual CXTPRibbonPaintManager* GetRibbonPaintManager(); protected: /** * @brief * This method is called to refresh the visual metrics of the manager. */ virtual void RefreshMetrics(); protected: CXTPMarkupContext* m_pMarkupContext; }; /** @cond */ # include "Common/Base/Diagnostic/XTPEnableNoisyWarnings.h" #endif // !defined(__XTPCOMMANDBARSOFFICE2007SYSTEMTHEME_H__) /** @endcond */