The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Yona-TYT on October 20, 2022, 08:44:34 PM

Title: [patch] New parameter to set transparency color in factories boost icons
Post by: Yona-TYT on October 20, 2022, 08:44:34 PM
Patch: set-transparency-color-icon.patch 

# Transparency Color of boost icons (mail, energia, pasajeros) in factories
gui_color_image_transparency = #ffffff

Theme-test.png
Title: Re: [patch] New parameter to set transparency color in factories boost icons
Post by: prissi on October 21, 2022, 05:48:02 AM
Why transparent at all? Below they are not transparent.
Title: Re: [patch] New parameter to set transparency color in factories boost icons
Post by: Dwachs on October 21, 2022, 09:25:31 AM
If the boost is not active then the image is shown with some transparency. This patch helps with some themes. Will look into it later. (Patch seems to look fine)
Title: Re: [patch] New parameter to set transparency color in factories boost icons
Post by: Dwachs on October 22, 2022, 11:30:28 AM
in r10782. Thanks!
Title: Re: [patch] New parameter to set transparency color in factories boost icons
Post by: Yona-TYT on October 22, 2022, 03:07:08 PM
Quote from: Dwachs on October 22, 2022, 11:30:28 AMin r10782. Thanks!
I forgot to add the parameter to the theme high contrast. :P
Title: Re: [patch] New parameter to set transparency color in factories boost icons
Post by: Dwachs on October 22, 2022, 05:33:16 PM
those are already updated in the svn.
Title: Re: [patch] New parameter to set transparency color in factories boost icons
Post by: Yona-TYT on October 22, 2022, 09:05:05 PM
Quote from: Dwachs on October 22, 2022, 05:33:16 PMthose are already updated in the svn.
In the "themes.src" directory yes, but not in the "simutrans/themes/" directory. You always have to aggregate the changes in both places.
Title: Re: [patch] New parameter to set transparency color in factories boost icons
Post by: Dwachs on October 23, 2022, 12:06:02 PM
ok, done.