dashdan / freerct

Automatically exported from code.google.com/p/freerct
0 stars 0 forks source link

Remove white rectangles from radiobuttons and checkboxes #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
removing the blue color from GUIEles.png

Original issue reported on code.google.com by vatriani.nn on 5 Oct 2013 at 8:53

Attachments:

GoogleCodeExporter commented 9 years ago
Can you explain what you aimed to do?

The blue colour was colour 0, which is the transparent colour (ie when using 
the sprites, you see actual window there instead of the button).
This makes it possible to make non-rectangular sprites.

The other thing you may have done is to make colour 0 white instead of blue. 
Blue was chosen because it is not used in the visible graphics, so you can 
differentiate between transparent and non-transparent pixels.

Thus, I am quite lost as to why you did what you did.

Original comment by Alberth2...@gmail.com on 5 Oct 2013 at 10:25

GoogleCodeExporter commented 9 years ago
The radio buttons in the landscape window indeed have no transparency. However, 
i think this is down to a bug in the code, rather than the image

Original comment by CharlesP...@googlemail.com on 5 Oct 2013 at 5:24

GoogleCodeExporter commented 9 years ago

Original comment by CharlesP...@googlemail.com on 5 Oct 2013 at 5:24

GoogleCodeExporter commented 9 years ago
okay then im trying to find these bug. I've found it easier to replace the blue 
color (0 Color) with gimp because png and sdl provides an alphachannel.

Original comment by vatriani.nn on 7 Oct 2013 at 2:01

GoogleCodeExporter commented 9 years ago
thats the result after i've marked it transparent not white.

http://s7.directupload.net/file/d/3403/4to3n64s_png.htm

Original comment by vatriani.nn on 7 Oct 2013 at 2:11

GoogleCodeExporter commented 9 years ago
Making large changes to the images at this point is probably not very useful - 
Alberth is making progress on switching to 32bpp, however, i have fixed the 
problem in r893

Thanks for the report! :)

Oh, and i'm rather keen to see what's behind that settings window. is it 
anything other than gui?

Original comment by CharlesP...@googlemail.com on 8 Oct 2013 at 7:57