Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

printf

macrumors regular
Original poster
Aug 27, 2008
105
0
is this possible? i'm familiar with SetThemeCursor, but there isn't a ThemeCursor enumeration available that i need. can i create one from scratch like from a CGContext or something?

i found some old quickdraw functions, but obviously those are deprecated.
 
is this possible? i'm familiar with SetThemeCursor, but there isn't a ThemeCursor enumeration available that i need. can i create one from scratch like from a CGContext or something?

i found some old quickdraw functions, but obviously those are deprecated.

There is nothing in Carbon that isn't deprecated, and nothing that works in 64 bit. Try adding a bit of Cocoa to your code.
 
uhhgg... i was really hoping to avoid that. this is using an adobe plug-in sdk which is a pure carbon project. the whole thing's done except for a single stupid cursor :/

i know cocoa apps can be written in straight c/c++, is the reverse true? can this carbon bundle employ the use of obj-c?
 
Yes Carbon can use Cocoa. There used to be a technote or sample code on Apple's website that showed how to use NSCursor in Carbon, but I can't find it. I imagine you're going to want to convert all your Carbon UI to Cocoa for CS5 anyways :)

Edit: found it CarbonCocoa_PictureCursor
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.