r5288 chris_y - in /trunk/netsurf/amiga: gui.c resources/Pointers/Blank resources/Pointers/Caret resources/Pointers/Menu resources/Pointers/Move resources/Pointers/Point

netsurf at semichrome.net netsurf at semichrome.net
Mon Sep 8 22:27:36 BST 2008


Author: chris_y
Date: Mon Sep  8 16:27:35 2008
New Revision: 5288

URL: http://source.netsurf-browser.org?rev=5288&view=rev
Log:
New mouse pointer images by Martin Merz (Mason)

Extended pointer size to 32x32 pixels.

Modified:
    trunk/netsurf/amiga/gui.c
    trunk/netsurf/amiga/resources/Pointers/Blank
    trunk/netsurf/amiga/resources/Pointers/Caret
    trunk/netsurf/amiga/resources/Pointers/Menu
    trunk/netsurf/amiga/resources/Pointers/Move
    trunk/netsurf/amiga/resources/Pointers/Point

Modified: trunk/netsurf/amiga/gui.c
URL: http://source.netsurf-browser.org/trunk/netsurf/amiga/gui.c?rev=5288&r1=5287&r2=5288&view=diff
==============================================================================
--- trunk/netsurf/amiga/gui.c (original)
+++ trunk/netsurf/amiga/gui.c Mon Sep  8 16:27:35 2008
@@ -189,26 +189,27 @@
 		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);
 		}

Modified: trunk/netsurf/amiga/resources/Pointers/Blank
URL: http://source.netsurf-browser.org/trunk/netsurf/amiga/resources/Pointers/Blank?rev=5288&r1=5287&r2=5288&view=diff
==============================================================================
--- trunk/netsurf/amiga/resources/Pointers/Blank (original)
+++ trunk/netsurf/amiga/resources/Pointers/Blank Mon Sep  8 16:27:35 2008
@@ -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

Modified: trunk/netsurf/amiga/resources/Pointers/Caret
URL: http://source.netsurf-browser.org/trunk/netsurf/amiga/resources/Pointers/Caret?rev=5288&r1=5287&r2=5288&view=diff
==============================================================================
--- trunk/netsurf/amiga/resources/Pointers/Caret (original)
+++ trunk/netsurf/amiga/resources/Pointers/Caret Mon Sep  8 16:27:35 2008
@@ -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

Modified: trunk/netsurf/amiga/resources/Pointers/Menu
URL: http://source.netsurf-browser.org/trunk/netsurf/amiga/resources/Pointers/Menu?rev=5288&r1=5287&r2=5288&view=diff
==============================================================================
--- trunk/netsurf/amiga/resources/Pointers/Menu (original)
+++ trunk/netsurf/amiga/resources/Pointers/Menu Mon Sep  8 16:27:35 2008
@@ -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

Modified: trunk/netsurf/amiga/resources/Pointers/Move
URL: http://source.netsurf-browser.org/trunk/netsurf/amiga/resources/Pointers/Move?rev=5288&r1=5287&r2=5288&view=diff
==============================================================================
--- trunk/netsurf/amiga/resources/Pointers/Move (original)
+++ trunk/netsurf/amiga/resources/Pointers/Move Mon Sep  8 16:27:35 2008
@@ -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

Modified: trunk/netsurf/amiga/resources/Pointers/Point
URL: http://source.netsurf-browser.org/trunk/netsurf/amiga/resources/Pointers/Point?rev=5288&r1=5287&r2=5288&view=diff
==============================================================================
--- trunk/netsurf/amiga/resources/Pointers/Point (original)
+++ trunk/netsurf/amiga/resources/Pointers/Point Mon Sep  8 16:27:35 2008
@@ -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




More information about the netsurf-commits mailing list