DragonNest/Third/XTToolkitPro/Source/Controls/XTSplitterWndTheme.h
2024-12-19 09:48:26 +08:00

99 lines
3.7 KiB
C++

// XTSplitterWndTheme.h: interface for the CXTSplitterWndTheme class.
//
// This file is a part of the XTREME CONTROLS MFC class library.
// (c)1998-2008 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN
// CONSENT OF CODEJOCK SOFTWARE.
//
// THIS SOURCE CODE CAN ONLY BE USED UNDER THE TERMS AND CONDITIONS OUTLINED
// IN THE XTREME TOOLKIT PRO LICENSE AGREEMENT. CODEJOCK SOFTWARE GRANTS TO
// YOU (ONE SOFTWARE DEVELOPER) THE LIMITED RIGHT TO USE THIS SOFTWARE ON A
// SINGLE COMPUTER.
//
// CONTACT INFORMATION:
// support@codejock.com
// http://www.codejock.com
//
/////////////////////////////////////////////////////////////////////////////
//{{AFX_CODEJOCK_PRIVATE
#if !defined(__XTSPLITTERTHEME_H__)
#define __XTSPLITTERTHEME_H__
//}}AFX_CODEJOCK_PRIVATE
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CXTSplitter;
#include "XTThemeManager.h"
DECLARE_THEME_FACTORY(CXTSplitterWndTheme)
//===========================================================================
// Summary:
// Class CXTSplitterWndTheme is derived from CXTThemeManagerStyle.
// This class is used to apply a Theme to splitter windows.
//===========================================================================
class _XTP_EXT_CLASS CXTSplitterWndTheme : public CXTThemeManagerStyle
{
public:
//-----------------------------------------------------------------------
// Summary:
// Construct a CXTSplitterWndTheme object.
//-----------------------------------------------------------------------
CXTSplitterWndTheme();
//-------------------------------------------------------------------------
// Summary:
// Call this function to set the splitter windows face and the
// borders to the system default colors.
//-------------------------------------------------------------------------
virtual void RefreshMetrics();
public:
CXTPPaintManagerColor m_clrSplitterFace; // The color of the splitter.
CXTPPaintManagerColor m_clrSplitterBorders; // The color of the splitter borders.
};
//===========================================================================
// Summary:
// Class CXTSplitterWndThemeOfficeXP is derived from CXTSplitterWndTheme.
// This class is used to implement the Office 2003 theme for splitter
// windows.
//===========================================================================
class _XTP_EXT_CLASS CXTSplitterWndThemeOfficeXP : public CXTSplitterWndTheme
{
public:
//-------------------------------------------------------------------------
// Summary:
// Call this function to set the splitter windows face and the
// borders to the system default colors.
//-------------------------------------------------------------------------
virtual void RefreshMetrics();
};
//===========================================================================
// Summary:
// Class CXTSplitterWndThemeOffice2003 is derived from CXTSplitterWndTheme.
// This class is used to implement the Office 2003 theme for splitter
// windows.
//===========================================================================
class _XTP_EXT_CLASS CXTSplitterWndThemeOffice2003: public CXTSplitterWndThemeOfficeXP
{
public:
//-------------------------------------------------------------------------
// Summary:
// Call this function to set the splitter windows face and the
// borders to the system default colors.
//-------------------------------------------------------------------------
virtual void RefreshMetrics();
};
/////////////////////////////////////////////////////////////////////////////
#endif // !defined(__XTSPLITTERTHEME_H__)