Driver: http://www.mediafire.com/?y2qt2ygmo2tcndh
Source: http://www.mediafire.com/?lqam322occq7x08
Example icons: http://www.mediafire.com/?txwmlmt3sinhyws
Converter (icon should be located in top left of screen centred on the middle 4 cells):
Código: Seleccionar todo
5 LET end=55200
10 FOR g=0 TO 4
20 LET b=0
30 FOR n=0 TO 3
40 FOR s=0 TO 1
50 LET b=b+b+POINT (s*17+7,168-g*4-n)
60 NEXT s
70 NEXT n
80 POKE end+g*9,b
90 NEXT g
100 FOR g=0 TO 4
110 FOR n=0 TO 3
120 FOR s=0 TO 1
130 LET r=7+g*4+n
140 IF g<4 OR n<2 THEN POKE end+1+g*9+n*2+s,PEEK (16384+(r-8*INT (r/8))*256+INT (r/8)*32+1+s)
150 NEXT s
160 NEXT n
170 NEXT g
180 LET b=INT (PEEK (end+36)/8)*8
190 IF ATTR (1,1)=56 THEN LET b=b+8
200 IF ATTR (1,2)=56 THEN LET b=b+4
210 IF ATTR (2,1)=56 THEN LET b=b+2
220 IF ATTR (2,2)=56 THEN LET b=b+1
230 POKE end+36,b
I came up with the idea for 18x18 icons in 1999 when I was designing the Buddy GUI. They take advantage of attributes, using them as the mask which means you can use them against a colour background, and each icon is only 41 bytes in length. By comparison, a 16x16 icon with a full bitmap mask would use 64 bytes per icon.