The International Simutrans Forum

Development => Patches & Projects => Topic started by: Andarix on February 19, 2024, 06:12:47 PM

Title: traffic light info window
Post by: Andarix on February 19, 2024, 06:12:47 PM
Minor changes to this window that make it a little easier to understand.

The window width should be slightly larger.
I don't know why the Setting input field is a little smaller than the others.

left new, right old

traffic_light_patch.png
Title: Re: traffic light info window
Post by: RESTRICTED ACCOUNT on February 19, 2024, 09:28:49 PM
(https://i.imgur.com/9BmXejv.png)

Standard may be able to refer to extended code.
https://github.com/jamespetts/simutrans-extended/blob/master/gui/trafficlight_info.cc

Focus on the relevant parts, I suppose there is probably not much difference.
However, there is a difference between the expressions Yellow and Amber.
Title: Re: traffic light info window
Post by: Andarix on February 19, 2024, 11:54:49 PM
other variant

traffic_light_patch_2.png
Title: Re: traffic light info window
Post by: Andarix on February 20, 2024, 06:36:41 AM
change object name from roadsign to object name