summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src')
-rw-r--r--plugins/NewStory/src/fonts.cpp4
-rw-r--r--plugins/NewStory/src/fonts.h1
-rw-r--r--plugins/NewStory/src/history_control.cpp2
3 files changed, 5 insertions, 2 deletions
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);
}