13 Commits

Author SHA1 Message Date
Garrett Moon
64f36d4499 Add support for contentInset and make ASButtonNode a bit more threadsafe 2016-02-04 17:40:16 -08:00
appleguy
ea6c7ae938 Merge pull request #1025 from 1nput0utput/ASButtonNodeImprovements
[ASButtonNode] Add support for backgroundImage.  Extend & simplify API with separate title and color.
2016-01-23 12:45:48 -08:00
Rajinder Ramgarhia
389945d69d ASButtonNode sets its subnodes as layer backed, but itelf should not be layer backed 2016-01-20 14:29:34 -05:00
Rajinder Ramgarhia
6c56a6046b Simpler ASButtonNode API to set title and set background image 2016-01-16 00:23:03 -05:00
Scott Goodson
affb786a14 [ASButtonNode] Pass through setDisplaysAsynchronously: to subnodes (image and title). 2016-01-14 23:12:01 -08:00
Bin Liu
a36a955eb0 fix indentation 2016-01-06 13:09:59 -08:00
Bin Liu
4435405cbb Make ASControlState imitate UIControlState
- selected state isn't implicitly controlled by ASControlNode anymore
- highlighted state can be overriden by users
- Decouple ASButtonNode's state from control events
2016-01-06 12:17:52 -08:00
Bin Liu
4f67050b9b Fix another typo, fix build failure 2016-01-05 18:04:26 -08:00
Bin Liu
6bb51063f9 Replace ASButtonState with ASControlState 2016-01-05 17:07:44 -08:00
Scott Goodson
a2cf2a88e6 Overhaul header files / includes to eliminate circular references that Xcode 7 is angry about. 2015-12-25 19:22:00 -08:00
Rajinder Ramgarhia
108ce6d8fc Set horizontal & vertical alignment default to center. Use ivar to set layout. 2015-12-22 14:23:21 -05:00
Rajinder Ramgarhia
d7b128e19b ASButtonNode content alignement properties 2015-12-22 14:23:21 -05:00
Scott Goodson
3416450f11 Adding ASButtonNode. Simple but flexible, add features as desired! 2015-10-31 15:12:05 -07:00