• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Leopard problem: rotating buttons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leopard problem: rotating buttons


  • Subject: Re: Leopard problem: rotating buttons
  • From: Bill Dudney <email@hidden>
  • Date: Tue, 6 Nov 2007 22:29:54 -0700

Hi All,

Sorry, I forgot to turn on layer backing in the content view of the window. If you do that the button displays properly at all angles. There are a couple of places where the text is not as crisp as it could be but over all it looks pretty good, esp at the 90degree increments.

Also sorry it took so long to get back to you.

Anyway, I posted an updated version (under the same zip file and url).

http://bill.dudney.net/roller/objc/resource/LayerBackedControls.zip

TTFN,

-bd-
http://bill.dudney.net/roller/objc

On Nov 4, 2007, at 6:20 PM, email@hidden wrote:

Here is a semi-workaround for now.... it uses core animation.
It involves wrapping and NSView inside of an NSBox, and rotating the view using core animation's (the View's) backing CALayer.


http://homepage.mac.com/son_gohan/Cocoa/LayerBackedControlsSortaFixed.zip

The only problem is that the tracking rect for the button doesn't get rotated, so clicking only works in the middle of the button.
Have you taken a look at the CocoaSlides example?


Andre

On 平成 19/11/05, at 2:01, Raffael Cavallaro wrote:


On Nov 4, 2007, at 10:49 AM, Daniel Griscom wrote:

Raffael: have you reported this bug? If not, I will.

Go ahead - you seem much more familiar with the problem than I am.

good luck,

regards,

Ralph


Raffael Cavallaro, Ph.D. email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Leopard problem: rotating buttons (From: Daniel Griscom <email@hidden>)
 >Re: Leopard problem: rotating buttons (From: Daniel Griscom <email@hidden>)
 >Re: Leopard problem: rotating buttons (From: Bill Dudney <email@hidden>)
 >Re: Leopard problem: rotating buttons (From: Raffael Cavallaro <email@hidden>)
 >Re: Leopard problem: rotating buttons (From: Daniel Griscom <email@hidden>)
 >Re: Leopard problem: rotating buttons (From: Raffael Cavallaro <email@hidden>)
 >Re: Leopard problem: rotating buttons (From: email@hidden)

  • Prev by Date: Re: [Leopard] Core Data model versioning vs. NSPersistentDocument
  • Next by Date: Re: Using dot syntax for non-@property properties?
  • Previous by thread: Re: Leopard problem: rotating buttons
  • Next by thread: Re: FYI - Resolution Independence
  • Index(es):
    • Date
    • Thread