summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/fonts.h
diff options
context:
space:
mode:
authorKirill Volinsky <Mataes2007@gmail.com>2018-09-28 16:41:45 +0300
committerKirill Volinsky <Mataes2007@gmail.com>2018-09-28 16:48:50 +0300
commit20c834d650d17bd21ea56bcd8fea6f60b2f9e2a2 (patch)
tree229984c9b0a938157585897bd24b90046c88ccd0 /plugins/NewStory/src/fonts.h
parentb2b42595bb3161c968168fca052a10fa189ffbb0 (diff)
NewStory: don't work, not compiled
Diffstat (limited to 'plugins/NewStory/src/fonts.h')
-rw-r--r--plugins/NewStory/src/fonts.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/plugins/NewStory/src/fonts.h b/plugins/NewStory/src/fonts.h
new file mode 100644
index 0000000000..cdb7f426d5
--- /dev/null
+++ b/plugins/NewStory/src/fonts.h
@@ -0,0 +1,57 @@
+#ifndef __fonts_h__
+#define __fonts_h__
+
+enum
+{
+ COLOR_INMSG,
+ COLOR_OUTMSG,
+ COLOR_INFILE,
+ COLOR_OUTFILE,
+ COLOR_INURL,
+ COLOR_OUTURL,
+ COLOR_STATUS,
+ COLOR_INOTHER,
+ COLOR_OUTOTHER,
+ COLOR_SELECTED,
+ COLOR_SELTEXT,
+ COLOR_COUNT
+};
+
+struct MyColourID
+{
+ COLORREF cl;
+ ColourID info;
+};
+
+extern MyColourID colors[];
+
+enum
+{
+ FONT_INMSG,
+ FONT_OUTMSG,
+ FONT_INFILE,
+ FONT_OUTFILE,
+ FONT_INURL,
+ FONT_OUTURL,
+ FONT_STATUS,
+ FONT_INOTHER,
+ FONT_OUTOTHER,
+// FONT_DEFAULT,
+// FONT_SELECTED,
+ FONT_COUNT
+};
+
+struct MyFontID
+{
+ COLORREF cl;
+ LOGFONTA *lf;
+ HFONT hfnt;
+ FontID info;
+};
+
+extern MyFontID fonts[];
+
+void InitFonts();
+void DestroyFonts();
+
+#endif // __fonts_h__ \ No newline at end of file