summaryrefslogtreecommitdiff
path: root/plugins/Skins/MirandaFont.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Skins/MirandaFont.h')
-rw-r--r--plugins/Skins/MirandaFont.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/Skins/MirandaFont.h b/plugins/Skins/MirandaFont.h
new file mode 100644
index 0000000000..da9a40a06e
--- /dev/null
+++ b/plugins/Skins/MirandaFont.h
@@ -0,0 +1,28 @@
+#ifndef __MIRANDA_FONT_H__
+# define __MIRANDA_FONT_H__
+
+#include "commons.h"
+
+
+class MirandaFont
+{
+public:
+ MirandaFont(Field *field, const char *description);
+ ~MirandaFont();
+
+ void registerFont(FontState *font);
+ void reloadFont();
+
+private:
+ FontIDT fid;
+ HFONT hFont;
+ Field *field;
+
+ void releaseFont();
+
+ static int staticReloadFont(void *obj, WPARAM wParam, LPARAM lParam);
+};
+
+
+
+#endif // __MIRANDA_FONT_H__