diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-15 10:38:20 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-05-15 10:38:20 +0000 |
commit | 48540940b6c28bb4378abfeb500ec45a625b37b6 (patch) | |
tree | 2ef294c0763e802f91d868bdef4229b6868527de /plugins/mwclist/m_fontservice.h | |
parent | 5c350913f011e119127baeb32a6aedeb4f0d33bc (diff) |
initial commit
git-svn-id: http://svn.miranda-ng.org/main/trunk@2 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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 |