Mercurial > mplayer.hg
annotate gui/mplayer/widgets.h @ 24108:51cd49ee92d6
Use new request_channels
author | reimar |
---|---|
date | Thu, 23 Aug 2007 20:29:57 +0000 |
parents | 1cb14b091f46 |
children | 3baf6a2283da |
rev | line source |
---|---|
23077 | 1 |
23689
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
23685
diff
changeset
|
2 #ifndef GUI_WIDGETS_H |
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
23685
diff
changeset
|
3 #define GUI_WIDGETS_H |
23077 | 4 |
5 #include <stdio.h> | |
6 #include <stdlib.h> | |
7 #include <gdk/gdkkeysyms.h> | |
8 #include <gtk/gtk.h> | |
9 | |
10 #include "../config.h" | |
11 #include "../osdep/shmem.h" | |
12 #include "play.h" | |
13 #include "mplayer.h" | |
14 #include "interface.h" | |
15 #include "wm/ws.h" | |
16 | |
17 #define GTK_MB_SIMPLE 0 | |
18 #define GTK_MB_MODAL 1 | |
19 #define GTK_MB_FATAL 2 | |
20 #define GTK_MB_ERROR 4 | |
21 #define GTK_MB_WARNING 8 | |
22 | |
23 extern GtkWidget * PlayList; | |
24 extern GtkWidget * Options; | |
25 extern GtkWidget * PopUpMenu; | |
26 | |
27 extern GtkWidget * WarningPixmap; | |
28 extern GtkWidget * ErrorPixmap; | |
29 | |
30 extern GtkWidget * SkinList; | |
31 extern GtkWidget * gtkMessageBoxText; | |
32 | |
33 extern int gtkPopupMenu; | |
34 extern int gtkPopupMenuParam; | |
35 | |
36 extern char * sbMPlayerDirInHome; | |
37 extern char * sbMPlayerPrefixDir; | |
23795 | 38 extern char * sbMPlayerDirInHome_obsolete; |
39 extern char * sbMPlayerPrefixDir_obsolete; | |
23077 | 40 |
41 extern GdkPixmap * gtkIcon; | |
42 extern GdkBitmap * gtkIconMask; | |
43 extern Pixmap guiIcon; | |
44 extern Pixmap guiIconMask; | |
45 | |
46 extern void widgetsCreate( void ); | |
47 | |
48 extern void gtkInit( void ); | |
49 extern void gtkAddIcon( GtkWidget * window ); | |
50 | |
51 extern int gtkFillSkinList( gchar * dir ); | |
52 extern void gtkClearList( GtkWidget * list ); | |
53 extern void gtkSetDefaultToCList( GtkWidget * list,char * item ); | |
54 extern int gtkFindCList( GtkWidget * list,char * item ); | |
55 | |
56 extern void gtkEventHandling( void ); | |
57 | |
58 extern void gtkShow( int type,char * param ); | |
59 extern void gtkMessageBox( int type,const gchar * str ); | |
60 extern void gtkSetLayer( GtkWidget * wdg ); | |
61 extern void gtkActive( GtkWidget * wdg ); | |
62 | |
63 #endif |