equal
deleted
inserted
replaced
77 self.view.center = CGPointMake(placingPoint.y, placingPoint.x); |
77 self.view.center = CGPointMake(placingPoint.y, placingPoint.x); |
78 else |
78 else |
79 self.view.center = CGPointMake(placingPoint.x, placingPoint.y); |
79 self.view.center = CGPointMake(placingPoint.x, placingPoint.y); |
80 } |
80 } |
81 self.isVisible = YES; |
81 self.isVisible = YES; |
|
82 if (IS_IPAD() == NO) |
|
83 HW_pause(); |
82 } |
84 } |
83 |
85 |
84 -(void) disappear { |
86 -(void) disappear { |
85 if (self.isVisible) |
87 if (self.isVisible) |
86 [self.view removeFromSuperview]; |
88 [self.view removeFromSuperview]; |
87 self.isVisible = NO; |
89 self.isVisible = NO; |
88 placingPoint.x = self.view.center.y; |
90 placingPoint.x = self.view.center.y; |
89 placingPoint.y = self.view.center.x; |
91 placingPoint.y = self.view.center.x; |
|
92 if (IS_IPAD() == NO) |
|
93 HW_pauseToggle(); |
90 } |
94 } |
91 |
95 |
92 #pragma mark - |
96 #pragma mark - |
93 #pragma mark drawing |
97 #pragma mark drawing |
94 -(void) loadLabels { |
98 -(void) loadLabels { |