use skin color for player list

This commit is contained in:
risostk 2020-06-17 22:00:25 -05:00
parent 65b13cfeb2
commit 88f2624624

View File

@ -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") );
}
// -----------------------------------------------------------------------------