]> git.sesse.net Git - vlc/blob - modules/gui/macosx/about.h
macosx: fix avcodec-hw option implementation
[vlc] / modules / gui / macosx / about.h
1 /*****************************************************************************
2  * about.h: MacOS X About Panel
3  *****************************************************************************
4  * Copyright (C) 2001-2012 VLC authors and VideoLAN
5  * $Id$
6  *
7  * Authors: Derk-Jan Hartman <thedj@users.sourceforge.net>
8  *          Felix Paul Kühne <fkuehne -at- videolan.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 <WebKit/WebKit.h> //we need to be here, because we're using a WebView object below
26
27 /*****************************************************************************
28  * VLAboutBox interface
29  *****************************************************************************/
30 @interface VLAboutBox : NSObject
31 {
32     /* main about panel and stuff related to its views */
33     IBOutlet id o_about_window;
34     IBOutlet id o_name_version_field;
35     IBOutlet id o_revision_field;
36     IBOutlet id o_copyright_field;
37     IBOutlet id o_credits_textview;
38     IBOutlet id o_credits_scrollview;
39     IBOutlet id o_gpl_btn;
40     IBOutlet id o_name_field;
41     id o_color_backdrop;
42
43     NSTimer *o_scroll_timer;
44     float f_current;
45     float f_end;
46     NSTimeInterval i_start;
47     BOOL b_restart;
48     BOOL b_isSetUp;
49
50     /* generic help window */
51     IBOutlet id o_help_window;
52     IBOutlet WebView *o_help_web_view; //we may _not_ use id here because of method name collisions
53     IBOutlet id o_help_bwd_btn;
54     IBOutlet id o_help_fwd_btn;
55     IBOutlet id o_help_home_btn;
56
57     /* licence window */
58     IBOutlet id o_gpl_window;
59     IBOutlet id o_gpl_field;
60 }
61
62 + (VLAboutBox *)sharedInstance;
63 - (void)showAbout;
64 - (void)showHelp;
65 - (IBAction)showGPL:(id)sender;
66 - (IBAction)helpGoHome:(id)sender;
67
68 @end
69
70 @interface VLAboutColoredBackdrop : NSView
71
72 @end