summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-11-23 12:54:31 +0000
committerritsuka <[email protected]>2014-11-23 12:54:31 +0000
commit9e0dcb82bdbf0801b79b84241ab67088c2fb0553 (patch)
tree7eb8845516a8e3bb091e07a0eaa40e8459c1a93e /macosx/Controller.h
parent20e1a9b2e253fe2d59dbf64a878e735a8d4d7c91 (diff)
MacGui: moved the "add preset" window to its own window controller class. Keep the current settings when changing title or scanning a new file.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6538 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.h')
-rw-r--r--macosx/Controller.h19
1 files changed, 3 insertions, 16 deletions
diff --git a/macosx/Controller.h b/macosx/Controller.h
index 925aaab10..1dc56759d 100644
--- a/macosx/Controller.h
+++ b/macosx/Controller.h
@@ -148,20 +148,10 @@ extern NSString *keyTitleTag;
/* User Preset variables here */
HBPresetsManager * presetManager;
HBPresetsViewController * fPresetsView;
- IBOutlet NSMenu * presetsMenu;
+ IBOutlet NSMenu * presetsMenu;
IBOutlet NSDrawer * fPresetDrawer;
- IBOutlet NSTextField * fPresetNewName;
- IBOutlet NSTextField * fPresetNewDesc;
- IBOutlet NSPopUpButton * fPresetNewPicSettingsPopUp;
- IBOutlet NSTextField * fPresetNewPicWidth;
- IBOutlet NSTextField * fPresetNewPicHeight;
- IBOutlet NSBox * fPresetNewPicWidthHeightBox;
-
- IBOutlet NSButton * fPresetNewPicFiltersCheck;
- IBOutlet NSTextField * fPresetSelectedDisplay;
-
- IBOutlet NSPanel * fAddPresetPanel;
+ IBOutlet NSTextField * fPresetSelectedDisplay;
hb_handle_t * fHandle;
@@ -184,6 +174,7 @@ extern NSString *keyTitleTag;
of encode 0==idle, 1==encoding, 2==cancelled*/
int fEncodeState;
BOOL SuccessfulScan;
+ BOOL titleLoaded;
BOOL applyQueueToScan;
NSString * currentSource;
NSString * browsedSourceDisplayName;
@@ -295,13 +286,9 @@ extern NSString *keyTitleTag;
/* Manage User presets */
- (IBAction) customSettingUsed: (id) sender;
- (IBAction) showAddPresetPanel: (id) sender;
-- (IBAction) addPresetPicDropdownChanged: (id) sender;
-- (IBAction) closeAddPresetPanel: (id) sender;
-- (NSDictionary *)createPreset;
- (IBAction)selectDefaultPreset:(id)sender;
- (IBAction)addFactoryPresets:(id)sender;
-- (IBAction)addUserPreset:(id)sender;
-(void)sendToMetaX:(NSString *) filePath;
// Growl methods