/** * @file XTPCommandBarsThemeMsMoney.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(__XTPCOMMANDBARSTHEMEMSMONEY_H__) # define __XTPCOMMANDBARSTHEMEMSMONEY_H__ /** @endcond */ # if _MSC_VER > 1000 # pragma once # endif // _MSC_VER > 1000 # include "Common/Base/Diagnostic/XTPDisableNoisyWarnings.h" class _XTP_EXT_CLASS CXTPCommandBarsThemeMsMoney : public CXTPDefaultTheme { public: CXTPCommandBarsThemeMsMoney(COLORREF clrGradientLight, COLORREF clrGradientDark, COLORREF clrLineLight, COLORREF clrLineDark); virtual ~CXTPCommandBarsThemeMsMoney(); virtual void FillCommandBarEntry(CDC* pDC, CXTPCommandBar* pBar); virtual CSize DrawControlPopupParent(CDC* pDC, CXTPControl* pButton, BOOL bDraw); virtual CSize DrawCommandBarSeparator(CDC* pDC, CXTPCommandBar* pBar, CXTPControl* pControl, BOOL bDraw); virtual void AdjustExcludeRect(CRect& rc, CXTPControl* pControl, BOOL bVertical); virtual CSize DrawControlToolBarParent(CDC* pDC, CXTPControl* pButton, BOOL bDraw); virtual CRect GetCommandBarBorders(CXTPCommandBar* pBar); virtual CSize DrawCommandBarGripper(CDC* pDC, CXTPCommandBar* pBar, BOOL bDraw); virtual void DrawImage(CDC* pDC, CPoint pt, CSize sz, CXTPImageManagerIcon* pImage, BOOL bSelected, BOOL bPressed, BOOL bEnabled = TRUE, BOOL bChecked = FALSE, BOOL bPopuped = FALSE, BOOL bToolBarImage = TRUE); virtual CSize DrawSpecialControl(CDC* pDC, XTPSpecialControl controlType, CXTPControl* pButton, CXTPCommandBar* pBar, BOOL bDraw, LPVOID lpParam); private: COLORREF m_clrGradientLight; COLORREF m_clrGradientDark; COLORREF m_clrLineLight; COLORREF m_clrLineDark; }; /** @cond */ # include "Common/Base/Diagnostic/XTPEnableNoisyWarnings.h" #endif // !defined(__XTPCOMMANDBARSTHEMEMSMONEY_H__) /** @endcond */