Mercurial > mplayer.hg
annotate gui/dialog/dialog.h @ 35998:05f75ac2dd8b
Make HideEquConfig() static.
It only has file scope.
In order to do so, relocate the functions.
Additionally, remove unnecessary declaration.
author | ib |
---|---|
date | Fri, 29 Mar 2013 14:09:40 +0000 |
parents | 2f7308a37ac6 |
children | d2d776c8e040 |
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 | |
35529 | 19 #ifndef MPLAYER_GUI_DIALOG_H |
20 #define MPLAYER_GUI_DIALOG_H | |
23077 | 21 |
22 #include <stdio.h> | |
23 #include <stdlib.h> | |
24 #include <gdk/gdkkeysyms.h> | |
25 #include <gtk/gtk.h> | |
33529 | 26 #include <X11/Xlib.h> |
33542 | 27 #include <X11/Xproto.h> |
23077 | 28 |
26382
b2f4abcf20ed
Make include paths consistent; do not use ../ in them.
diego
parents:
26365
diff
changeset
|
29 #include "osdep/shmem.h" |
35529 | 30 #include "gui/ui/actions.h" |
23077 | 31 #include "mplayer.h" |
32 | |
33 #define GTK_MB_SIMPLE 0 | |
34 #define GTK_MB_MODAL 1 | |
35 #define GTK_MB_FATAL 2 | |
36 #define GTK_MB_ERROR 4 | |
37 #define GTK_MB_WARNING 8 | |
38 | |
33538 | 39 extern GtkWidget *Options; |
23077 | 40 |
33538 | 41 extern GtkWidget *WarningPixmap; |
42 extern GtkWidget *ErrorPixmap; | |
23077 | 43 |
33538 | 44 extern GtkWidget *SkinList; |
45 extern GtkWidget *gtkMessageBoxText; | |
23077 | 46 |
33538 | 47 extern int gtkPopupMenu; |
48 extern int gtkPopupMenuParam; | |
23077 | 49 |
33538 | 50 extern char *sbMPlayerDirInHome; |
51 extern char *sbMPlayerPrefixDir; | |
23077 | 52 |
33529 | 53 typedef struct { |
33543
10f9498fada1
Use small icon for property KWM_WIN_ICON, if available.
ib
parents:
33542
diff
changeset
|
54 Pixmap small; |
10f9498fada1
Use small icon for property KWM_WIN_ICON, if available.
ib
parents:
33542
diff
changeset
|
55 Pixmap small_mask; |
33538 | 56 Pixmap normal; |
57 Pixmap normal_mask; | |
33542 | 58 int collection_size; |
33925 | 59 long *collection; |
33529 | 60 } guiIcon_t; |
61 | |
62 extern guiIcon_t guiIcon; | |
23077 | 63 |
33538 | 64 void widgetsCreate(void); |
23077 | 65 |
35629 | 66 void gtkInit(char *display_name); |
33538 | 67 void gtkAddIcon(GtkWidget *window); |
23077 | 68 |
33538 | 69 int gtkFillSkinList(gchar *dir); |
70 void gtkClearList(GtkWidget *list); | |
71 void gtkSetDefaultToCList(GtkWidget *list, char *item); | |
72 int gtkFindCList(GtkWidget *list, char *item); | |
23077 | 73 |
33538 | 74 void gtkEventHandling(void); |
23077 | 75 |
33538 | 76 void gtkShow(int type, char *param); |
77 void gtkMessageBox(int type, const gchar *str); | |
35638
78d9cfd68b34
Cosmetic: Use parameter name 'window' for a GtkWindow.
ib
parents:
35629
diff
changeset
|
78 void gtkSetLayer(GtkWidget *window); |
78d9cfd68b34
Cosmetic: Use parameter name 'window' for a GtkWindow.
ib
parents:
35629
diff
changeset
|
79 void gtkActive(GtkWidget *window); |
23077 | 80 |
35529 | 81 #endif /* MPLAYER_GUI_DIALOG_H */ |