summaryrefslogtreecommitdiff
path: root/plugins/Skins/MirandaFont.h
blob: da9a40a06e82b30b6e6ba6e50a989fb32d6b6c74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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__