diff options
Diffstat (limited to 'plugins/Mwclist/m_fontservice.h')
-rw-r--r-- | plugins/Mwclist/m_fontservice.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/Mwclist/m_fontservice.h b/plugins/Mwclist/m_fontservice.h new file mode 100644 index 0000000000..3723029ecb --- /dev/null +++ b/plugins/Mwclist/m_fontservice.h @@ -0,0 +1,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
\ No newline at end of file |