Mouse size?
jim lesurf (2082) 1438 posts |
IIRC in the past although the style/shape of the mouse pointer could be changed there was a maximum limit set for its size. I find the standard pointer too small these days. So it occurred to me to ask: is there now a way to get a bigger mouse pointer? |
Andrew Rawnsley (492) 1445 posts |
I think there’s a program (!Pointer?) which causes it to scale up to double size, but I can’t quite remember. |
Chris Hughes (2123) 336 posts |
Yes there is one I started it using it when my eye sight was getting worse with the cataract. Its called !Pointer available from: |
Steve Pampling (1551) 8170 posts |
APDL file b112. |
jim lesurf (2082) 1438 posts |
Thanks for the, erm, pointers to the pointers. :-) !Pointer is OK, but still gives the blue appearance wheras one of the alternatives from b112 is better as it is closer to the black/white scheme I prefer for Linux. I’d like to edit this but can’t work out how to tweak the appearance! Simply editing the sprites file doesn’t do it. Must be doing something wrong. |
David Pitt (3386) 1248 posts |
Does this do what is wanted? REM >ptr_col REM Joe Taylor [iyonix-support] Re: Mouse pointer colour REM 10 Aug 2007 16:13 REM The words at 68, 72 and 76 REM are colour numbers of the form &BBGGRR00 REM which determine Pointer-colours 0,1 and 2. DIM palette% 80 SYS "Wimp_ReadPalette",,palette% palette%!68=&FFFFFF00 : REM pointer edge palette%!72=0 : REM pointer body REM palette%!76=&FF00 SYS "Wimp_SetPalette",,palette% END |
Steve Pampling (1551) 8170 posts |
As near as I can tell, ptr_default file for the design and the mouse_pal for the colour pallette used. Swap the bits in from one of the other pointer applets to prove it to yourself. |
jim lesurf (2082) 1438 posts |
Yes, the BASIC prog does change the colours of the mouse pointer provided by !Pointer. So that is, for me, a great step forwards. However I’ve also become puzzled by the way that the ‘APDL’ examples seem to do this differently. I can’t see all the details as the code is ‘absolute’. However !Pointer lacks a distinct palette file whereas the !Gem3 example – which is my ‘best’ from the APDL – does. I can see that !Paint can export a palett file, but not how to load and edit one. And although the above BASIC prog changes the colours I’ve not yet tried to integrate than with !Pointer. Can !Paint edit palette files in isolation? I didn’t get it to load one when I tried. And I’ve not tried, but guess that if I saved the content of ‘palette%’ as a file it would be a palette file which would work? |
jim lesurf (2082) 1438 posts |
I’ve now turned the above basic into a BASIC file inside !Pointer that the app then runs before the main code. This seems to work nicely in terms of result. :-) However my curiosity remains about being able to do this via palette editing of a palette file which can then be loaded. Is there a “how to make a mouse” guide somewhere? And is what !Pointer gives as ‘Big’ really as big as the WIMP allows? Thanks for the help/info. I’m now much happier with the result, but still curious… :-) |
Steve Fryatt (216) 2105 posts |
Not sure, but even if it can, it won’t be what you need here.
Nope. The Wimp palette files are a collection of VDU 19 commands (as with the Paint ones), but it seems that they must conform to a very specific format: 16 colours, 1 border colour, then 3 pointer colours1. To make one, you need to crib from Joe Taylor’s code to read the current palette in, then write out the bits that you don’t want to change before adding in the pointer colours. The format of the colour words is
1 I’ve not checked the source to see what other options (if any) are available. There’s limited documentation, as Wimp palette files were last seen in RISC OS 3.11 (or its updates). |
Steve Fryatt (216) 2105 posts |
OK, so I was bored enough to look at the source code1, which is here It seems that it must be a 20 colour palette (16 Wimp colours, 3 mouse and 1 border), or nothing. It can either be a “modern”1 Palette file (in which case it must be 120 bytes long and have the first 16 entries starting with &13, n, &10 for the 1 All weekend plans having been cancelled thanks to the new lockdown in Leeds, announced 4pm yesterday and into force at midnight. 2 It’s all relative, I guess. I’d describe the whole thing as “old-style” myself. |
David J. Ruck (33) 1635 posts |
|
jim lesurf (2082) 1438 posts |
I’m pleased with the improvement in what I’ve now obtained WRT pointer appearance, so real thanks to people for that! However it does make me feel that it would be nicer if: 1) Even bigger pointers could be used. 2) The sprites for them could, indeed, have more colours. 3) That it could be a matter of essentially making a modern sprite (with transparency) and the user selecting or loading this in a more user-friendly manner. i.e. even having a selection ‘pre loaded’ for a user to choose from. At present it remains rather arkane. Not as bad ye olde Keyboard handlers, though. 8-] |