Frederik wrote:
Alvajoy123 wrote:
Implement displaying program icons (if there is any) and display the size of each program. uhh,
Also changeable folder icons.
I think those would be some useful/fun features!!
Thank you for your ideas; for the folder icons, how would you mark whether a folder is packed or unpacked? (I thought about copying part of an icon from the folder into the folder icon)
Does anyone know how I can read icons the best way? I noticed that it is not always in the same position, but starts after 16,16 ...
There is are 2 types of ways to read a program, and it solely depends on the program type. NOS, BOS, and XENON implements these 2 ways.
Code from Xenon "ICE":
Code: Lbl ICONDISPLAY
sum(0)
If [Med]PROGRAM,"N/A")
If TYPE=0 and ICONT=1
sum(2,PROGRAM,"r",5)->SLOT
sum(10,6,0,SLOT)
0->TILE
ICONX->XINIT
For(ICONLOOP,1,256,1)
TILE+1->TILE
sum(6,SLOT)->ICONCHAR
*{COLORS+ICONCHAR-48-7*(ICONCHAR>58)}->ICONCOLOR
det(2,ICONCOLOR)
det(36,ICONX,ICONY,XSCALE,YSCALE
If TILE=16
ICONY+YSCALE->ICONY
XINIT-XSCALE->ICONX
0->TILE
End
ICONX+XSCALE->ICONX
End
sum(3,SLOT)
End
If TYPE=1 and ICONT=1
sum(2,PROGRAM,"r",6)->S
sum(18,S)->P
sum(3,S)
[Sigmay]ICON+2,P+10,256)
det(62,ICON,ICONX,ICONY,XSCALE,YSCALE)
End
End
Return