Changeset 120
- Timestamp:
- Feb 10, 2006, 7:17:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r107 r120 255 255 if (![fPrefsWindow isVisible]) 256 256 { 257 NSRect prefsFrame, screenRect; 258 NSPoint point; 259 260 prefsFrame = [fPrefsWindow frame]; 261 screenRect = [[NSScreen mainScreen] visibleFrame]; 262 point.x = (screenRect.size.width - prefsFrame.size.width) * 0.5; 263 point.y = screenRect.origin.y + screenRect.size.height * 0.67 + 264 prefsFrame.size.height * 0.33; 265 266 [fPrefsWindow setFrameTopLeftPoint: point]; 257 [fPrefsWindow center]; 267 258 } 268 259
Note: See TracChangeset
for help on using the changeset viewer.