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 > Moding the Cursors' appearence in OSX

Moding the Cursors' appearence in OSX
Thread Tools
Banned
Join Date: Apr 2002
Location: -
Status: Offline
Reply With Quote
May 29, 2002, 07:10 PM
 
I'm wondering how I could do that.. Where are the files located in the hard drive? It'd be so cool If someone helped me.. please..
     
Mac Elite
Join Date: Oct 2000
Status: Offline
Reply With Quote
May 29, 2002, 11:46 PM
 
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by ambush:
<strong>I'm wondering how I could do that.. Where are the files located in the hard drive? It'd be so cool If someone helped me.. please..</strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">They aren't.. unfortunately.
     
Grizzled Veteran
Join Date: Feb 2001
Location: Germany
Status: Offline
Reply With Quote
May 30, 2002, 03:26 AM
 
if you don't want to use it "globally" but just for your own app, you could simply use NSCursor's initWithImage:hotSpot:.
     
Mac Enthusiast
Join Date: Nov 2001
Status: Offline
Reply With Quote
May 30, 2002, 03:37 AM
 
You could subclass NSCursor, and pose as the NSCursor class, and hack this addition into the AppKit (it isn't too hard). See this <a href="http://www.mactech.com/articles/mactech/Vol.14/14.03/RhapsodyinPurple/" target="_blank">MacTech article</a> for more information. Then just override NSCursor's arrowCursor method and return a different cursor intialized from any image. This would of course only affect Cocoa apps, but it would be interesting.
     
ambush  (op)
Banned
Join Date: Apr 2002
Location: -
Status: Offline
Reply With Quote
May 30, 2002, 06:09 AM
 
Is there a way to affect carbon apps too??

IS the Finder a cocoa app??? <img border="0" alt="[Hmmm]" title="" src="graemlins/hmmm.gif" />
     
Mac Enthusiast
Join Date: Nov 2001
Status: Offline
Reply With Quote
May 30, 2002, 07:10 AM
 
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">quote:</font><hr /><font size="1" face="Geneva, Verdana, Arial, sans-serif">Originally posted by ambush:
<strong>Is there a way to affect carbon apps too??

IS the Finder a cocoa app??? <img border="0" alt="[Hmmm]" title="" src="graemlins/hmmm.gif" /> </strong></font><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">I'm not a Mac Toolbox kinda guy, but I'm sure there will be some hack to affect Carbon apps as well--you'll have to find an old-school Mac hacker. The advantage with the Cocoa API is that almost any image can be used as a cursor (eg. TIFF, PNG) and this is including transparency and full alpha masks--that's how the magnifying glass cursor on the Cocoa colour palette is achieved. I think the cursor will be much easier to hack in Jaguar, as it looks like a TIFF or something like that is used to give the cursor a shadow. As for whether the Finder is a Cocoa app--unfortunately, it is not. That's only been the topic of about 1,000 threads .
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
May 30, 2002, 02:07 PM
 
Old school mac hackers won't be much help, since hacking OS X is very different from hacking classic. No trap patching, for starters.
     
   
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 01:16 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