Mercurial > mplayer.hg
annotate gui/dialog/dialog.h @ 36033:9b14dffbd894
Cosmetic: Order declarations alphabetically.
author | ib |
---|---|
date | Mon, 01 Apr 2013 08:06:52 +0000 |
parents | 8ae2e20462a7 |
children | e1d1d404ee9e |
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 <gtk/gtk.h> | |
33529 | 23 #include <X11/Xlib.h> |
23077 | 24 |
25 #define GTK_MB_SIMPLE 0 | |
26 #define GTK_MB_MODAL 1 | |
27 #define GTK_MB_FATAL 2 | |
28 #define GTK_MB_ERROR 4 | |
29 #define GTK_MB_WARNING 8 | |
30 | |
33529 | 31 typedef struct { |
33543
10f9498fada1
Use small icon for property KWM_WIN_ICON, if available.
ib
parents:
33542
diff
changeset
|
32 Pixmap small; |
10f9498fada1
Use small icon for property KWM_WIN_ICON, if available.
ib
parents:
33542
diff
changeset
|
33 Pixmap small_mask; |
33538 | 34 Pixmap normal; |
35 Pixmap normal_mask; | |
33542 | 36 int collection_size; |
33925 | 37 long *collection; |
33529 | 38 } guiIcon_t; |
39 | |
40 extern guiIcon_t guiIcon; | |
23077 | 41 |
33538 | 42 void gtkAddIcon(GtkWidget *window); |
43 void gtkEventHandling(void); | |
36033 | 44 int gtkFillSkinList(gchar *dir); |
45 void gtkInit(char *display_name); | |
33538 | 46 void gtkMessageBox(int type, const gchar *str); |
36033 | 47 void gtkRaise(GtkWidget *window); |
35638
78d9cfd68b34
Cosmetic: Use parameter name 'window' for a GtkWindow.
ib
parents:
35629
diff
changeset
|
48 void gtkSetLayer(GtkWidget *window); |
36033 | 49 void gtkShow(int type, char *param); |
23077 | 50 |
35529 | 51 #endif /* MPLAYER_GUI_DIALOG_H */ |