Icons

General discussion about Visopsys. We'll create more specific forums if the number of posts justifies that.
Post Reply
Liss
Posts: 39
Joined: Wed May 02, 2012 1:03 pm

Icons

Post by Liss » Sun Mar 09, 2014 1:59 pm

Here i`m again :mrgreen: I see implemented in the form of icons ico files and bmp. Yet I see that is not yet supported ico transparency channel , and numbering icons .
Example . Yesterday decided to make a package with icons BeOS, and turned to my regret that I can not see the transparency of these icons, and uses the small icon of a possible 8 sizes embedded in the file ico.
If this functionality is implemented we will be able to use different icons and get rid of the icons in bmp. And their size will be determined not by the size of the picture and even what the picture to be displayed at a given scale . A scale will set by GUI parameter.


Sorry muddled explanation.

User avatar
andymc
Posts: 479
Joined: Tue Nov 16, 2010 7:20 pm

Re: Icons

Post by andymc » Tue Mar 11, 2014 1:03 am

Hi Liss,

Yes, there's some basic support for the .ico format, but it's probably not sophisticated enough to handle multiple icons in a file.

At the moment, I use the pure green colour (00FF00) as the transparency colour. Again, not very sophisticated. It was a long time ago. If you feel like improving that code, I'm sure we'd all appreciate it! ;-)

Liss
Posts: 39
Joined: Wed May 02, 2012 1:03 pm

Re: Icons

Post by Liss » Tue Mar 11, 2014 5:53 am

Andy? there's one little problem. I do not know how to code. At all.
How about PNG support?

User avatar
ap0r
Posts: 103
Joined: Tue Feb 14, 2012 12:40 am

Re: Icons

Post by ap0r » Tue Mar 11, 2014 1:23 pm

Free advice: Start learning C. You'll need it. It's hard to learn, but it's used for 100% of the coding in visopsys.
Image
Image

Liss
Posts: 39
Joined: Wed May 02, 2012 1:03 pm

Re: Icons

Post by Liss » Sun Mar 16, 2014 1:50 am

ap0r - i`m don`t understand math at school. I don`t have analythic abilities. In result i don`t understand Programm languages. i had start learn pascal, java, VB. All that i can, simple progmas on DarkBasic and Blitz3D. If community can make Blitz3D compiler, (AFAIK it source close) i`ll happy to write games for Visopsys :)

User avatar
ap0r
Posts: 103
Joined: Tue Feb 14, 2012 12:40 am

Re: Icons

Post by ap0r » Sun Mar 16, 2014 5:32 pm

Liss wrote:ap0r - i`m don`t understand math at school. I don`t have analythic abilities. In result i don`t understand Programm languages. i had start learn pascal, java, VB. All that i can, simple progmas on DarkBasic and Blitz3D. If community can make Blitz3D compiler, (AFAIK it source close) i`ll happy to write games for Visopsys :)
Well... if it's closed source then it will probably be very hard to do :(

On the other hand, things will surelly start rolling faster when someone manages to port a c compiler into Visopsys! I looked into doing it myself and it is waaaaaaay beyond my current level of expertise!
Image
Image

Post Reply