This commit is contained in:
2024-08-07 09:16:27 -04:00
parent fdfadd5c7e
commit 5f971cf684
5200 changed files with 731717 additions and 0 deletions

18
mdiwin/FONT.HPP Normal file
View 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