From 88f2624624ef6f4e9019825fb79893b12cdda056 Mon Sep 17 00:00:00 2001 From: risostk <4726939+risostk@users.noreply.github.com> Date: Wed, 17 Jun 2020 22:00:25 -0500 Subject: [PATCH] use skin color for player list --- src/guiengine/widgets/list_widget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/guiengine/widgets/list_widget.cpp b/src/guiengine/widgets/list_widget.cpp index b7118a77d..da29e861c 100644 --- a/src/guiengine/widgets/list_widget.cpp +++ b/src/guiengine/widgets/list_widget.cpp @@ -315,8 +315,8 @@ void ListWidget::renameCell(const int row_index, const int col_index, list->setCell(row_index, col_index, newName.c_str(), icon); - list->setItemOverrideColor( row_index, EGUI_LBC_TEXT , video::SColor(255,0,0,0) ); - list->setItemOverrideColor( row_index, EGUI_LBC_TEXT_HIGHLIGHT, video::SColor(255,255,255,255) ); + list->setItemOverrideColor( row_index, EGUI_LBC_TEXT , GUIEngine::getSkin()->getColor("text::neutral") ); + list->setItemOverrideColor( row_index, EGUI_LBC_TEXT_HIGHLIGHT, GUIEngine::getSkin()->getColor("text::focused") ); } // -----------------------------------------------------------------------------