Add alternated gradients and fallback drawing.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
// changed to selected, we draw an bottom-up gradient from the
|
||||
// highlight color to the background color with the selection style.
|
||||
self.drawSelectedBackground = gradientBackgroundWithAngledPattern(TUITableViewCellGradientPatternBackgroundToHighlight,
|
||||
self.selectionStyle, 90.0f);
|
||||
TUITableViewCellStateSelected, 90.0f);
|
||||
|
||||
// Instead of using a TUILabel or TUITextField, let's take a little
|
||||
// course in the art of using a TUITextRenderer. It acts as a simple
|
||||
|
||||
Reference in New Issue
Block a user