mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 20:46:50 +03:00
New mouse pointer images by Martin Merz (Mason)
Extended pointer size to 32x32 pixels. svn path=/trunk/netsurf/; revision=5288
This commit is contained in:
parent
9fc58606db
commit
402f53f0a5
21
amiga/gui.c
21
amiga/gui.c
@ -189,26 +189,27 @@ void gui_init(int argc, char** argv)
|
||||
if(ptrfile = Open(ptrs[i],MODE_OLDFILE))
|
||||
{
|
||||
int mx,my;
|
||||
UBYTE *pprefsbuf = AllocVec(1024,MEMF_CLEAR);
|
||||
Read(ptrfile,pprefsbuf,1024);
|
||||
UBYTE *pprefsbuf = AllocVec(1061,MEMF_CLEAR);
|
||||
Read(ptrfile,pprefsbuf,1061);
|
||||
|
||||
mouseptrbm[i]=AllocVec(sizeof(struct BitMap),MEMF_CLEAR);
|
||||
InitBitMap(mouseptrbm[i],2,16,16);
|
||||
mouseptrbm[i]->Planes[0] = AllocRaster(16,16);
|
||||
mouseptrbm[i]->Planes[1] = AllocRaster(16,16);
|
||||
InitBitMap(mouseptrbm[i],2,32,32);
|
||||
mouseptrbm[i]->Planes[0] = AllocRaster(32,32);
|
||||
mouseptrbm[i]->Planes[1] = AllocRaster(32,32);
|
||||
mouseptr.BitMap = mouseptrbm[i];
|
||||
|
||||
for(my=0;my<16;my++)
|
||||
for(my=0;my<32;my++)
|
||||
{
|
||||
for(mx=0;mx<16;mx++)
|
||||
for(mx=0;mx<32;mx++)
|
||||
{
|
||||
SetAPen(&mouseptr,pprefsbuf[(my*(17))+mx]-'0');
|
||||
SetAPen(&mouseptr,pprefsbuf[(my*(33))+mx]-'0');
|
||||
WritePixel(&mouseptr,mx,my);
|
||||
}
|
||||
}
|
||||
|
||||
mousexpt[i] = ((pprefsbuf[272]-'0')*10)+(pprefsbuf[273]-'0');
|
||||
mouseypt[i] = ((pprefsbuf[275]-'0')*10)+(pprefsbuf[276]-'0');
|
||||
mousexpt[i] = ((pprefsbuf[1056]-'0')*10)+(pprefsbuf[1057]-'0');
|
||||
mouseypt[i] = ((pprefsbuf[1059]-'0')*10)+(pprefsbuf[1060]-'0');
|
||||
|
||||
FreeVec(pprefsbuf);
|
||||
Close(ptrfile);
|
||||
}
|
||||
|
@ -1,17 +1,33 @@
|
||||
0000000000000000
|
||||
0000000000000000
|
||||
0000000000000000
|
||||
0000000000000000
|
||||
0000000000000000
|
||||
0000000000000000
|
||||
0000000000000000
|
||||
0000000000000000
|
||||
0000000000000000
|
||||
0000000000000000
|
||||
0000000000000000
|
||||
0000000000000000
|
||||
0000000000000000
|
||||
0000000000000000
|
||||
0000000000000000
|
||||
0000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00 00
|
@ -1,17 +1,33 @@
|
||||
0000022223000000
|
||||
0000021113000000
|
||||
0000022133000000
|
||||
0000002130000000
|
||||
0000002130000000
|
||||
0000002130000000
|
||||
0000002130000000
|
||||
0000002130000000
|
||||
0000002130000000
|
||||
0000002130000000
|
||||
0000002130000000
|
||||
0000002130000000
|
||||
0000002130000000
|
||||
0000022123000000
|
||||
0000021113000000
|
||||
0000033333000000
|
||||
09 10
|
||||
22022000000000000000000000000000
|
||||
00200000000000000000000000000000
|
||||
00200000000000000000000000000000
|
||||
00200000000000000000000000000000
|
||||
00200000000000000000000000000000
|
||||
00200000000000000000000000000000
|
||||
00200000000000000000000000000000
|
||||
00200000000000000000000000000000
|
||||
00200000000000000000000000000000
|
||||
00200000000000000000000000000000
|
||||
00200000000000000000000000000000
|
||||
00200000000000000000000000000000
|
||||
00200000000000000000000000000000
|
||||
00200000000000000000000000000000
|
||||
00200000000000000000000000000000
|
||||
00200000000000000000000000000000
|
||||
00200000000000000000000000000000
|
||||
22022000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
02 08
|
@ -1,17 +1,33 @@
|
||||
0020002222222222
|
||||
0022002333333332
|
||||
2222202333333332
|
||||
2222202333333332
|
||||
0022002333333332
|
||||
0020002333333332
|
||||
0000002333333332
|
||||
0000002333333332
|
||||
0000002333333332
|
||||
0000002333333332
|
||||
0000002333333332
|
||||
0000002333333332
|
||||
0000002333333332
|
||||
0000002333333332
|
||||
0000002222222222
|
||||
0000000000000000
|
||||
05 02
|
||||
13000000000000000000000000000000
|
||||
21330000000000000000000000000000
|
||||
02113300000000000000000000000000
|
||||
02111133000000000000000000000000
|
||||
00211111330000000000000000000000
|
||||
00211111110000000000000000000000
|
||||
00021113000000000000000000000000
|
||||
00021121300033333333331000000000
|
||||
00002102130031111111112000000000
|
||||
00002100213031111111112000000000
|
||||
00000000021031111111112000000000
|
||||
00000000000033333333332000000000
|
||||
00000000000033333333332000000000
|
||||
00000000000033333333332000000000
|
||||
00000000000033333333332000000000
|
||||
00000000000033333333332000000000
|
||||
00000000000033333333332000000000
|
||||
00000000000012222222222000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00 00
|
@ -1,17 +1,33 @@
|
||||
0000002000000000
|
||||
0000223200000000
|
||||
0002323220000000
|
||||
0002323232000000
|
||||
0202323232200000
|
||||
2322323232320000
|
||||
2333333333320000
|
||||
0233333333320000
|
||||
0233333333200000
|
||||
0233333333200000
|
||||
0023333332000000
|
||||
0023333332000000
|
||||
0023333332000000
|
||||
0022222222000000
|
||||
0000000000000000
|
||||
0000000000000000
|
||||
00 00
|
||||
00000000002200000000000000000000
|
||||
00000000023320000000000000000000
|
||||
00000002223322200000000000000000
|
||||
00000023323323320000000000000000
|
||||
00000023323323320000000000000000
|
||||
00000023323323322200000000000000
|
||||
00000023323323323320000000000000
|
||||
00000023323323323320000000000000
|
||||
02200023323323323320000000000000
|
||||
23320023323323323320000000000000
|
||||
23332023323323323320000000000000
|
||||
02333233323323323320000000000000
|
||||
02333333323323323320000000000000
|
||||
00233333333333323320000000000000
|
||||
00233333333333333320000000000000
|
||||
00023333333333333320000000000000
|
||||
00023333333333333320000000000000
|
||||
00002333333333333320000000000000
|
||||
00002333333333333320000000000000
|
||||
00000233333333333200000000000000
|
||||
00000022333333332000000000000000
|
||||
00000000222222220000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
11 15
|
@ -1,17 +1,33 @@
|
||||
0000002200000000
|
||||
0000023320000000
|
||||
0000023320000000
|
||||
0000023320000000
|
||||
0000023322000000
|
||||
0000023323220000
|
||||
0220023323232200
|
||||
2332023323232320
|
||||
2333223333332320
|
||||
0233323333333320
|
||||
0023323333333320
|
||||
0023333333333320
|
||||
0002333333333200
|
||||
0000233333333200
|
||||
0000023333332000
|
||||
0000022222222000
|
||||
06 00
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000002200000000000000000000000
|
||||
00000023320000000000000000000000
|
||||
00000023320000000000000000000000
|
||||
00000023320000000000000000000000
|
||||
00000023320000000000000000000000
|
||||
00000023322200000000000000000000
|
||||
02200023323322200000000000000000
|
||||
23320023323323320000000000000000
|
||||
23332023323323322200000000000000
|
||||
02333233323323323320000000000000
|
||||
02333333323323323320000000000000
|
||||
00233333333333323320000000000000
|
||||
00233333333333333320000000000000
|
||||
00023333333333333320000000000000
|
||||
00023333333333333320000000000000
|
||||
00002333333333333320000000000000
|
||||
00002333333333333320000000000000
|
||||
00000233333333333200000000000000
|
||||
00000022333333332000000000000000
|
||||
00000000222222220000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
00000000000000000000000000000000
|
||||
07 02
|
Loading…
Reference in New Issue
Block a user