#ifndef __CBrush_cpp
#define __CBrush_cpp

MfcBrush* MfcBrush::New ()
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBrushI()->_New();
} // MfcBrush* MfcBrush::New ();

void MfcBrush::Delete (MfcBrush* pBrush)
{
	FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBrushI()->_Delete(pBrush);
} // void MfcBrush::Delete (MfcBrush* pBrush);

MfcBrush* MfcBrush::FromHandle (HBRUSH hBrush)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBrushI()->_FromHandle(hBrush);
} // MfcBrush* MfcBrush::FromHandle (HBRUSH hBrush);

BOOL MfcBrush::CreateSolidBrush (COLORREF crColor)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBrushI()->_CreateSolidBrush(this, crColor);
} // BOOL MfcBrush::CreateSolidBrush (COLORREF crColor);

BOOL MfcBrush::CreateHatchBrush (int nIndex, COLORREF crColor)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBrushI()->_CreateHatchBrush(this, nIndex, crColor);
} // BOOL MfcBrush::CreateHatchBrush (int nIndex, COLORREF crColor);

BOOL MfcBrush::CreateBrushIndirect (const LOGBRUSH* lpLogBrush)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBrushI()->_CreateBrushIndirect(this, lpLogBrush);
} // BOOL MfcBrush::CreateBrushIndirect (const LOGBRUSH* lpLogBrush);

BOOL MfcBrush::CreatePatternBrush (MfcBitmap* pBitmap)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBrushI()->_CreatePatternBrush(this, pBitmap);
} // BOOL MfcBrush::CreatePatternBrush (MfcBitmap* pBitmap);

BOOL MfcBrush::CreateDIBPatternBrush (HGLOBAL hPackedDIB, UINT nUsage)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBrushI()->_CreateDIBPatternBrush(this, hPackedDIB, nUsage);
} // BOOL MfcBrush::CreateDIBPatternBrush (HGLOBAL hPackedDIB, UINT nUsage);

BOOL MfcBrush::CreateDIBPatternBrush (const void* lpPackedDIB, UINT nUsage)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBrushI()->_CreateDIBPatternBrush(this, lpPackedDIB, nUsage);
} // BOOL MfcBrush::CreateDIBPatternBrush (const void* lpPackedDIB, UINT nUsage);

BOOL MfcBrush::CreateSysColorBrush (int nIndex)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBrushI()->_CreateSysColorBrush(this, nIndex);
} // BOOL MfcBrush::CreateSysColorBrush (int nIndex);

MfcBrush::operator HBRUSH () const
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBrushI()->_HBRUSH(this);
} // MfcBrush::operator HBRUSH () const;

int MfcBrush::GetLogBrush (LOGBRUSH* pLogBrush)
{
	return FMpgGetModule()->GetMolipBaseI()->GetMfcClassI()->MfcBrushI()->_GetLogBrush(this, pLogBrush);
} // int MfcBrush::GetLogBrush (LOGBRUSH* pLogBrush);

#endif//__CBrush_cpp
