The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Yona-TYT on October 25, 2015, 04:02:27 AM

Title: Some texts with incorrect color
Post by: Yona-TYT on October 25, 2015, 04:02:27 AM



1- Filter players does not change the text color.
(https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-xpf1/v/t1.0-9/12039777_461435987373080_8552245204273492798_n.jpg?oh=1d778eb7b3432bba4916bd9664d3b3b7&oe=56C38757&__gda__=1455873341_2b9d09f565c4d6473659a00e7e357a64)


2- "Scenario Complete" incorrect color.
(https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-xfa1/t31.0-8/12182786_461437247372954_9050293304500642454_o.jpg)


3- it possible to change the color of this text?.
(https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-xpf1/v/t1.0-9/11058058_461436004039745_2990074280158017873_n.jpg?oh=2df34e85ee749a870fb0f1dcb5d1f139&oe=56C3F976&__gda__=1451685916_65df7c1e9a6613d48979cb6bc381d561)
Title: Re: Some texts with incorrect color
Post by: DrSuperGood on October 25, 2015, 06:06:20 AM
Please state what build you are using. There has been some UI modifications in the nightly so those could cause any recent problems.

Also what steps to recreate the bug would be useful.
Title: Re: Some texts with incorrect color
Post by: prissi on October 25, 2015, 10:03:12 AM
THank you I will fix them tonight.
Title: Re: Some texts with incorrect color
Post by: Yona-TYT on October 25, 2015, 12:57:06 PM

I know this has nothing to do with the color of the text.
It is a problem of alignment of the text when selecting a  stop/waypoint at Schedule.
Reminds me of this problem http://forum.simutrans.com/index.php?topic=13243.msg131331#msg131331
(https://scontent-iad3-1.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/11116542_461513997365279_7656816456484104503_n.jpg?oh=038be2ea5b3e7797cc50b0a50febd1be&oe=56D34509)
Title: Re: Some texts with incorrect color
Post by: Dwachs on October 25, 2015, 05:59:50 PM
Quote from: Yona-TYT on October 25, 2015, 12:57:06 PM
I know this has nothing to do with the color of the text.
It is a problem of alignment of the text when selecting a  stop/waypoint at Schedule.
Reminds me of this problem http://forum.simutrans.com/index.php?topic=13243.msg131331#msg131331

I do not understand, what exactly is the problem. Are the stop positions not correctly centered on the screen? Clicking the goto button in the schedule centers the view on the position in the schedule. Centering the view on a stop will center on its base position (the tile containing the sign with the stop's name).
Title: Re: Some texts with incorrect color
Post by: Dwachs on October 25, 2015, 06:11:21 PM
1) and 2) of your list above should be fixed in r7625
Title: Re: Some texts with incorrect color
Post by: prissi on October 25, 2015, 09:57:42 PM
3) is a disabled text, since there is no load defined. It will now (r7627) show "SYSCOL_BUTTON_TEXT_DISABLED"
Title: Re: Some texts with incorrect color
Post by: Yona-TYT on October 25, 2015, 11:27:11 PM

Quote from: Dwachs on October 25, 2015, 05:59:50 PM
I do not understand, what exactly is the problem. Are the stop positions not correctly centered on the screen? Clicking the goto button in the schedule centers the view on the position in the schedule. Centering the view on a stop will center on its base position (the tile containing the sign with the stop's name).
I refer to the list, basically to try make click in stop #1, but for some reason it selects the stop #2.
This only happens using the highcontrast-theme. (http://www.mediafire.com/download/7vmkwzrl5byv8gr/highcontrast-theme.zip)


Edit



Another text that refuses to change color.  :o

(https://www.mediafire.com/convkey/a9e0/8na7e0bry5vkm0m6g.jpg)


What it would be more sensible to change the numbers of  color gray with "SYSCOL_BUTTON_TEXT_DISABLED".
White color numbers with "gui_color_text_highlight"
Title: Re: Some texts with incorrect color
Post by: prissi on October 26, 2015, 09:54:10 AM
These text are drawn in SYSCOL_CHART_LINES_ODD and SYSCOL_CHART_LINES_EVEN
Title: Re: Some texts with incorrect color
Post by: Yona-TYT on October 27, 2015, 12:25:29 AM
Quote from: prissi on October 26, 2015, 09:54:10 AM
These text are drawn in SYSCOL_CHART_LINES_ODD and SYSCOL_CHART_LINES_EVEN
I think that did not exist the last time I checked in the wiki or perhaps I did not notice of her presence.  :o





It seems that there are no more of those texts rebels ....
Thanks Prissi !!.  :thumbsup:

Only is pending the problem with "text alignment" in the list of routes.


It would be nice someday also slightly improve the alignment of buttons and also some texts. But I guess it very difficult to achieve. Maybe someday. ;)
Title: Re: Some texts with incorrect color
Post by: Dwachs on October 27, 2015, 08:26:26 PM
Quote from: Yona-TYT on October 27, 2015, 12:25:29 AM
Only is pending the problem with "text alignment" in the list of routes.
should be fixed in r7633