Commit Graph

26 Commits

Author SHA1 Message Date
Bryan Hansen 715d967ff8 Changing spaces to tabs :) 2012-10-02 10:48:55 -07:00
Bryan Hansen d2f3ffa833 Correcting sizing issue when drawing button's with text edge insets. Defaulting button title rendering to be vertically aligned. 2012-10-02 01:15:03 -07:00
Sheng Luo 1147276b00 Make sure _titleView is initialized before it's accessed. 2012-08-12 16:29:09 +08:00
Danny Greg c0a41f9387 Make the imageView of a TUIButton useful by default.
Conflicts:
	lib/UIKit/TUIButton.m
2012-08-07 12:50:38 -07:00
Justin Spahr-Summers ce1fef3530 Refactoring to change uses of TUIColor to NSColor 2012-07-27 16:15:19 -07:00
Justin Spahr-Summers 5467b74f3b Refactored TUIButton to use NSImage 2012-07-24 17:09:40 -07:00
Justin Spahr-Summers 845d729fa2 Remove TUIColor import from TUIView.h 2012-07-23 12:16:47 -07:00
Justin Spahr-Summers 75c2d2aa5e Remove TUITextRenderer import from TUIView+Private.h 2012-07-23 12:15:30 -07:00
Justin Spahr-Summers 4baf8a9960 Remove TUIKit.h import from TUINSView header, and add all the other imports that are now necessary 2012-07-23 12:09:02 -07:00
joshaber 844b3a8d1a only update the title and title color if there's a non-nil value for
them
2012-05-31 15:26:06 -04:00
joshaber 942c021ef0 don't set the title shadow color to nothing 2012-05-18 13:17:24 -04:00
joshaber 9a7ba1003b respect reversesTitleShadowWhenHighlighted 2012-05-18 13:04:37 -04:00
joshaber a286f98c2c added reversesTitleShadowWhenHighlighted to TUIButton and made TUIButton respect the current title shadow color 2012-05-18 13:03:52 -04:00
joshaber 8658c36d80 update the title and title color in -drawRect: 2012-05-18 12:55:52 -04:00
joshaber 26b877fb66 a reasonable -sizeThatFits: for TUIButton 2012-05-17 15:49:44 -04:00
joshaber 8bd71fb704 Merge remote-tracking branch 'upstream/master' into dev
Conflicts:
	TwUI.xcodeproj/project.pbxproj
	lib/Support/CoreText+Additions.m
	lib/UIKit/TUIAttributedString.m
	lib/UIKit/TUIControl.m
	lib/UIKit/TUINSView.h
	lib/UIKit/TUINSView.m
	lib/UIKit/TUINSWindow.m
	lib/UIKit/TUITableView.m
	lib/UIKit/TUITableViewCell.m
	lib/UIKit/TUITextRenderer.m
	lib/UIKit/TUITextView.m
	lib/UIKit/TUIView.m
2012-04-09 14:48:41 -04:00
Danny Greg ecdcb78595 Don't lighten buttons if they are of custom button type. 2012-04-05 21:04:43 +01:00
joshaber 169c0bf239 use needsDisplayWhenWindowsKeyednessChanges to signal that we need redrawn 2012-03-14 17:12:29 -04:00
Justin Spahr-Summers fac056b03c ARC migration, baby.
Conflicts:

	TwUI.xcodeproj/project.pbxproj
2011-11-12 17:44:11 -08:00
joshaber 523aeed169 default the background color to clear 2011-11-03 22:47:45 -07:00
joshaber ad56ffc9aa draw the background color for buttons 2011-11-03 22:47:35 -07:00
joshaber 3dbc67a130 moved the control event sending into TUIControl 2011-08-15 14:07:18 -04:00
joshaber e623741686 moved the control event sending into TUIControl 2011-08-15 13:58:46 -04:00
joshaber ffd8c7ca9f work on making state transitions actually do something 2011-08-02 09:04:43 -07:00
Loren Brichter f52859181b ignore .perspectivev3, add static library target, fix warnings 2011-07-01 18:32:27 -04:00
Loren Brichter 2a704ca1fb TwUI 0.1 2011-07-01 14:18:11 -04:00