Mercurial > mplayer.hg
annotate gui/dialog/dialog.h @ 37078:7471626e943e
Relocate add_vf().
Additionally, add doxygen comment.
author | ib |
---|---|
date | Thu, 24 Apr 2014 13:31:52 +0000 |
parents | cc70b0fb8d36 |
children |
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 |
36036 | 25 /// MessageBox types |
26 enum { | |
36680 | 27 MSGBOX_INFORMATION, |
36036 | 28 MSGBOX_WARNING, |
29 MSGBOX_ERROR, | |
30 MSGBOX_FATAL | |
31 }; | |
23077 | 32 |
33529 | 33 typedef struct { |
33543
10f9498fada1
Use small icon for property KWM_WIN_ICON, if available.
ib
parents:
33542
diff
changeset
|
34 Pixmap small; |
10f9498fada1
Use small icon for property KWM_WIN_ICON, if available.
ib
parents:
33542
diff
changeset
|
35 Pixmap small_mask; |
33538 | 36 Pixmap normal; |
37 Pixmap normal_mask; | |
33542 | 38 int collection_size; |
33925 | 39 long *collection; |
33529 | 40 } guiIcon_t; |
41 | |
42 extern guiIcon_t guiIcon; | |
23077 | 43 |
33538 | 44 void gtkAddIcon(GtkWidget *window); |
36070 | 45 void gtkEvents(void); |
36033 | 46 void gtkInit(char *display_name); |
33538 | 47 void gtkMessageBox(int type, const gchar *str); |
36033 | 48 void gtkRaise(GtkWidget *window); |
35638
78d9cfd68b34
Cosmetic: Use parameter name 'window' for a GtkWindow.
ib
parents:
35629
diff
changeset
|
49 void gtkSetLayer(GtkWidget *window); |
36033 | 50 void gtkShow(int type, char *param); |
23077 | 51 |
35529 | 52 #endif /* MPLAYER_GUI_DIALOG_H */ |