summaryrefslogtreecommitdiff
path: root/Plugins/skins/MirandaFont.h
blob: 0664ed3e83801c12560b4bdc226cc04a5979ffc2 (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:
	FontID fid;
	HFONT hFont;
	Field *field;

	void releaseFont();

	static int staticReloadFont(void *obj, WPARAM wParam, LPARAM lParam);
};



#endif // __MIRANDA_FONT_H__