 |
 |
Moding the Cursors' appearence in OSX
|
 |
|
 |
|
Banned
Join Date: Apr 2002
Location: -
Status:
Offline
|
|
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
|
|
</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
|
|
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
|
|
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.
|
|
|
| |
|
|
|
 |
|
 |
|
Banned
Join Date: Apr 2002
Location: -
Status:
Offline
|
|
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
|
|
</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
|
|
Old school mac hackers won't be much help, since hacking OS X is very different from hacking classic. No trap patching, for starters.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|