diff options
author | dynaflash <[email protected]> | 2008-10-14 17:34:23 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2008-10-14 17:34:23 +0000 |
commit | f2b3f4b94b12f2c70923274fceeded392f2df846 (patch) | |
tree | 30527b489508f5f9e7c058825dab743e27f691b3 /macosx/HBPresets.h | |
parent | 18daea7ae350040ce3307d18e3cedcb9e9c5f5f2 (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/HBPresets.h')
-rw-r--r-- | macosx/HBPresets.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/macosx/HBPresets.h b/macosx/HBPresets.h index e3b872cd7..e91041b66 100644 --- a/macosx/HBPresets.h +++ b/macosx/HBPresets.h @@ -13,15 +13,18 @@ - (NSMutableArray *) generateBuiltinPresets: (NSMutableArray *) UserPresets; /* Built-In Preset Dictionaries (one for each built in preset) */ +- (NSDictionary *)createApplePresetFolder; +- (NSDictionary *)createAppleIpodFamilyPresetFolder; +- (NSDictionary *)createBasicPresetFolder; +- (NSDictionary *)createGamingConsolesPresetFolder; +- (NSDictionary *)createHiProfilePresetFolder; + - (NSDictionary *)create360Preset; - (NSDictionary *)createAnimationPreset; - (NSDictionary *)createAppleTVPreset; -- (NSDictionary *)createBedlamPreset; -- (NSDictionary *)createBlindPreset; -- (NSDictionary *)createBrokePreset; +- (NSDictionary *)createAppleUniversalPreset; - (NSDictionary *)createClassicPreset; - (NSDictionary *)createCRFPreset; -- (NSDictionary *)createDeuxSixQuatrePreset; - (NSDictionary *)createFilmPreset; - (NSDictionary *)createiPhonePreset; - (NSDictionary *)createIpodHighPreset; |