Commit c60b89f4 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: added a profile management system to the video effects (refs #7342)

This way, you can keep multiple sets of filters with their respective values and switch on-the-fly
parent cd17d27f
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
intf_thread_t *p_intf; intf_thread_t *p_intf;
IBOutlet id o_window; IBOutlet id o_window;
IBOutlet id o_tableView; IBOutlet id o_tableView;
IBOutlet id o_profile_pop;
/* basic */ /* basic */
IBOutlet id o_adjust_ckb; IBOutlet id o_adjust_ckb;
...@@ -131,7 +132,6 @@ ...@@ -131,7 +132,6 @@
/* generic */ /* generic */
+ (VLCVideoEffects *)sharedInstance; + (VLCVideoEffects *)sharedInstance;
- (IBAction)toggleWindow:(id)sender;
- (void)resetValues; - (void)resetValues;
- (void)setVideoFilter: (char *)psz_name on:(BOOL)b_on; - (void)setVideoFilter: (char *)psz_name on:(BOOL)b_on;
- (void)setVideoFilterProperty: (char *)psz_name forFilter: (char*)psz_filter integer: (int)i_value; - (void)setVideoFilterProperty: (char *)psz_name forFilter: (char*)psz_filter integer: (int)i_value;
...@@ -139,6 +139,12 @@ ...@@ -139,6 +139,12 @@
- (void)setVideoFilterProperty: (char *)psz_name forFilter: (char *)psz_filter string: (char *)psz_value; - (void)setVideoFilterProperty: (char *)psz_name forFilter: (char *)psz_filter string: (char *)psz_value;
- (void)setVideoFilterProperty: (char *)psz_name forFilter: (char *)psz_filter boolean: (BOOL)b_value; - (void)setVideoFilterProperty: (char *)psz_name forFilter: (char *)psz_filter boolean: (BOOL)b_value;
- (IBAction)toggleWindow:(id)sender;
- (IBAction)profileSelectorAction:(id)sender;
- (IBAction)addProfile:(id)sender;
- (IBAction)removeProfile:(id)sender;
/* basic */ /* basic */
- (IBAction)enableAdjust:(id)sender; - (IBAction)enableAdjust:(id)sender;
- (IBAction)adjustSliderChanged:(id)sender; - (IBAction)adjustSliderChanged:(id)sender;
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment