The International Simutrans Forum

 

Author Topic: Contrast in counter for convoy size in depots  (Read 93 times)

0 Members and 1 Guest are viewing this topic.

Offline Yona-TYT

  • Devotee
  • *
  • Posts: 1451
    • Simutrans-BLOG
  • Languages: ES
Contrast in counter for convoy size in depots
« on: May 19, 2020, 01:53:58 AM »

It occurs to me to use the player color here, but I don't know if it's the best solution:
Code: [Select]
lb_convoi_number.set_color(color_idx_to_rgb(depot->get_owner()->get_player_color1()+env_t::gui_player_color_dark));
There is also the counter for stored (stacked) vehicles, which is a type of white font with black highlights, but I have no idea how to use this type of font I'm afraid.
In the image you see the example: