mirror of https://github.com/PCSX2/pcsx2.git
Use alternating background colors in the register list
This commit is contained in:
parent
11bcb328f8
commit
1fe15c16cc
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue