News:

Simutrans Forum Archive
A complete record of the old Simutrans Forum.

Number_input does not change character color by toggling enable/disable

Started by Ranran(retired), November 09, 2022, 10:35:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ranran(retired)

gui_numberinput_t keeps the text color inside the input between enable and disable. The text color is finally changed when the input is manipulated. This creates a strange situation where only the button changes and the text color does not change when enable/disbale is toggled, causing confusion.

https://github.com/Ranran-the-JuicyPork/simutrans-exp/commit/9ee57f10a79d96df9a5d67772642d00e94816ab1
The solution I came up with causes the text color change by auto-passing the current value again when toggling enable/disable.
ひめしという日本人が開発者達の助言を無視して自分好みの機能をextendedに"強引に"実装し、
コードをぐちゃぐちゃにしてメンテナンスを困難にし(とりわけ道路と建物関連)、
挙句にバグを大量に埋め込み、それを知らんぷりして放置し
(隠居するなどと言って)別のところに逃げ隠れて自分のフォーク(OTRP)は開発を続けている
その事実と彼の無責任さに日本人プレイヤーは目を向けるべきである。らんらんはそれでやる気をなくした(´・ω・`)

prissi