diff options
author | George Hazan <george.hazan@gmail.com> | 2023-08-23 17:17:02 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-08-23 17:17:02 +0300 |
commit | 96f4d0b60a1b019a18e7ebcc392b21628c77f602 (patch) | |
tree | 5bfc958e5e9227da627d17953557f7944e768e68 /plugins/NewStory/src/history_control.cpp | |
parent | 1e969ff37f7e2513eda21d9afcaaa515ce1eef05 (diff) |
fixes #3655 (NewStory: добавить настройку цвета хайлайтов)
Diffstat (limited to 'plugins/NewStory/src/history_control.cpp')
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index f2c2754a36..34dd45fe0d 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -445,7 +445,12 @@ int NewstoryListData::PaintItem(HDC hdc, int index, int top, int width) item->getFontColor(fontid, colorid); clText = g_fontTable[fontid].cl; - if (item->m_bSelected) { + if (item->m_bHighlighted) { + clText = g_fontTable[FONT_HIGHLIGHT].cl; + clBack = g_colorTable[COLOR_HIGHLIGHT_BACK].cl; + clLine = g_colorTable[COLOR_FRAME].cl; + } + else if (item->m_bSelected) { clText = g_colorTable[COLOR_SELTEXT].cl; clBack = g_colorTable[COLOR_SELBACK].cl; clLine = g_colorTable[COLOR_SELFRAME].cl; |