Mercurial > mplayer.hg
annotate gui/dialog/dialog.h @ 35535:dad7efd97bbb
Relocate mixer assignment.
It need to be set only during a GUI_SET_MIXER call.
author | ib |
---|---|
date | Sun, 09 Dec 2012 12:16:14 +0000 |
parents | 8ad4d2fb46e8 |
children | 46b3d0bb76e0 |
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 *PlayList; |
40 extern GtkWidget *Options; | |
41 extern GtkWidget *PopUpMenu; | |
23077 | 42 |
33538 | 43 extern GtkWidget *WarningPixmap; |
44 extern GtkWidget *ErrorPixmap; | |
23077 | 45 |
33538 | 46 extern GtkWidget *SkinList; |
47 extern GtkWidget *gtkMessageBoxText; | |
23077 | 48 |
33538 | 49 extern int gtkPopupMenu; |
50 extern int gtkPopupMenuParam; | |
23077 | 51 |
33538 | 52 extern char *sbMPlayerDirInHome; |
53 extern char *sbMPlayerPrefixDir; | |
23077 | 54 |
33529 | 55 typedef struct { |
33543
10f9498fada1
Use small icon for property KWM_WIN_ICON, if available.
ib
parents:
33542
diff
changeset
|
56 Pixmap small; |
10f9498fada1
Use small icon for property KWM_WIN_ICON, if available.
ib
parents:
33542
diff
changeset
|
57 Pixmap small_mask; |
33538 | 58 Pixmap normal; |
59 Pixmap normal_mask; | |
33542 | 60 int collection_size; |
33925 | 61 long *collection; |
33529 | 62 } guiIcon_t; |
63 | |
64 extern guiIcon_t guiIcon; | |
23077 | 65 |
33538 | 66 void widgetsCreate(void); |
23077 | 67 |
33538 | 68 void gtkInit(void); |
69 void gtkAddIcon(GtkWidget *window); | |
23077 | 70 |
33538 | 71 int gtkFillSkinList(gchar *dir); |
72 void gtkClearList(GtkWidget *list); | |
73 void gtkSetDefaultToCList(GtkWidget *list, char *item); | |
74 int gtkFindCList(GtkWidget *list, char *item); | |
23077 | 75 |
33538 | 76 void gtkEventHandling(void); |
23077 | 77 |
33538 | 78 void gtkShow(int type, char *param); |
79 void gtkMessageBox(int type, const gchar *str); | |
80 void gtkSetLayer(GtkWidget *wdg); | |
81 void gtkActive(GtkWidget *wdg); | |
23077 | 82 |
35529 | 83 #endif /* MPLAYER_GUI_DIALOG_H */ |