blob: 3723029ecb9d7667ceade5031ddd9d4f65a8d795 (
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
29
30
|
// Copyright Scott Ellis (mail@scottellis.com.au) 2005
// This software is licenced under the GPL (General Public Licence)
// available at http://www.gnu.org/copyleft/gpl.html
#ifndef _FONT_SERVICE_API_INC
#define _FONT_SERVICE_API_INC
typedef struct FontID_tag {
int cbSize;
char group[64];
char name[64];
char dbSettingsGroup[32];
char prefix[32];
int order;
} FontID;
// register a font
// wparam = (FontID *)&font_id
// lparam = 0
#define MS_FONT_REGISTER "Font/Register"
// get a font
// wparam = (FontID *)&font_id (only name and group matter)
// lParam = (LOGFONT *)&logfont
#define MS_FONT_GET "Font/Get"
// fired when a user modifies font settings, so reget your fonts
#define ME_FONT_RELOAD "Font/Reload"
#endif
|