The International Simutrans Forum

 

Author Topic: How about that one of the desginer make a modeSimutrans GUI theme like the forum  (Read 1423 times)

0 Members and 1 Guest are viewing this topic.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9284
  • Languages: De,EN,JP
How about somebody creates a GUI theme for SImutrans which follows the forum design. That would be great. (Best in a variant for normal font and one for a 19 pt font ... )

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2836
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
You mean like the theme I created that James then adapted for Extended? ;)

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9284
  • Languages: De,EN,JP
Yes and no. I mean with white backgrounds and blue buttons with white test. Like the forum now.

Offline Frank

  • Inactive/Retired
  • *
  • Posts: 1431
  • Languages: DE
little test

themes_bluewhite.zip

« Last Edit: May 24, 2018, 08:59:07 AM by Frank »

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9284
  • Languages: De,EN,JP
On my monitor quite brigth blue, more like turquoise, at least compared to this forum. But otherwise it cathces somewhat the "emptyness" of the current forum theme.

Offline Frank

  • Inactive/Retired
  • *
  • Posts: 1431
  • Languages: DE
themes_bluewhite2.zip
« Last Edit: May 20, 2018, 03:45:45 PM by Frank »

Offline Frank

  • Inactive/Retired
  • *
  • Posts: 1431
  • Languages: DE
without check and poss buttons change

To change scrollbars with?

themes_bluewhite3.zip

« Last Edit: May 24, 2018, 08:58:38 AM by Frank »

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1132
    • Simutrans-BLOG
  • Languages: ES

I like these buttons, I think they look good in blue.

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1132
    • Simutrans-BLOG
  • Languages: ES
without check and poss buttons change

To change scrollbars with?

themes_bluewhite3.zip



And why do not you change the color of the graphics box?.  ;) edit.
and the status bar.

 

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1132
    • Simutrans-BLOG
  • Languages: ES
Changing the ugly "loading" bar is something I've always wanted to see, but I do not think this is possible (yet).  ;)

Offline Frank

  • Inactive/Retired
  • *
  • Posts: 1431
  • Languages: DE
And why do not you change the color of the graphics box?.  ;) edit.
...

The color of the graphics box is difficult to change.

It depends on the contrast to the lines and not every color is displayed correctly.

The color is set in theme tab file.
Code: [Select]
..
# Background color of charts.
gui_color_chart_background = #B6B0CC
...

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2836
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Yes and no. I mean with white backgrounds and blue buttons with white test. Like the forum now.
Ok, I'll work on it.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2836
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Here's the new theme.


Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1132
    • Simutrans-BLOG
  • Languages: ES

Very nice theme, but I see that the alignment problem in some lists continues to make its own.   :-[

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2836
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Those are problems with the Simutrans code, no theme will fix it. I have a branch where I'm fixing those but it's a lot of dialogues and it has been a while since I last updated the code.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9284
  • Languages: De,EN,JP
Such problems will only increase with scaling font size. (But even MS WIndows has them when scaling fonts ...)

One probably should use another color for unused than yellow. I think this is configurable already.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2836
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
No, that colour is still fixed. That's why I want to work on all gui dialogues, so I can check all fixed colours and change them with meaningful parameters.
Code: [Select]
133 PIXVAL color = value >= 0 ? (value > 0 ? MONEY_PLUS : color_idx_to_rgb(COL_YELLOW)) : MONEY_MINUS;

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9284
  • Languages: De,EN,JP
r8451 will have the three new entires gui_color_text_plus, gui_color_text_minus, gui_color_text_unused to customise this.

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1132
    • Simutrans-BLOG
  • Languages: ES
Changing the ugly "loading" bar is something I've always wanted to see, but I do not think this is possible (yet).  ;)
@prissi

I would like to change the design of the load bar, or at least the color.   8)

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1132
    • Simutrans-BLOG
  • Languages: ES
A detail with the contrast in the schedule window.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2836
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Fixed in r8452

The background colour of the selected line was the player colour, making it virtually impossible to fix this issue without setting gui_color_text_highlight to either black or white. Now it follows the same colours as a normal list would.
« Last Edit: May 22, 2018, 01:45:14 PM by An_dz »

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1132
    • Simutrans-BLOG
  • Languages: ES
This should be the new theme by default, do not you think? .  8)


There is a detail with the constraste here also.  ;)

 
« Last Edit: May 24, 2018, 01:25:53 AM by Yona-TYT »

Offline Leartin

  • Devotee
  • *
  • Posts: 1064
  • PAK-DEV P192C
  • Languages: DE, EN
It's nice, but once again the orange title bars stuck out like sore thumbs. Should really be blue like the buttons, or maybe even the same color as the backgrounds.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2836
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
Wait a minute, have I not added support for changing that? Oh, yes, totally forgot to define that.

Here's an updated theme also adding the support for the money colours.

Offline Frank

  • Inactive/Retired
  • *
  • Posts: 1431
  • Languages: DE
update and some fixes

delete file, new version here
« Last Edit: June 18, 2018, 06:39:07 PM by Frank »

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1132
    • Simutrans-BLOG
  • Languages: ES
A detail with the contrast and alignment of the button.

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1132
    • Simutrans-BLOG
  • Languages: ES
When you change the color of the title bar "default_window_title_color", then change the theme no longer returns to the original orange color.  ???

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2836
  • D'oh
    • by An_dz
  • Languages: pt, en, it, (de)
I'm having trouble understanding how the calls to get_color works to change back to the default. My only guess is that it's not returning to orange when selecting another theme because this colour is saved in the settings, but I can't understand how the other colours work. I'll have to try to debug it.

Offline Frank

  • Inactive/Retired
  • *
  • Posts: 1431
  • Languages: DE
little changes

Offline Yona-TYT ve

  • Devotee
  • *
  • Posts: 1132
    • Simutrans-BLOG
  • Languages: ES
I would also like to change the color of the mailbox window in server mode.