summaryrefslogtreecommitdiff
path: root/plugins/Mwclist/m_fontservice.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-05-18 22:10:43 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-05-18 22:10:43 +0000
commit725f68b6808a8a30778f58223fac75386f082785 (patch)
treeccba410760749d45139e5e78fd5e08f416ade1a0 /plugins/Mwclist/m_fontservice.h
parentf920ef497f3299ae24fe783ce03bdd93b419f764 (diff)
plugins folders renaming
git-svn-id: http://svn.miranda-ng.org/main/trunk@61 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Mwclist/m_fontservice.h')
-rw-r--r--plugins/Mwclist/m_fontservice.h30
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