aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/GUI
diff options
context:
space:
mode:
Diffstat (limited to 'ShiftOS.Frontend/GUI')
-rw-r--r--ShiftOS.Frontend/GUI/ListView.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/ShiftOS.Frontend/GUI/ListView.cs b/ShiftOS.Frontend/GUI/ListView.cs
index b74203d..d4f22a7 100644
--- a/ShiftOS.Frontend/GUI/ListView.cs
+++ b/ShiftOS.Frontend/GUI/ListView.cs
@@ -169,7 +169,10 @@ namespace ShiftOS.Frontend.GUI
if(image != null)
{
int imageDrawX = _itemx + ((textwidth - texwidth) / 2);
- gfx.DrawRectangle(imageDrawX, _itemy, texwidth, texheight, image);
+ Color tint = Color.White;
+ if (_items.IndexOf(item) == _selected)
+ tint = LoadedSkin.ButtonPressedColor.ToMonoColor();
+ gfx.DrawRectangle(imageDrawX, _itemy, texwidth, texheight, image, tint);
}
int texty = _itemy + texheight;