rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Comrade Elisey on August 12, 2007, 07:34:38 AM

Title: How to add ICONS?
Post by: Comrade Elisey on August 12, 2007, 07:34:38 AM
i try add icons from .ico, .png, .bmp, .zip, .rar, .mim, .dll, .exe files, but result was "0 icons added"  :(
how to add external icons into HFS? ???

p.s.: i run HFS on windows98se!
Title: Re: How to add ICONS?
Post by: PolarFox on August 12, 2007, 02:51:01 PM
Icons adds in dynamical cache, therefore - select your object and change icon exactly him - i do like this :)
But two problems - antialiasing not supported (get true color icons), and 16*16 px optimal size of icon (bigger icons become stretched - horrible view :) )

Try create icon like 256 colours and 16*16 px
Title: Re: How to add ICONS?
Post by: Comrade Elisey on August 12, 2007, 08:24:13 PM
omg! i try add 32x32x32b icons! its a pity that only 16x16x8b...
maybe rejetto fix that? ;)
Title: Re: How to add ICONS?
Post by: Comrade Elisey on August 13, 2007, 12:05:11 AM
now i try add icons from 16x16x8bit png, bmp, ico & dll files, but the result still unhappy...  :-\
how add the ICONS???
and what file use as a donor?
???
Title: Re: How to add ICONS?
Post by: rejetto on August 13, 2007, 01:02:07 AM
bigger icons are already in to-do-list

the icon support is not perfect, i know, if any delphi programmer can contribute, the function is getImageIndexForFile inside main.pas

i try add icons from .ico, .png, .bmp, .zip, .rar, .mim, .dll, .exe files, but result was "0 icons added"  :(

the number is for "new" icons. so if an icon is already available, it will say 0.

Quote
p.s.: i run HFS on windows98se!

i cannot test with win98, sorry.

and what file use as a donor?

donor?
Title: Re: How to add ICONS?
Post by: rejetto on August 13, 2007, 01:21:45 AM
I FORGOT!
there's a bug in version 2.2a with icons and Windows98.
Maybe it is already fixed, you may try this unofficial build until 2.2b is out.
www.dovedove.it/hfs/hfs125.exe
Title: Re: How to add ICONS?
Post by: Comrade Elisey on August 13, 2007, 02:43:17 AM
thank u very much rejetto!  :D
but bug with templates is stay in, in win98 i can't load any big template such as terayon...  :'(
Title: Re: How to add ICONS?
Post by: rejetto on August 13, 2007, 09:50:51 PM
thank u very much rejetto!  :D

:) so... is that bug fixed or not?

Quote
but bug with templates is stay in, in win98 i can't load any big template such as terayon...  :'(

discuss it only in the other specific topic you created
Title: Re: How to add ICONS?
Post by: Comrade Elisey on August 14, 2007, 01:13:34 AM
bug with icons almost fixed.
now i can add icons 16*16*8bit, but i want add 32*32*32bit
Title: Re: How to add ICONS?
Post by: TSG on August 14, 2007, 11:34:37 AM
anything bigger than 16 does not work, its in the to-do list.