use skin color for player list
This commit is contained in:
parent
65b13cfeb2
commit
88f2624624
@ -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") );
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user