Commit Graph

22 Commits

Author SHA1 Message Date
joshaber 9b09421643 remove the view from the superview to prevent leaking it 2013-03-12 16:45:01 -04:00
Alan Rogers 34470c9fcc Xcode++ add new recommended warnings, and fix a bunch of retain cycles uncovered by Xc 4.6 2013-01-10 10:23:06 +11:00
Danny Greg 209224f174 Use a struct pointer rather than dereferencing. 2012-08-29 22:07:59 +01:00
Danny Greg 81d879f198 Documentation ++ 2012-08-29 22:04:19 +01:00
Danny Greg c8de89df87 Better name for the info struct. 2012-08-29 21:58:53 +01:00
Danny Greg 10ac0165ab Use C99 struct declaration syntax. 2012-08-29 21:49:27 +01:00
Danny Greg a0b525c479 Turns out mid - width/2 == min 2012-08-29 21:35:26 +01:00
Danny Greg 8e09b0fd3c Pass a struct as the info pointer. 2012-08-29 21:32:54 +01:00
Danny Greg 7568214eae Adjust the animation offset.
Gotta keep things nice and smooth.
2012-08-29 18:19:59 +01:00
Danny Greg be03b35602 Change the drawing pattern and width.
This is a way better way to go with this and looks great on retina.
2012-08-29 18:13:53 +01:00
Danny Greg c0f809a239 Ensure TUIProgressbar pattern context is correctly scaled
As the pattern context is separate to the drawing context (in terms of
transformations), we need to handle all of this ourselves.
2012-08-27 14:37:29 +01:00
Justin Spahr-Summers ce1fef3530 Refactoring to change uses of TUIColor to NSColor 2012-07-27 16:15:19 -07:00
joshaber f7b702cb6a -[NSObject removeObserver:forKeyPath:context:] is 10.7+ 2012-07-25 17:24:53 -04:00
Justin Spahr-Summers 8130eaa572 Remove TUIKit.h import from TUIProgressBar.m 2012-07-23 12:32:22 -07:00
joshaber 36e4a81229 enforce a minimum width for the progress bar's fill 2012-07-17 15:49:27 -04:00
Loren Brichter f9d5078a3f Get Example project building without warnings on Xcode 4.5 2012-06-18 11:37:37 -04:00
Danny Greg 9c156faaba Make sure the barber pole stays animating even if it has previously been removed from it's superview but hasn't been told to stop. 2012-05-25 11:51:54 -07:00
Danny Greg 6123195726 Don't allow 2 sets of barber poles to ever happen. 2012-05-25 11:43:06 -07:00
Danny Greg 28b742eab5 Change the implementation of our roundrect one with something a touch superior. 2012-05-24 16:05:26 -07:00
Danny Greg 503476fa70 Harden up the inset shadow on progress bar. 2012-05-24 15:50:48 -07:00
Danny Greg 0d38cbc90c Clip the progressbar's barber poles so they no longer overspill. 2012-05-24 15:37:48 -07:00
Danny Greg 03d370f851 Add TUIProgressBar. For reals this time. 2012-05-23 16:58:52 -07:00