Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > mouse cursor customization in X

mouse cursor customization in X
Thread Tools
Dedicated MacNNer
Join Date: Mar 2001
Location: AI Boards
Status: Offline
Reply With Quote
Dec 19, 2001, 11:31 PM
 
I'm hoping that someone can point me to an OS X hack of some sort that can give my friend a large mouse cursor (by this I mean the mouse pointer, not the text I-bar) for his visually-impaired mom.

I've seen several Classic CPs that change the cursor to a larger size, but a determined search of VersionTracker gives me nothing for OS X.

I'm hoping for one of the following:

-There is already a hack (preferebly a Pref Panel) that can do this, and I just can't find it

-Someone will recognize that my friend's mom is not the only one who needs a Pref Panel like this, and will develop it

-Someone can direct me to the proper file to hack in OS 9 with Photoshop to create a larger cursor

TIA to anyone who can help

MODS - apologies for cross-posting, wouldn't do it except for such a worthy cause
     
Dedicated MacNNer
Join Date: Mar 2001
Location: AI Boards
Status: Offline
Reply With Quote
Dec 24, 2001, 11:12 PM
 
-BUMP-

C'mon, I can't believe that NO one on these boards has any kind of knowledge about cursor hacks!!
     
Dedicated MacNNer
Join Date: May 2001
Location: Edinburgh, UK
Status: Offline
Reply With Quote
Dec 25, 2001, 02:57 PM
 
I don't see why you can't just "cheat" here and get the cursor position via Carbon (GetMouse() I think) and draw a pict on top. However, it may not work like this in reality.

Deleting the cursor from screen and replacing it with the background actually seems the most difficult problem. I can't think of a way around it at present. Maybe someone else will know?

[ 12-25-2001: Message edited by: iJed ]
     
Dedicated MacNNer
Join Date: May 2001
Location: Edinburgh, UK
Status: Offline
Reply With Quote
Dec 25, 2001, 05:39 PM
 
Wrote this code in a few mins. It will draw PICT ID 128 from the resource fork below the cursor using quickdraw. Unfortunately it does not redraw the area below it or mask out the white part. Using copybits should eradicate the later problem but I still don't see how to redraw the background. Surely there must be someone here with more than basic graphics experience who could help?


void main(void)
{
Point mp;
PicHandle ph=GetPicture(128);
Rect pr;

for (; {

GetMouse(&mp);

SetRect(&pr, mp.h, mp.v, mp.h+(*ph)->picFrame.right, mp.v+(*ph)->picFrame.bottom);

DrawPicture(ph, &pr);
}
}
     
Dedicated MacNNer
Join Date: May 2001
Location: Edinburgh, UK
Status: Offline
Reply With Quote
Dec 25, 2001, 05:40 PM
 
double post

[ 12-25-2001: Message edited by: iJed ]
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Dec 30, 2001, 05:21 AM
 
Something like this might be possible with CoreGraphics... You can hide the cursor there and do events stuff...
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:08 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2