| 863:589bca248476 | 864:d39301e8f962 |
|---|---|
| 135 } | 135 } |
| 136 _topOffset = top; | 136 _topOffset = top; |
| 137 | 137 |
| 138 return self; | 138 return self; |
| 139 } | 139 } |
| 140 | |
| 141 - (BOOL) getIsVisible { | |
| 142 return [self isVisible]; | |
| 143 } | |
| 144 | |
| 145 - (void) setVisible:(BOOL)visible { | |
| 146 if(visible) { | |
| 147 [self makeKeyAndOrderFront:nil]; | |
| 148 } else { | |
| 149 [self close]; | |
| 150 } | |
| 151 } | |
| 152 | |
| 140 | 153 |
| 141 @end | 154 @end |
| 142 | 155 |
| 143 | 156 |
| 144 @implementation MainWindowController | 157 @implementation MainWindowController |