summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.h
diff options
context:
space:
mode:
authordynaflash <[email protected]>2008-10-14 17:34:23 +0000
committerdynaflash <[email protected]>2008-10-14 17:34:23 +0000
commitf2b3f4b94b12f2c70923274fceeded392f2df846 (patch)
tree30527b489508f5f9e7c058825dab743e27f691b3 /macosx/Controller.h
parent18daea7ae350040ce3307d18e3cedcb9e9c5f5f2 (diff)
MacGui: Finally!! Nested Presets - Initial implementation
- Currently just in the Built In presets. - Special thanks to jbrjake for updating the new built in presets :) -- jbrjake's notes on built in preset changes: --- no more blind, broke, bedlam, or deux six quatre presets --- detelecine and decomb for animation and television high profile presets --- new x264 settings for most presets, which are still in a state of flux --- iPod Hi-Rez renamed iPod Legacy, iPod Low-Rez renamed iPod Classic & iPod Nano, iPhone / iPod Touch renamed iPhone & iPod Touch - Make sure to Update your Built In presets. - Selecting the default preset (whether user specified or the hb default) automatically expands the proper parent folders - "Folders" are stored as a different type of preset with key "Folder" where a value of 1 is a folder and 0 is a regular preset. - Children presets (which can also be folder presets with their own children) are stored in an array in the folder preset with key "ChildrenArray" - Levels are limited to three (including the root level). - Though most of the code for creating custom user specified folders and dragging and dropping user presets into those folders is done, its not fully tested so is not currently implemented. In other words custom presets are still only at the root level. - Known issue: dragging and dropping within custom user presets seems a touch "glitchy". Though in testing presets have not been lost. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1831 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/Controller.h')
-rw-r--r--macosx/Controller.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/macosx/Controller.h b/macosx/Controller.h
index 60f6ce0d0..2c6f0d1cd 100644
--- a/macosx/Controller.h
+++ b/macosx/Controller.h
@@ -215,6 +215,7 @@ BOOL fIsDragging;
IBOutlet NSTextField * fPresetNewDesc;
IBOutlet NSPopUpButton * fPresetNewPicSettingsPopUp;
IBOutlet NSButton * fPresetNewPicFiltersCheck;
+ IBOutlet NSButton * fPresetNewFolderCheck;
IBOutlet NSTextField * fPresetSelectedDisplay;
NSString * AppSupportDirectory;
@@ -224,8 +225,10 @@ BOOL fIsDragging;
NSMutableDictionary * chosenPreset;
int curUserPresetChosenNum;
- int presetHbDefault; // this is 1 in "Default" preset key
- int presetUserDefault;// this is 2 in "Default" preset key
+ NSMutableDictionary *presetHbDefault; // this is 1 in "Default" preset key
+ NSMutableDictionary *presetUserDefault;// this is 2 in "Default" preset key
+ NSMutableDictionary *presetUserDefaultParent;
+ NSMutableDictionary *presetUserDefaultParentParent;
int presetCurrentBuiltInCount; // keeps track of the current number of built in presets
IBOutlet NSPanel * fAddPresetPanel;
/* new NSOutline View for the presets */