This commit is contained in:
1 1
2020-12-31 15:35:46 +03:00
commit cd5ffe60a5
161 changed files with 20185 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#pragma once
#include <windows.h>
class HFont_Wrapper
{
private:
HFONT font;
public:
HFont_Wrapper() { font = 0; }
void HFONT_Wrap(HFONT vfont) { font = vfont; }
const HFONT& GetFont() { return this->font; }
~HFont_Wrapper()
{
::DeleteObject(this->font);
}
};