]> git.sesse.net Git - vlc/blob - modules/gui/macosx/TrackSynchronization.h
macosx: try to correctly hide fspanel
[vlc] / modules / gui / macosx / TrackSynchronization.h
1 /*****************************************************************************
2  * TrackSynchronization.h: MacOS X interface module
3  *****************************************************************************
4  * Copyright (C) 2011-2012 VLC authors and VideoLAN
5  * Copyright (C) 2011-2012 Felix Paul Kühne
6  * $Id$
7  *
8  * Authors: Felix Paul Kühne <fkuehne -at- videolan -dot- org>
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
23  *****************************************************************************/
24
25 #import <Cocoa/Cocoa.h>
26
27
28 @interface VLCTrackSynchronization : NSObject {
29     /* generic */
30     IBOutlet id o_window;
31     intf_thread_t *p_intf;
32     IBOutlet id o_reset_btn;
33
34     /* Audio / Video */
35     IBOutlet id o_av_lbl;
36     IBOutlet id o_av_advance_lbl;
37     IBOutlet id o_av_value_fld;
38     IBOutlet id o_av_stp;
39
40     /* Subtitles / Video */
41     IBOutlet id o_sv_lbl;
42     IBOutlet id o_sv_advance_lbl;
43     IBOutlet id o_sv_advance_value_fld;
44     IBOutlet id o_sv_advance_stp;
45     IBOutlet id o_sv_speed_lbl;
46     IBOutlet id o_sv_speed_value_fld;
47     IBOutlet id o_sv_speed_stp;
48     IBOutlet id o_sv_dur_lbl;
49     IBOutlet id o_sv_dur_value_fld;
50     IBOutlet id o_sv_dur_stp;
51 }
52
53 /* generic */
54 + (VLCTrackSynchronization *)sharedInstance;
55
56 - (void)updateCocoaWindowLevel:(NSInteger)i_level;
57 - (IBAction)toggleWindow:(id)sender;
58 - (IBAction)resetValues:(id)sender;
59 - (void)updateValues;
60
61 /* Audio / Video */
62 - (IBAction)avValueChanged:(id)sender;
63
64 /* Subtitles / Video */
65 - (IBAction)svAdvanceValueChanged:(id)sender;
66 - (IBAction)svSpeedValueChanged:(id)sender;
67 - (IBAction)svDurationValueChanged:(id)sender;
68 @end