News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

selected theme

Started by Andarix, November 22, 2021, 12:17:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andarix

Is it possible that the active theme is marked in the selection list for thmes?

For the fonts, the button for the selected font is depressed. This is not the case with the themes.

Ranran(retired)

#1
The code seems to be intended for that, but it doesn't seem to work right now. That is a bug.

EDIT: It compares the path of the theme file with the text in the button(theme name), so they will never match.
i.button->pressed = !strcmp( env_t::default_theme.c_str(), i.label->get_text_pointer() ); // mark current theme
ひめしという日本人が開発者達の助言を無視して自分好みの機能をextendedに"強引に"実装し、
コードをぐちゃぐちゃにしてメンテナンスを困難にし(とりわけ道路と建物関連)、
挙句にバグを大量に埋め込み、それを知らんぷりして放置し(隠居するなどと言って)別のところに逃げ隠れて自分のフォーク(OTRP)は開発を続けている
その事実と彼の無責任さに日本人プレイヤーは目を向けるべき。らんらんはそれでやる気をなくした(´・ω・`)
他人の振り見て我が振り直せ。ひめしのようにならないために、らんらんが生み出したバグや問題は自分で修正しなくちゃね(´・ω・`)

prissi


Ranran(retired)

Oh, I'm sorry I was lazy. I wasn't expecting it to be such an easy fix, and I was hoping you would fix it. (´・ω・`)  Anyways, thank you.
ひめしという日本人が開発者達の助言を無視して自分好みの機能をextendedに"強引に"実装し、
コードをぐちゃぐちゃにしてメンテナンスを困難にし(とりわけ道路と建物関連)、
挙句にバグを大量に埋め込み、それを知らんぷりして放置し(隠居するなどと言って)別のところに逃げ隠れて自分のフォーク(OTRP)は開発を続けている
その事実と彼の無責任さに日本人プレイヤーは目を向けるべき。らんらんはそれでやる気をなくした(´・ω・`)
他人の振り見て我が振り直せ。ひめしのようにならないために、らんらんが生み出したバグや問題は自分で修正しなくちゃね(´・ω・`)

Yona-TYT

Quote from: Ranran on November 24, 2021, 01:39:47 AMOh, I'm sorry I was lazy. I wasn't expecting it to be such an easy fix, and I was hoping you would fix it. (´・ω・`)  Anyways, thank you.
;D ;D ;D ;D ;D :P