News:

SimuTranslator
Make Simutrans speak your language.

PR#565 - Search box has a placeholder

Started by Ranran, August 08, 2022, 01:42:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ranran

This patch just puts the text there, but it might suggest what the icon means, or make it clear that it's a search box even if the icon isn't there.
This will modernize the UI design just a bit. There was also an idea to combine the symbol with the box, but it was ruled out because there are cases where the symbol is larger than the box size, and in addition the difference from the standard can be large.


The placeholder text color can be specified in the theme.
gui_color_text_placeholder  = #CCCCCCPlease update the theme as it has been edited in some themes.


I believe this can be backported to the standard. (IIRC, SYSCOL_TEXT_PLACEHOLDER/gui_color_text_placeholder is an extended specific parameter.)
pak.256やpak.nipponのような複数タイル市内建築物があるpakセットはextendedではちゃんと遊べません。それどころかextendedの追い越し機能はバグまみれで修正が難しくなっており、都市機能および道路機能というゲーム土台部分を壊し、開発作業&コードメンテナンスの足かせになっている。それは最終的にプレイヤーの損失に他ならない。その原因は全て1人の日本人=ひめし@himeshi_hob(THleaderH)によるもの。周囲のアドバイスをガン無視して結局実装されてしまった。彼は問題を認識しつつ5年以上放置して今なおOTRPの開発を続けている。あまりにも身勝手で無責任。日本の人達はそういう事実にちゃんと目を向けるべき(´・ω・`)

jamespetts

Excellent, thank you: now incorporated.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.