Large cursor support: how to?
Hello, I am using pretty large cursors on Windows and OSX since my eyesight isn't that great. When using Pharo on OSX, the cursor is superb when in OSX apps, but in Pharo, the cursor is that ugly magnified 16x16 kind of form. I had a look in there and all cursors appear to be that kind of size. How would you go in changing that cursor support to support larger cursor forms? One thing which is great in Pharo is the ability to change all fonts at will, and set things up for a pretty neat visually accessible environment (large fonts take their toll on performance and memory but that's another story). So, can someone give me some pointers? TIA Phil
philippeback wrote
How would you go in changing that cursor support to support larger cursor forms?
You'll find the cursor drawing code in... make sure you're sitting down... Paragraph>>#displaySelectionInLine:on: The simplest hack would be "Editor dumbbellCursor: true." and then override #caretWidth to your liking (4 seems pretty visible). -- View this message in context: http://forum.world.st/Large-cursor-support-how-to-tp4671248p4671286.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
On Feb 21, 2013, at 3:14 PM, "Sean P. DeNigris" <sean@clipperadams.com> wrote:
philippeback wrote
How would you go in changing that cursor support to support larger cursor forms?
You'll find the cursor drawing code in... make sure you're sitting down... Paragraph>>#displaySelectionInLine:on:
WTF!!!!!!!!
The simplest hack would be "Editor dumbbellCursor: true." and then override #caretWidth to your liking (4 seems pretty visible).
-- View this message in context: http://forum.world.st/Large-cursor-support-how-to-tp4671248p4671286.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
That cursor I know of (it has been changed to a red thing with two triangles over here). What I meant was the mouse cursor. Thanks anyway! Phil 2013/2/21 Sean P. DeNigris <sean@clipperadams.com>:
philippeback wrote
How would you go in changing that cursor support to support larger cursor forms?
You'll find the cursor drawing code in... make sure you're sitting down... Paragraph>>#displaySelectionInLine:on:
The simplest hack would be "Editor dumbbellCursor: true." and then override #caretWidth to your liking (4 seems pretty visible).
-- View this message in context: http://forum.world.st/Large-cursor-support-how-to-tp4671248p4671286.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
participants (3)
-
Esteban Lorenzano -
phil@highoctane.be -
Sean P. DeNigris