Codechange: Use Rect WithX/WithY in some places.
This commit is contained in:
committed by
Peter Nelson
parent
6d3f39609f
commit
31eec7106b
@@ -527,9 +527,9 @@ public:
|
||||
const FiosItem *item = *it;
|
||||
|
||||
if (item == this->selected) {
|
||||
GfxFillRect(br.left, tr.top, br.right, tr.bottom, PC_DARK_BLUE);
|
||||
GfxFillRect(br.WithY(tr), PC_DARK_BLUE);
|
||||
} else if (item == this->highlighted) {
|
||||
GfxFillRect(br.left, tr.top, br.right, tr.bottom, PC_VERY_DARK_BLUE);
|
||||
GfxFillRect(br.WithY(tr), PC_VERY_DARK_BLUE);
|
||||
}
|
||||
DrawString(tr, item->title.GetDecodedString(), _fios_colours[item->type.detailed]);
|
||||
tr = tr.Translate(0, this->resize.step_height);
|
||||
|
||||
Reference in New Issue
Block a user