Home
last modified time | relevance | path

Searched refs:savPanel (Results 1 – 6 of 6) sorted by relevance

/dports/emulators/hatari/hatari-2.2.1/src/gui-osx/
H A DShared.m140 NSSavePanel *savPanel ;
144 savPanel = [NSSavePanel savePanel];
145 savPanel.canCreateDirectories = creatDir ;
147 { savPanel.allowedFileTypes = types ;
148 savPanel.allowsOtherFileTypes = YES ; } ;
149 if (titre != nil) savPanel.title = titre ;
151 // if ([savPanel respondsToSelector:@selector(setDirectoryURL:)])
153 if (defoFile!=nil) savPanel.nameFieldStringValue = defoFile ;
154 btOk = [savPanel runModal] == NSModalResponseOK; // Ok?
157 // btOk = [savPanel runModalForDirectory:defoDir file:defoFile] == NSOKButton ; // Ok ? deprec…
[all …]
H A DPrefsController.m493 savPanel.allowedFileTypes = @[@"cfg"] ;
494 savPanel.accessoryView = hartage ;
496 // if ([savPanel respondsToSelector:@selector(setDirectoryURL:)])
497 { savPanel.directoryURL = [NSURL fileURLWithPath:ru isDirectory:YES] ; // Since OS X 10.6
498 savPanel.nameFieldStringValue = @"hatari" ;
499 btOk = [savPanel runModal] == NSModalResponseOK ; // Ok ?
508 [configNm setString: savPanel.URL.path ];
532 // if ([savPanel respondsToSelector:@selector(setDirectoryURL:)])
533 savPanel.directoryURL = [NSURL fileURLWithPath:defaultDirectory isDirectory:YES] ;
535 // [savPanel setDirectory:defaultDirectory] ;
[all …]
H A DPrefsController.h143 NSSavePanel *savPanel ; variable
/dports/games/libretro-hatari/hatari-561c07e/src/gui-osx/
H A DShared.m140 NSSavePanel *savPanel ;
144 savPanel = [NSSavePanel savePanel];
145 [savPanel setCanCreateDirectories:creatDir];
147 { [savPanel setAllowedFileTypes:types] ;
148 [savPanel setAllowsOtherFileTypes:YES] ; } ;
149 if (titre != nil) [savPanel setTitle:titre] ;
151 if ([savPanel respondsToSelector:@selector(setDirectoryURL:)])
153 if (defoFile!=nil) [savPanel setNameFieldStringValue:defoFile] ;
154 btOk = [savPanel runModal] == NSOKButton ; // Ok?
157 …btOk = [savPanel runModalForDirectory:defoDir file:defoFile] == NSOKButton ; // Ok ? deprecated en…
[all …]
H A DPrefsController.m485 [savPanel setAllowedFileTypes:[NSArray arrayWithObject:@"cfg"]] ;
486 [savPanel setAccessoryView:hartage] ;
488 if ([savPanel respondsToSelector:@selector(setDirectoryURL:)])
490 [savPanel setNameFieldStringValue:@"hatari"] ;
491 btOk = [savPanel runModal] == NSOKButton ; // Ok ?
494 btOk = [savPanel runModalForDirectory:ru file:@"hatari"] == NSOKButton ; // avant 10.6
499 [configNm setString:[[savPanel URL] path]];
523 if ([savPanel respondsToSelector:@selector(setDirectoryURL:)])
524 [savPanel setDirectoryURL:[NSURL fileURLWithPath:defaultDirectory isDirectory:YES]] ;
526 [savPanel setDirectory:defaultDirectory] ;
[all …]
H A DPrefsController.h114 NSSavePanel *savPanel ; variable