/** * @file XTPCommandBarsColorSetOffice2013.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(__XTPCOMMANDBARSCOLORSETOFFICE2013_H__) # define __XTPCOMMANDBARSCOLORSETOFFICE2013_H__ /** @endcond */ # if _MSC_VER >= 1000 # pragma once # endif // _MSC_VER >= 1000 # include "Common/Base/Diagnostic/XTPDisableNoisyWarnings.h" /** * @brief Base class used to define various state colors used by command bar * buttons text, background and border. */ class _XTP_EXT_CLASS CXTPColorSetStateButton : public CXTPCmdTarget { /** @cond */ DECLARE_DYNAMIC(CXTPColorSetStateButton) /** @endcond */ public: /** * @brief Call this member function to refresh the colors from predefined * Section and Key values located in the theme INI file for loaded * resource DLL. */ virtual void RefreshColors() = 0; CXTPPaintManagerColor clrText; /**< Text Normal color. */ CXTPPaintManagerColor clrTextHighlight; /**< Text Highlight color. */ CXTPPaintManagerColor clrTextPushed; /**< Text Pushed color. */ CXTPPaintManagerColor clrTextDisabled; /**< Text Disabled color. */ CXTPPaintManagerColor clrTextChecked; /**< Text Checked color. */ CXTPPaintManagerColor clrTextCheckedHighlight; /**< Text Checked highlight color.*/ CXTPPaintManagerColor clrBack; /**< Background Normal color. */ CXTPPaintManagerColor clrBackHighlight; /**< Background Highlight color. */ CXTPPaintManagerColor clrBackPushed; /**< Background Pushed color. */ CXTPPaintManagerColor clrBackDisabled; /**< Background Disabled color. */ CXTPPaintManagerColor clrBackChecked; /**< Background Checked color. */ CXTPPaintManagerColor clrBackCheckedHighlight; /**< Background Checked highlight color.*/ CXTPPaintManagerColor clrBorder; /**< Border Normal color. */ CXTPPaintManagerColor clrBorderHighlight; /**< Border Highlight color. */ CXTPPaintManagerColor clrBorderPushed; /**< Border Pushed color. */ CXTPPaintManagerColor clrBorderDisabled; /**< Border Disabled color. */ CXTPPaintManagerColor clrBorderChecked; /**< Border Checked color. */ CXTPPaintManagerColor clrBorderCheckedHighlight; /**< Border Checked highlight color.*/ }; /** * @brief Color set class used to define various state colors used by * command bar menus. */ class _XTP_EXT_CLASS CXTPColorSetStateMenu : public CXTPColorSetStateButton { /** @cond */ DECLARE_DYNAMIC(CXTPColorSetStateMenu) /** @endcond */ public: /** * @brief Call this member function to refresh the colors from predefined * Section and Key values located in the theme INI file for loaded * resource DLL. */ virtual void RefreshColors(); CXTPPaintManagerColor clrMenuBack; /**< Menu background color. */ CXTPPaintManagerColor clrMenuBorder; /**< Menu border color. */ CXTPPaintManagerColor clrGripper; /**< Menu item icon strip background color.*/ CXTPPaintManagerColorGradient clrSeparator; /**< Separator dark and light colors. */ }; /** * @brief * Color set class used to define various state colors used by * command bar menu title bars. */ class _XTP_EXT_CLASS CXTPColorSetStateMenuTitleBar : public CXTPColorSetStateButton { DECLARE_DYNAMIC(CXTPColorSetStateMenuTitleBar) public: //----------------------------------------------------------------------- // Summary: Call this member function to refresh the colors from predefined // Section and Key values located in the theme INI file for loaded // resource DLL. //----------------------------------------------------------------------- virtual void RefreshColors(); CXTPPaintManagerColor m_clrMenuTitleBarText; // MenuTitleBar text color. CXTPPaintManagerColor m_clrMenuTitleBarTextInactive; // MenuTitleBar inactive text color. CXTPPaintManagerColor m_clrMenuTitleBarTextBack; // MenuTitleBar back color. CXTPPaintManagerColor m_clrMenuTitleBarTextBackInactive; // MenuTitleBar inactive back color. }; /** * @brief Color set class used to define various state colors used by * command bar ribbon. */ class _XTP_EXT_CLASS CXTPColorSetStateRibbon : public CXTPColorSetStateButton { /** @cond */ DECLARE_DYNAMIC(CXTPColorSetStateRibbon) /** @endcond */ public: /** * @brief Call this member function to refresh the colors from predefined * Section and Key values located in the theme INI file for loaded * resource DLL. */ virtual void RefreshColors(); CXTPPaintManagerColor clrTabTextInactive; /**< Ribbon tab inactive text color; */ CXTPPaintManagerColor clrTabBackInactive; /**< Ribbon tab inactive background color;*/ }; /** * @brief Color set class used to define various state colors used by * command bar toolbars. */ class _XTP_EXT_CLASS CXTPColorSetStateToolbar : public CXTPColorSetStateButton { /** @cond */ DECLARE_DYNAMIC(CXTPColorSetStateToolbar) /** @endcond */ public: /** * @brief Call this member function to refresh the colors from predefined * Section and Key values located in the theme INI file for loaded * resource DLL. */ virtual void RefreshColors(); CXTPPaintManagerColor clrToolbarBack; /**< Toolbar background color. */ CXTPPaintManagerColor clrToolbarActiveBack; /**< Toolbar active background color. */ CXTPPaintManagerColor clrToolbarInactiveBack; /**< Toolbar inactive background color. */ CXTPPaintManagerColor clrToolbarBorder; /**< Toolbar border color. */ CXTPPaintManagerColor clrToolbarActiveBorder; /**< Toolbar active border color. */ CXTPPaintManagerColor clrToolbarInactiveBorder; /**< Toolbar inactive border color. */ CXTPPaintManagerColor clrEditBorder; /**< Toolbar edit control border color. */ CXTPPaintManagerColor clrGripper; /**< Toolbar gripper color. */ CXTPPaintManagerColor clrDisabledIcon; /**< Toolbar disabled icon color. */ CXTPPaintManagerColorGradient clrSeparator; /**< Separator dark and light colors. */ }; /** * @brief * Helper class used to define various state colors used by command bar * check marks foreground and background. */ class _XTP_EXT_CLASS CXTPColorSetStateCheckMark { public: /** * @brief * Handles object destruction */ virtual ~CXTPColorSetStateCheckMark() { } /** * @brief Call this member function to refresh the colors from predefined * Section and Key values located in the theme INI file for loaded * resource DLL. */ virtual void RefreshColors(); CXTPPaintManagerColor clrCheck; /**< Foreground Normal color. */ CXTPPaintManagerColor clrCheckHighlight; /**< Foreground Highlight color. */ CXTPPaintManagerColor clrCheckPushed; /**< Foreground Pushed color. */ CXTPPaintManagerColor clrCheckDisabled; /**< Foreground Disabled color. */ CXTPPaintManagerColor clrBack; /**< Background Normal color. */ CXTPPaintManagerColor clrBackHighlight; /**< Background Highlight color. */ CXTPPaintManagerColor clrBackPushed; /**< Background Pushed color. */ CXTPPaintManagerColor clrBackDisabled; /**< Background Disabled color. */ }; /** * @brief * Helper class used to define various state colors used by command bar * glyphs. */ class _XTP_EXT_CLASS CXTPColorSetStateComboBox { public: /** * @brief * Handles object destruction */ virtual ~CXTPColorSetStateComboBox() { } /** * @brief Call this member function to refresh the colors from predefined * Section and Key values located in the theme INI file for loaded * resource DLL. */ virtual void RefreshColors(); CXTPPaintManagerColor clrBack; /**< ComboBox normal background color.*/ CXTPPaintManagerColor clrBackHighlight; /**< ComboBox highlight background color.*/ CXTPPaintManagerColor clrBackDropped; /**< ComboBox dropped background color.*/ CXTPPaintManagerColor clrBackDisabled; /**< ComboBox disabled background color.*/ CXTPPaintManagerColor clrBorder; /**< ComboBox normal border color.*/ CXTPPaintManagerColor clrBorderHighlight; /**< ComboBox highlight border color.*/ CXTPPaintManagerColor clrBorderDropped; /**< ComboBox dropped border color.*/ CXTPPaintManagerColor clrBorderDisabled; /**< ComboBox disabled border color.*/ CXTPPaintManagerColor clrDropDownBack; /**< Drop down ComboBox normal background color.*/ CXTPPaintManagerColor clrDropDownBackHighlight; /**< Drop down ComboBox highlight background color.*/ CXTPPaintManagerColor clrDropDownBackDropped; /**< Drop down ComboBox dropped background color.*/ CXTPPaintManagerColor clrDropDownBackDisabled; /**< Drop down ComboBox disabled background color.*/ CXTPPaintManagerColor clrDropDownBorder; /**< Drop down ComboBox normal border color. */ CXTPPaintManagerColor clrDropDownBorderHighlight; /**< Drop down ComboBox highlight border color. */ CXTPPaintManagerColor clrDropDownBorderDropped; /**< Drop down ComboBox dropped border color. */ CXTPPaintManagerColor clrDropDownBorderDisabled; /**< Drop down ComboBox disabled border color. */ CXTPPaintManagerColor clrDropDownMarker; /**< Drop down ComboBox normal marker color. */ CXTPPaintManagerColor clrDropDownMarkerHighlight; /**< Drop down ComboBox highlight marker color. */ CXTPPaintManagerColor clrDropDownMarkerDropped; /**< Drop down ComboBox dropped marker color. */ CXTPPaintManagerColor clrDropDownMarkerDisabled; /**< Drop down ComboBox disabled marker color. */ }; /** * @brief * Helper class used to define various state colors used by check box and * radio button controls. */ class _XTP_EXT_CLASS CXTPColorSetStateCheckBox { public: /** * @brief * Handles object destruction */ virtual ~CXTPColorSetStateCheckBox() { } /** * @brief Call this member function to refresh the colors from predefined * Section and Key values located in the theme INI file for loaded * resource DLL. */ virtual void RefreshColors(); CXTPPaintManagerColor clrMark; CXTPPaintManagerColor clrMarkPushed; CXTPPaintManagerColor clrMarkHighlight; CXTPPaintManagerColor clrMarkDisabled; CXTPPaintManagerColor clrBack; CXTPPaintManagerColor clrBackHighlight; CXTPPaintManagerColor clrBackPushed; CXTPPaintManagerColor clrBackDisabled; CXTPPaintManagerColor clrBorder; CXTPPaintManagerColor clrBorderPushed; CXTPPaintManagerColor clrBorderHighlight; CXTPPaintManagerColor clrBorderDisabled; }; ///////////////////////////////////////////////////////////////////////////// /** @cond */ # include "Common/Base/Diagnostic/XTPEnableNoisyWarnings.h" #endif // !defined(__XTPCOMMANDBARSCOLORSETOFFICE2013_H__) /** @endcond */