Skip to content

Commit

Permalink
Change item list highlight color to white
Browse files Browse the repository at this point in the history
  • Loading branch information
eltank committed Sep 7, 2021
1 parent 0ab1dd9 commit 2f686d8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7166,15 +7166,15 @@ game::vmenu_ret game::list_items( const std::vector<map_item_stack> &item_list )
sText += string_format( "[%d]", iter->vIG[iThisPage].count );
}

nc_color col = c_light_green;
if( iNum != iActive ) {
if( high ) {
col = c_yellow;
} else if( low ) {
col = c_red;
} else {
col = iter->example->color_in_inventory();
}
nc_color col = c_light_gray;
if( iNum == iActive ) {
col = hilite( c_white );
} else if( high ) {
col = c_yellow;
} else if( low ) {
col = c_red;
} else {
col = iter->example->color_in_inventory();
}
trim_and_print( w_items, point( 1, iNum - iStartPos ), width - 9, col, sText );
const int numw = iItemNum > 9 ? 2 : 1;
Expand Down

0 comments on commit 2f686d8

Please sign in to comment.