summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.h
diff options
context:
space:
mode:
authordynaflash <[email protected]>2010-06-28 20:11:34 +0000
committerdynaflash <[email protected]>2010-06-28 20:11:34 +0000
commit185bb81f9be03b3d24590dc4edea21c56c7ccb8d (patch)
treebf5189526b73745f4633f7cb272fe8f1ccea3d70 /macosx/Controller.h
parentd6b8fa70071ed9ef8dfa6e7e9675cc2b9b4b01d5 (diff)
MacGui: Presets - Add abliity to modify width and height on a preset independent of the currently loaded settings via repurposing the old "Current" picture size setting in the add new preset dialogue.
- Changes "Current" to "Custom". - When Custom is selected two text fields for width and height appear, initially populated with the current picture settings which means that if not changed will behave as old "Current" settings used to. - Editable fields means the preset can be save to pic dimensions other than what is setup for the current encode setup. - For example you can have a dvd loaded up and then save a preset using say 1280 x 720 as max dims, even though the currently loaded source would not have allowed that before. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3419 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.h')
-rw-r--r--macosx/Controller.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/macosx/Controller.h b/macosx/Controller.h
index b4a94f295..742aa3a59 100644
--- a/macosx/Controller.h
+++ b/macosx/Controller.h
@@ -233,6 +233,10 @@ BOOL fIsDragging;
IBOutlet NSTextField * fPresetNewName;
IBOutlet NSTextField * fPresetNewDesc;
IBOutlet NSPopUpButton * fPresetNewPicSettingsPopUp;
+ IBOutlet NSTextField * fPresetNewPicWidth;
+ IBOutlet NSTextField * fPresetNewPicHeight;
+ IBOutlet NSBox * fPresetNewPicWidthHeightBox;
+
IBOutlet NSButton * fPresetNewPicFiltersCheck;
IBOutlet NSButton * fPresetNewFolderCheck;
IBOutlet NSTextField * fPresetSelectedDisplay;
@@ -423,6 +427,7 @@ BOOL fIsDragging;
- (void) loadPresets;
- (IBAction) customSettingUsed: (id) sender;
- (IBAction) showAddPresetPanel: (id) sender;
+- (IBAction) addPresetPicDropdownChanged: (id) sender;
- (IBAction) closeAddPresetPanel: (id) sender;
- (NSDictionary *)createPreset;