summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/fonts.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-11-25 15:46:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-11-25 15:46:39 +0300
commitf0c30e09912360c393c53431a61df2eb42d61f53 (patch)
tree8f4a5bb57e417edcc92b253d46f56a4ad1f17f77 /plugins/NewStory/src/fonts.h
parentf5e4db1c78db17956920f88cea5e6914ec668e24 (diff)
NewStory:
- fix for fonts & colors' registration - fix for 64-bit WINAPI;
Diffstat (limited to 'plugins/NewStory/src/fonts.h')
-rw-r--r--plugins/NewStory/src/fonts.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/plugins/NewStory/src/fonts.h b/plugins/NewStory/src/fonts.h
index cdb7f426d5..020e61d68a 100644
--- a/plugins/NewStory/src/fonts.h
+++ b/plugins/NewStory/src/fonts.h
@@ -19,8 +19,8 @@ enum
struct MyColourID
{
- COLORREF cl;
- ColourID info;
+ const char *szName, *szSetting;
+ COLORREF defaultValue, cl;
};
extern MyColourID colors[];
@@ -36,17 +36,16 @@ enum
FONT_STATUS,
FONT_INOTHER,
FONT_OUTOTHER,
-// FONT_DEFAULT,
-// FONT_SELECTED,
FONT_COUNT
};
struct MyFontID
{
+ const char *szName, *szSetting;
+
COLORREF cl;
- LOGFONTA *lf;
- HFONT hfnt;
- FontID info;
+ LOGFONTA lf;
+ HFONT hfnt;
};
extern MyFontID fonts[];