/** * @file XTPTaskPanelListViewOffice2003Theme.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 */ #ifndef XTPTaskPanelListViewOffice2003Theme_h__ # define XTPTaskPanelListViewOffice2003Theme_h__ /** @endcond */ # if _MSC_VER > 1000 # pragma once # endif // _MSC_VER > 1000 # include "Common/Base/Diagnostic/XTPDisableNoisyWarnings.h" /** * @brief * CXTPTaskPanelListViewOffice2003Theme represents a List View Office 2003 style theme. * @see * CXTPTaskPanel::SetTheme */ class _XTP_EXT_CLASS CXTPTaskPanelListViewOffice2003Theme : public CXTPTaskPanelListViewOfficeXPTheme { public: /** * @brief * Constructs a CXTPTaskPanelListViewOffice2003Theme object. */ CXTPTaskPanelListViewOffice2003Theme(); /** * @brief * Refreshes the visual metrics of the task panel. */ void RefreshMetrics(); CXTPPaintManagerColorGradient m_grcHot; /**< Color gradient used to colorize "hot" items for this theme. */ CXTPPaintManagerColorGradient m_grcPushed; /**< Color gradient used to colorize "pushed" items for this theme. */ /** * @brief * Draws the background of a group caption. * @param pDC Pointer to a valid device context. * @param pGroup Pointer to the group with the group caption to fill. * @param rc Bounding rectangle of the group caption. * @return * The bounding rectangle of the group caption. * @details * This method will draw the normal, hot, and pressed backgrounds for * the group caption. It will then fill the group caption with * the Office 2003 color gradient. */ CRect DrawGroupCaptionBackground(CDC* pDC, CXTPTaskPanelGroup* pGroup, CRect rc); }; /** @cond */ # include "Common/Base/Diagnostic/XTPEnableNoisyWarnings.h" #endif // XTPTaskPanelListViewOffice2003Theme_h__ /** @endcond */