Mercurial > mplayer.hg
annotate gui/mplayer/widgets.h @ 33507:2a1a52ba0d70
Make variables static that are only used inside the file.
There is no need to declare them extern.
author | ib |
---|---|
date | Sun, 12 Jun 2011 06:48:10 +0000 |
parents | 12ae3b893c59 |
children | 276eef06fb3d |
rev | line source |
---|---|
26458 | 1 /* |
2 * This file is part of MPlayer. | |
3 * | |
4 * MPlayer is free software; you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as published by | |
6 * the Free Software Foundation; either version 2 of the License, or | |
7 * (at your option) any later version. | |
8 * | |
9 * MPlayer is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
14 * You should have received a copy of the GNU General Public License along | |
15 * with MPlayer; if not, write to the Free Software Foundation, Inc., | |
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
17 */ | |
18 | |
26029 | 19 #ifndef MPLAYER_GUI_WIDGETS_H |
20 #define MPLAYER_GUI_WIDGETS_H | |
23077 | 21 |
22 #include <stdio.h> | |
23 #include <stdlib.h> | |
24 #include <gdk/gdkkeysyms.h> | |
25 #include <gtk/gtk.h> | |
26 | |
26382
b2f4abcf20ed
Make include paths consistent; do not use ../ in them.
diego
parents:
26365
diff
changeset
|
27 #include "config.h" |
b2f4abcf20ed
Make include paths consistent; do not use ../ in them.
diego
parents:
26365
diff
changeset
|
28 #include "osdep/shmem.h" |
23077 | 29 #include "play.h" |
30 #include "mplayer.h" | |
26365
10dfbc523184
Add gui/ prefix to some #include paths so that compilation from the
diego
parents:
26029
diff
changeset
|
31 #include "gui/interface.h" |
10dfbc523184
Add gui/ prefix to some #include paths so that compilation from the
diego
parents:
26029
diff
changeset
|
32 #include "gui/wm/ws.h" |
23077 | 33 |
34 #define GTK_MB_SIMPLE 0 | |
35 #define GTK_MB_MODAL 1 | |
36 #define GTK_MB_FATAL 2 | |
37 #define GTK_MB_ERROR 4 | |
38 #define GTK_MB_WARNING 8 | |
39 | |
40 extern GtkWidget * PlayList; | |
41 extern GtkWidget * Options; | |
42 extern GtkWidget * PopUpMenu; | |
43 | |
44 extern GtkWidget * WarningPixmap; | |
45 extern GtkWidget * ErrorPixmap; | |
46 | |
47 extern GtkWidget * SkinList; | |
48 extern GtkWidget * gtkMessageBoxText; | |
49 | |
50 extern int gtkPopupMenu; | |
51 extern int gtkPopupMenuParam; | |
52 | |
53 extern char * sbMPlayerDirInHome; | |
54 extern char * sbMPlayerPrefixDir; | |
55 | |
56 extern Pixmap guiIcon; | |
57 extern Pixmap guiIconMask; | |
58 | |
28051 | 59 void widgetsCreate( void ); |
23077 | 60 |
28051 | 61 void gtkInit( void ); |
62 void gtkAddIcon( GtkWidget * window ); | |
23077 | 63 |
28051 | 64 int gtkFillSkinList( gchar * dir ); |
65 void gtkClearList( GtkWidget * list ); | |
66 void gtkSetDefaultToCList( GtkWidget * list, char * item ); | |
67 int gtkFindCList( GtkWidget * list, char * item ); | |
23077 | 68 |
28051 | 69 void gtkEventHandling( void ); |
23077 | 70 |
28051 | 71 void gtkShow( int type, char * param ); |
72 void gtkMessageBox( int type, const gchar * str ); | |
73 void gtkSetLayer( GtkWidget * wdg ); | |
74 void gtkActive( GtkWidget * wdg ); | |
23077 | 75 |
26029 | 76 #endif /* MPLAYER_GUI_WIDGETS_H */ |