// NeL - MMORPG Framework // Copyright (C) 2010 Winch Gate Property Limited // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version 3 of the // License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see . // This file was created on March 28th 2001. By Robert Brault // // #if !defined(AFX_COLORSTATIC_H__614C19E7_EA25_42DF_928A_51AC901B813D__INCLUDED_) #define AFX_COLORSTATIC_H__614C19E7_EA25_42DF_928A_51AC901B813D__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ColorStatic.h : header file // ///////////////////////////////////////////////////////////////////////////// // CColorStatic window class CColorStatic : public CStatic { // Construction public: void SetTextColor(COLORREF crColor); // This Function is to set the Color for the Text. void SetBkColor(COLORREF crColor); // This Function is to set the BackGround Color for the Text. CColorStatic(); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CColorStatic) //}}AFX_VIRTUAL virtual ~CColorStatic(); // Generated message map functions protected: //{{AFX_MSG(CColorStatic) CBrush m_brBkgnd; // Holds Brush Color for the Static Text COLORREF m_crBkColor; // Holds the Background Color for the Text COLORREF m_crTextColor; // Holds the Color for the Text afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_COLORSTATIC_H__614C19E7_EA25_42DF_928A_51AC901B813D__INCLUDED_)