Changeset 404 for trunk/Cocoa/F-Script Anywhere/Source
- Timestamp:
- 02/24/08 09:58:02 (17 years ago)
- Location:
- trunk/Cocoa/F-Script Anywhere/Source
- Files:
-
- 1 added
- 2 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/F-Script Anywhere/Source/FSAController.h
r226 r404 33 33 @interface FSAController : NSWindowController { 34 34 IBOutlet FSInterpreterView *interpreterView; 35 IBOutlet NSButtonCell *floatButtonCell; 36 IBOutlet NSButton *openBrowserButton; 37 IBOutlet NSButton *associateWithInterfaceButton; 35 38 System *system; 36 39 FSAViewAssociationController *viewAssociationController; -
trunk/Cocoa/F-Script Anywhere/Source/FSAController.m
r397 r404 40 40 @interface FSInterpreterView (FSAWorkaround) 41 41 - (CLIView *)cliView; 42 @end 43 44 @interface NSWindow (RoundedCorners) 45 - (void)setBottomCornerRounded:(BOOL)yn; 42 46 @end 43 47 … … 153 157 if (showInterpreter) { 154 158 NSAssert(window != nil, @"Can't get interpreter window!"); 159 if ([window respondsToSelector: @selector(setBottomCornerRounded:)]) 160 [window setBottomCornerRounded: NO]; // XXX otherwise we get black areas because the window isn't rounded 161 [window setContentBorderThickness: 30 forEdge: NSMinYEdge]; 162 // XXX why oh why is text not vertically centered in standard-sized buttons? 163 [openBrowserButton setFrameSize: NSMakeSize([openBrowserButton frame].size.width, 19)]; 164 [associateWithInterfaceButton setFrameSize: NSMakeSize([associateWithInterfaceButton frame].size.width, 19)]; 165 [floatButtonCell setBackgroundStyle: NSBackgroundStyleRaised]; 155 166 if (interpreterNum == 0) interpreterNum = ++numInterpWindows; 156 167 if ( (label = [self interpreterLabel]) != nil) {
Note:
See TracChangeset
for help on using the changeset viewer.