project_files/HedgewarsMobile/Classes/MNEValueTrackingSlider.m
branchios-develop
changeset 13166 ba5c794adae3
parent 12872 00215a7ec5f5
equal deleted inserted replaced
13164:eefd6d066768 13166:ba5c794adae3
   177     [super endTrackingWithTouch:touch withEvent:event];
   177     [super endTrackingWithTouch:touch withEvent:event];
   178 }
   178 }
   179 
   179 
   180 #pragma mark -
   180 #pragma mark -
   181 #pragma mark Custom property accessors
   181 #pragma mark Custom property accessors
   182 -(CGRect) thumbRect {
   182 - (CGRect)thumbRect {
   183     CGRect trackRect = [self trackRectForBounds:self.bounds];
   183     CGRect trackRect = [self trackRectForBounds:self.bounds];
   184     CGRect thumbR = [self thumbRectForBounds:self.bounds
   184     CGRect thumbR = [self thumbRectForBounds:self.bounds
   185                                          trackRect:trackRect
   185                                          trackRect:trackRect
   186                                              value:self.value];
   186                                              value:self.value];
   187     return thumbR;
   187     return thumbR;