From b48bccbd866fe815566077bf3c0e6a4666b571de Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 4 May 2020 21:35:20 +0300 Subject: =?UTF-8?q?fixes=20#2332=20(NewStory:=20=D0=B4=D0=BE=D0=B1=D0=B0?= =?UTF-8?q?=D0=B2=D0=B8=D1=82=D1=8C=20=D0=B2=D0=BE=D0=B7=D0=BC=D0=BE=D0=B6?= =?UTF-8?q?=D0=BD=D0=BE=D1=81=D1=82=D1=8C=20=D0=BD=D0=B0=D1=81=D1=82=D1=80?= =?UTF-8?q?=D0=BE=D0=B9=D0=BA=D0=B8=20=D1=86=D0=B2=D0=B5=D1=82=D0=B0,=20?= =?UTF-8?q?=D0=BA=D0=BE=D1=82=D0=BE=D1=80=D1=8B=D0=BC=20=D0=B7=D0=B0=D0=BB?= =?UTF-8?q?=D0=B8=D0=B2=D0=B0=D0=B5=D1=82=D1=81=D1=8F=20=D0=BE=D0=B1=D0=BB?= =?UTF-8?q?=D0=B0=D1=81=D1=82=D1=8C,=20=D0=B3=D0=B4=D0=B5=20=D0=BD=D0=B5?= =?UTF-8?q?=D1=82=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B9?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/NewStory/src/fonts.cpp | 4 +++- plugins/NewStory/src/fonts.h | 1 + plugins/NewStory/src/history_control.cpp | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'plugins/NewStory/src') diff --git a/plugins/NewStory/src/fonts.cpp b/plugins/NewStory/src/fonts.cpp index 4d5558b0bb..b7c4a4af55 100644 --- a/plugins/NewStory/src/fonts.cpp +++ b/plugins/NewStory/src/fonts.cpp @@ -14,7 +14,9 @@ MyColourID g_colorTable[COLOR_COUNT] = { 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 items (text)"), "ColorSelTxt", RGB(0xff, 0xff, 0xff) }, + + { LPGEN("Background"), "Background", RGB(0xff, 0xff, 0xff) }, }; MyFontID g_fontTable[FONT_COUNT] = diff --git a/plugins/NewStory/src/fonts.h b/plugins/NewStory/src/fonts.h index 8eee739a69..36f7c352ef 100644 --- a/plugins/NewStory/src/fonts.h +++ b/plugins/NewStory/src/fonts.h @@ -14,6 +14,7 @@ enum COLOR_STATUS, COLOR_SELECTED, COLOR_SELTEXT, + COLOR_BACK, COLOR_COUNT }; diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index a616e9a6b7..0289b9fce0 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -750,7 +750,7 @@ LRESULT CALLBACK NewstoryListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM SetRect(&rc2, 0, top, width, height); HBRUSH hbr; - hbr = CreateSolidBrush(RGB(0xff, 0xff, 0xff)); + hbr = CreateSolidBrush(g_colorTable[COLOR_BACK].cl); FillRect(hdc, &rc2, hbr); DeleteObject(hbr); } -- cgit v1.2.3