Initial
This commit is contained in:
18
mdiwin/FONT.HPP
Normal file
18
mdiwin/FONT.HPP
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef _FONT_HPP_
|
||||
#define _FONT_HPP_
|
||||
#include <mdiwin/windows.hpp>
|
||||
|
||||
class Font
|
||||
{
|
||||
public:
|
||||
Font(HWND hWnd,int nWidth,int nHeight);
|
||||
~Font();
|
||||
void DrawText(int xStart,int yStart,const char *npString,COLORREF bkColor,COLORREF textColor)const;
|
||||
void DrawText(int xStart,int yStart,const char *npString)const;
|
||||
private:
|
||||
HDC mhdc;
|
||||
HWND mhWnd;
|
||||
HFONT mhFont;
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user