summaryrefslogtreecommitdiffstats
path: root/gui/mplayer/widgets.h
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-23 07:42:42 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-23 07:42:42 +0000
commit5c9abf7f9f02a3b675072b2725c2814d1c1ee239 (patch)
tree8e213b4087e2b185725c378bd01c495de587c759 /gui/mplayer/widgets.h
parentc9e2a43f1ae48831b0110abc6d92e51b325cf863 (diff)
downloadmpv-5c9abf7f9f02a3b675072b2725c2814d1c1ee239.tar.bz2
mpv-5c9abf7f9f02a3b675072b2725c2814d1c1ee239.tar.xz
Gui --> gui
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23095 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'gui/mplayer/widgets.h')
-rw-r--r--gui/mplayer/widgets.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/gui/mplayer/widgets.h b/gui/mplayer/widgets.h
new file mode 100644
index 0000000000..3821a82b9c
--- /dev/null
+++ b/gui/mplayer/widgets.h
@@ -0,0 +1,61 @@
+
+#ifndef __MY_WIDGET
+#define __MY_WIDGET
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <gdk/gdkkeysyms.h>
+#include <gtk/gtk.h>
+
+#include "../config.h"
+#include "../osdep/shmem.h"
+#include "play.h"
+#include "mplayer.h"
+#include "interface.h"
+#include "wm/ws.h"
+
+#define GTK_MB_SIMPLE 0
+#define GTK_MB_MODAL 1
+#define GTK_MB_FATAL 2
+#define GTK_MB_ERROR 4
+#define GTK_MB_WARNING 8
+
+extern GtkWidget * PlayList;
+extern GtkWidget * Options;
+extern GtkWidget * PopUpMenu;
+
+extern GtkWidget * WarningPixmap;
+extern GtkWidget * ErrorPixmap;
+
+extern GtkWidget * SkinList;
+extern GtkWidget * gtkMessageBoxText;
+
+extern int gtkPopupMenu;
+extern int gtkPopupMenuParam;
+
+extern char * sbMPlayerDirInHome;
+extern char * sbMPlayerPrefixDir;
+
+extern GdkPixmap * gtkIcon;
+extern GdkBitmap * gtkIconMask;
+extern Pixmap guiIcon;
+extern Pixmap guiIconMask;
+
+extern void widgetsCreate( void );
+
+extern void gtkInit( void );
+extern void gtkAddIcon( GtkWidget * window );
+
+extern int gtkFillSkinList( gchar * dir );
+extern void gtkClearList( GtkWidget * list );
+extern void gtkSetDefaultToCList( GtkWidget * list,char * item );
+extern int gtkFindCList( GtkWidget * list,char * item );
+
+extern void gtkEventHandling( void );
+
+extern void gtkShow( int type,char * param );
+extern void gtkMessageBox( int type,const gchar * str );
+extern void gtkSetLayer( GtkWidget * wdg );
+extern void gtkActive( GtkWidget * wdg );
+
+#endif