From 1fe15c16cc8ca2202532515cec3069f8bbec2db5 Mon Sep 17 00:00:00 2001 From: Kingcom Date: Mon, 28 Dec 2015 17:12:43 +0100 Subject: [PATCH] Use alternating background colors in the register list --- pcsx2/gui/Debugger/CtrlRegisterList.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pcsx2/gui/Debugger/CtrlRegisterList.cpp b/pcsx2/gui/Debugger/CtrlRegisterList.cpp index a99f504933..2991a02a76 100644 --- a/pcsx2/gui/Debugger/CtrlRegisterList.cpp +++ b/pcsx2/gui/Debugger/CtrlRegisterList.cpp @@ -220,9 +220,15 @@ void CtrlRegisterList::render(wxDC& dc) if (currentRows[category] == i) { - dc.SetBrush(wxBrush(wxColor(0xFFFFEFE8))); + dc.SetBrush(wxBrush(wxColor(0xFFFFCFC8))); dc.SetPen(wxPen(wxColor(0xFFFFEFE8))); dc.DrawRectangle(0,y,size.x,rowHeight); + } else if (i % 2) + { + wxColor color = wxColor(237,242,255,255); + dc.SetBrush(wxBrush(color)); + dc.SetPen(wxPen(color)); + dc.DrawRectangle(0, y, size.x, rowHeight); } const char* name = cpu->getRegisterName(category,i);