From 895fd7b263537372af704ec94bf5801642f7c70f Mon Sep 17 00:00:00 2001 From: stephena Date: Tue, 12 Mar 2013 17:30:42 +0000 Subject: [PATCH] Changed PC indicator colour on the advice of someone who is partly colour-blind; the old (light) colour was very hard to see. Actually, I agree with that assessment, even though I'm not colour-blind myself. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2668 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- Changes.txt | 4 ++++ src/debugger/gui/RomListWidget.cxx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Changes.txt b/Changes.txt index 60de0bb22..e3fc0d768 100644 --- a/Changes.txt +++ b/Changes.txt @@ -37,6 +37,10 @@ swapped by default, which allows one and two-player games to work correctly. + * Changed colour of the 'current PC indicator' in the debugger to + match the one used for line selection. This makes it easier to + see for those with problems seeing lighter colours. + -Have fun! diff --git a/src/debugger/gui/RomListWidget.cxx b/src/debugger/gui/RomListWidget.cxx index 54ba1dab4..a8002a542 100644 --- a/src/debugger/gui/RomListWidget.cxx +++ b/src/debugger/gui/RomListWidget.cxx @@ -465,7 +465,7 @@ void RomListWidget::drawWidget(bool hilite) // Draw highlighted item in a frame if (_highlightedItem == pos) - s.frameRect(_x + l.x() - 3, ypos - 1, _w - l.x(), _fontHeight, kDbgColorHi); + s.frameRect(_x + l.x() - 3, ypos - 1, _w - l.x(), _fontHeight, kTextColorHi); // Draw the selected item inverted, on a highlighted background. if (_selectedItem == pos && _hasFocus)