The International Simutrans Forum

 

Author Topic: The color of the top border of the banner is fixed  (Read 261 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranran

  • Devotee
  • *
  • Posts: 1467
  • Languages: ja
The color of the top border of the banner is fixed
« on: March 01, 2021, 02:39:32 PM »
The color of the top border of the banner is fixed in light gray(RGB=222,218,222).

This part is this color(RGB=222,218,222) in all themes. This is incorrect for all themes, but it's not very noticeable at the moment.
However, it becomes noticeable with the following theme settings.



I suspect it may be because this window doesn't have a title bar.

Offline Ranran

  • Devotee
  • *
  • Posts: 1467
  • Languages: ja
Re: The color of the top border of the banner is fixed
« Reply #1 on: March 01, 2021, 03:29:10 PM »
Code: [Select]
// add white line on top since this frame has no title bar.
display_fillbox_wh_clip_rgb(pos.x, pos.y, size.w, 1, color_idx_to_rgb(COL_GREY6), false);
This behavior seems to be intended. But I don't think this behavior is correct.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4857
  • Languages: EN, DE, AT
Re: The color of the top border of the banner is fixed
« Reply #2 on: March 05, 2021, 06:39:55 PM »
should be fixed in r9673