Yini  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
RCSwitch Class Reference

#import <RCSwitch.h>

Inheritance diagram for RCSwitch:
RCSwitchOnOff

Public Member Functions

(void) - initCommon
(void) - regenerateImages
(void) - drawUnderlayersInRect:withOffset:inTrackWidth:
(void) - setOn:animated:

Protected Attributes

UIImage * knobImage
UIImage * knobImagePressed
UIImage * sliderOff
UIImage * sliderOn
float percent
float oldPercent
float endcapWidth
CGPoint startPoint
float scale
float drawHeight
float animationDuration
CGSize lastBoundsSize
NSDate * endDate
BOOL mustFlip

Properties

float knobWidth
BOOL on

Member Function Documentation

- (void) drawUnderlayersInRect: (CGRect)  aRect
withOffset: (float)  offset
inTrackWidth: (float)  trackWidth 
- (void) initCommon
- (void) regenerateImages
- (void) setOn: (BOOL)  aBool
animated: (BOOL)  animated 

Member Data Documentation

- (float) animationDuration
protected
- (float) drawHeight
protected
- (float) endcapWidth
protected
- (NSDate*) endDate
protected
- (UIImage*) knobImage
protected
- (UIImage*) knobImagePressed
protected
- (CGSize) lastBoundsSize
protected
- (BOOL) mustFlip
protected
- (float) oldPercent
protected
- (float) percent
protected
- (float) scale
protected
- (UIImage*) sliderOff
protected
- (UIImage*) sliderOn
protected
- (CGPoint) startPoint
protected

Property Documentation

- (float) knobWidth
readwriteatomicassign
- (BOOL) on
readwriteatomicassign

The documentation for this class was generated from the following files: