Darker Round Rect NSButtons

2008-09-22 Thread Colin Doncaster
My apologies for what may be a seemingly obvious and simple question, I want to make sure I'm not overlooking anything though. I have been trying to poke around the internet for examples of what I'm looking for but have come up empty so far. I'd like to use the Round Rect buttons with a co

UISlider changes between 2.1 and 2.2, rating widget?

2008-12-30 Thread Colin Doncaster
Hi there, I was wondering if anyone has a work around for the change in behavior between iPhone OS 2.1 and 2.2 UISlider element? Previously I was able to click anywhere on the slider and it would update, now you have to grab the knob to adjust the value. This has broken the functionality

Re: UISlider changes between 2.1 and 2.2, rating widget?

2008-12-30 Thread Colin Doncaster
tedly a hack. It is, of course, possible to create your own ratings widget by subclassing UIControl and tracking the touches. The Oracle also found this which may be of some use - http://stackoverflow.com/questions/292137/anyone-know-whether-there-is-a-5-star-rating-component-on-iphone -rob. On

CALayer bounds with ResizeAspect mask?

2008-10-08 Thread Colin Doncaster
Hi there, I'm using a QTMovieLayer with [myMovieLayer setContentsGravity:kCAGravityResizeAspect]; specified. I have a second layer that I'd like to draw on that needs to match the resized movie that is now scaled to maintain the correct aspect ratio. Is there a way of retrieving the resiz

Re: CALayer bounds with ResizeAspect mask?

2008-10-08 Thread Colin Doncaster
eAnimation_guide/Articles/LayerTreeHierarchy.html#/ /apple_ref/doc/uid/TP40006083-SW9 Specifically the part about autoresizing sublayers. -Matt On Oct 8, 2008, at 3:01 AM, Colin Doncaster wrote: Hi there, I'm using a QTMovieLayer with [myMovieLayer setContentsGravity:kCAGravityResize

Re: CALayer bounds with ResizeAspect mask?

2008-10-08 Thread Colin Doncaster
it was playing catchup. > > Sorry I wasn't more thorough before my initial response. > > -Matt > > > > On Oct 8, 2008, at 11:43 AM, Colin Doncaster wrote: > >> Hey Matt, >> >> So - if you create an NSView with a reso

Re: CALayer bounds with ResizeAspect mask?

2008-10-08 Thread Colin Doncaster
On Oct 8, 2008, at 11:43 AM, Colin Doncaster wrote: Hey Matt, So - if you create an NSView with a resolution of 640x300 and then create a QTMovieLayer that fits that frame, is resizable and has [myMovieLayer setContentsGravity:kCAGravityResizeAspect] Core Animation resizes the movie to fit wi