// ImageStyle.h: interface for the CImageStyle class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_IMAGESTYLE_H__C8AD9B11_B11B_4413_8825_CD3A4DAB2AF4__INCLUDED_)
#define AFX_IMAGESTYLE_H__C8AD9B11_B11B_4413_8825_CD3A4DAB2AF4__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CImageStyle : public CBCGPVisualManager  
{
public:
	CImageStyle(const CString& strBmpPath /* empty for internal */,
				int nHighlight);
	virtual ~CImageStyle();

	virtual void OnFillBarBackground (CDC* pDC, CBCGPBaseControlBar* pBar,
									CRect rectClient, CRect rectClip,
									BOOL bNCArea = FALSE);
	virtual void OnEraseTabsArea (CDC* pDC, CRect rect, const CBCGPBaseTabWnd* pTabWnd);

	virtual COLORREF OnDrawControlBarCaption (CDC* pDC, CBCGPDockingControlBar* pBar, 
		BOOL bActive, CRect rectCaption, CRect rectButtons);

protected:
	CString	m_strImagePath;
	CBitmap	m_bmpBack;
	CSize	m_sizeBmp;
	int		m_nHighlight;

	void FillArea (CDC* pDC, CRect rect, const CWnd* pWnd, BOOL bIsFloating, BOOL bNCArea);
};

#endif // !defined(AFX_IMAGESTYLE_H__C8AD9B11_B11B_4413_8825_CD3A4DAB2AF4__INCLUDED_)
