Rev 366 | Rev 377 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 366 | Rev 369 | ||
---|---|---|---|
Line 352... | Line 352... | ||
352 | (StringPtr)_strdup("\pChoose filter settings"), // "\p" means "Pascal string" |
352 | (StringPtr)_strdup("\pChoose filter settings"), // "\p" means "Pascal string" |
353 | #else |
353 | #else |
354 | (StringPtr)_strdup("\026Choose filter settings"), |
354 | (StringPtr)_strdup("\026Choose filter settings"), |
355 | #endif |
355 | #endif |
356 | &sfr,&reply,types,2, |
356 | &sfr,&reply,types,2, |
357 | "All supported files (*.afs, *.8bf, *.pff, *.prm, *.bin, *.txt; *.ffx)\0*.afs;*.8bf;*.pff;*.prm;*.bin;*.txt;*.ffx\0Filter Factory Settings (*.afs, *.txt)\0*.afs;*.txt\0Filter Factory for Windows, Standalone Filter (*.8bf)\0*.8bf\0Premiere TF/FF Settings (*.pff, *.txt)\0*.pff;*.txt\0Premiere TT/FF for Windows, Standalone Filter (*.prm)\0*.prm\0FilterFactory for MacOS, Standalone Filter (*.bin)\0*.bin\0\"Filters Unlimited\" filter (*.ffx)\0*.ffx\0All files (*.*)\0*.*\0\0" |
357 | "All supported files (*.afs, *.8bf, *.pff, *.prm, *.bin, *.txt; *.ffx)\0*.afs;*.8bf;*.pff;*.prm;*.bin;*.txt;*.ffx\0Filter Factory Settings (*.afs, *.txt)\0*.afs;*.txt\0Filter Factory for Windows, Standalone Filter (*.8bf)\0*.8bf\0Premiere TF/FF Settings (*.pff)\0*.pff\0Premiere TT/FF for Windows, Standalone Filter (*.prm)\0*.prm\0FilterFactory for MacOS, Standalone Filter (*.bin)\0*.bin\0\"Filters Unlimited\" filter (*.ffx)\0*.ffx\0All files (*.*)\0*.*\0\0" |
358 | #ifdef _WIN32 |
358 | #ifdef _WIN32 |
359 | ,gdata->hWndMainDlg |
359 | ,gdata->hWndMainDlg |
360 | #endif /* _WIN32 */ |
360 | #endif /* _WIN32 */ |
361 | )){ |
361 | )){ |
362 | bak_obfusc = gdata->obfusc; |
362 | bak_obfusc = gdata->obfusc; |
Line 385... | Line 385... | ||
385 | #else |
385 | #else |
386 | (StringPtr)_strdup("\024Save filter settings"), |
386 | (StringPtr)_strdup("\024Save filter settings"), |
387 | #endif |
387 | #endif |
388 | (StringPtr)_strdup("\0"), |
388 | (StringPtr)_strdup("\0"), |
389 | TEXT_FILETYPE,SIG_SIMPLETEXT,&reply,&sfr, |
389 | TEXT_FILETYPE,SIG_SIMPLETEXT,&reply,&sfr, |
390 | "afs","Settings file (.afs, .txt)\0*.afs;*.txt\0All files (*.*)\0*.*\0\0",1 |
390 | "afs","All supported files (.afs, .txt; *.pff)\0*.afs;*.txt;*.pff\0Filter Factory Settings (*.afs, *.txt)\0*.afs;*.txt\0Premiere TF/FF Settings (*.pff)\0*.pff\0All files (*.*)\0*.*\0\0",1 |
391 | #ifdef _WIN32 |
391 | #ifdef _WIN32 |
392 | ,gdata->hWndMainDlg |
392 | ,gdata->hWndMainDlg |
393 | #endif /* _WIN32 */ |
393 | #endif /* _WIN32 */ |
394 | )){ |
394 | )){ |
395 | if(savefile(&sfr)) |
395 | if(savefile_afs_pff(&sfr)) |
396 | completesave(&reply); |
396 | completesave(&reply); |
397 | } |
397 | } |
398 | break; |
398 | break; |
399 | case MAKEITEM: |
399 | case MAKEITEM: |
400 | if (gdata->standalone) return true; // should not happen since the button should be grayed out |
400 | if (gdata->standalone) return true; // should not happen since the button should be grayed out |