66 lines
2.5 KiB
C++
66 lines
2.5 KiB
C++
// XTPPopupThemeOffice2003.h: interface of the CXTPPopupThemeOffice2003 class.
|
|
//
|
|
// This file is a part of the XTREME CONTROLS MFC class library.
|
|
// (c)1998-2013 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
|
|
//
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef XTPPopupThemeOffice2003_h__
|
|
#define XTPPopupThemeOffice2003_h__
|
|
|
|
//===========================================================================
|
|
// Summary:
|
|
// CXTPPopupThemeOffice2003 is a class used to perform Office2003
|
|
// drawing tasks.
|
|
//===========================================================================
|
|
class _XTP_EXT_CLASS CXTPPopupThemeOffice2003 : public CXTPPopupThemeOfficeXP
|
|
{
|
|
public:
|
|
//-----------------------------------------------------------------------
|
|
// Summary:
|
|
// Constructs a CXTPPopupThemeOffice2003 object.
|
|
//-----------------------------------------------------------------------
|
|
CXTPPopupThemeOffice2003();
|
|
|
|
//-----------------------------------------------------------------------
|
|
// Summary:
|
|
// Destroys a CXTPPopupThemeOffice2003 object.
|
|
//-----------------------------------------------------------------------
|
|
virtual ~CXTPPopupThemeOffice2003();
|
|
|
|
public:
|
|
//-----------------------------------------------------------------------
|
|
// Summary:
|
|
// Call this member function to refresh draw metrics.
|
|
//-----------------------------------------------------------------------
|
|
void RefreshMetrics();
|
|
|
|
//-----------------------------------------------------------------------
|
|
// Summary:
|
|
// Call this member function will draw the background of popup window.
|
|
// Parameters:
|
|
// pDC - Points to the device context.
|
|
// rcClient - Size of area to fill.
|
|
// pControl - Popup control to draw
|
|
//-----------------------------------------------------------------------
|
|
virtual void DrawBackground(CDC* pDC, CXTPPopupControl* pControl, CRect rcClient);
|
|
|
|
public:
|
|
CXTPPaintManagerColorGradient m_clrGripper; // Color of the popup gripper for the xtpPopupThemeOffice2003 paint theme.
|
|
};
|
|
|
|
#endif // XTPPopupThemeOffice2003_h__
|