diff options
Diffstat (limited to 'plugins/NewStory')
-rw-r--r-- | plugins/NewStory/src/fonts.cpp | 6 | ||||
-rw-r--r-- | plugins/NewStory/src/fonts.h | 14 | ||||
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 6 |
3 files changed, 12 insertions, 14 deletions
diff --git a/plugins/NewStory/src/fonts.cpp b/plugins/NewStory/src/fonts.cpp index b7c4a4af55..122a6de30b 100644 --- a/plugins/NewStory/src/fonts.cpp +++ b/plugins/NewStory/src/fonts.cpp @@ -13,10 +13,12 @@ MyColourID g_colorTable[COLOR_COUNT] = { LPGEN("Other incoming events"), "ColorIn", RGB(0xff, 0xff, 0xff) }, { LPGEN("Other outgoing events"), "ColorOut", RGB(0xff, 0xff, 0xff) }, - { LPGEN("Selected items"), "ColorSel", RGB(0x60, 0x60, 0x60) }, - { LPGEN("Selected items (text)"), "ColorSelTxt", RGB(0xff, 0xff, 0xff) }, + { LPGEN("Selected item's text"), "ColorSelTxt", RGB(0xff, 0xff, 0xff) }, + { LPGEN("Selected item's back"), "ColorSel", GetSysColor(COLOR_HIGHLIGHT) }, + { LPGEN("Selected item's frame"), "ColorSelFrm", GetSysColor(COLOR_HIGHLIGHTTEXT) }, { LPGEN("Background"), "Background", RGB(0xff, 0xff, 0xff) }, + { LPGEN("Separator"), "Separator", RGB(0x60, 0x60, 0x60) }, }; MyFontID g_fontTable[FONT_COUNT] = diff --git a/plugins/NewStory/src/fonts.h b/plugins/NewStory/src/fonts.h index 36f7c352ef..6707639d16 100644 --- a/plugins/NewStory/src/fonts.h +++ b/plugins/NewStory/src/fonts.h @@ -5,16 +5,12 @@ enum { - COLOR_INMSG, - COLOR_OUTMSG, - COLOR_INFILE, - COLOR_OUTFILE, - COLOR_INOTHER, - COLOR_OUTOTHER, + COLOR_INMSG, COLOR_OUTMSG, + COLOR_INFILE, COLOR_OUTFILE, COLOR_STATUS, - COLOR_SELECTED, - COLOR_SELTEXT, - COLOR_BACK, + COLOR_INOTHER, COLOR_OUTOTHER, + COLOR_SELTEXT, COLOR_SELBACK, COLOR_SELFRAME, + COLOR_BACK, COLOR_FRAME, COLOR_COUNT }; diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 0289b9fce0..e91671c1f8 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -366,12 +366,12 @@ struct NewstoryListData : public MZeroedObject if (item->bSelected) { MTextSendMessage(0, item->data, EM_SETSEL, 0, -1); clText = g_colorTable[COLOR_SELTEXT].cl; - clLine = GetSysColor(COLOR_HIGHLIGHTTEXT); - clBack = GetSysColor(COLOR_HIGHLIGHT); + clBack = g_colorTable[COLOR_SELBACK].cl; + clLine = g_colorTable[COLOR_SELFRAME].cl; } else { MTextSendMessage(0, item->data, EM_SETSEL, 0, 0); - clLine = g_colorTable[COLOR_SELECTED].cl; + clLine = g_colorTable[COLOR_FRAME].cl; clBack = g_colorTable[colorid].cl; } |