summaryrefslogtreecommitdiffstats
path: root/gui/mplayer/gtk/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/mplayer/gtk/common.h')
-rw-r--r--gui/mplayer/gtk/common.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/gui/mplayer/gtk/common.h b/gui/mplayer/gtk/common.h
new file mode 100644
index 0000000000..d68a977622
--- /dev/null
+++ b/gui/mplayer/gtk/common.h
@@ -0,0 +1,24 @@
+
+#ifndef __COMMON_H
+#define __COMMON_H
+
+#include <gdk/gdkkeysyms.h>
+#include <gtk/gtk.h>
+
+extern GtkWidget * AddDialogFrame( GtkWidget * parent );
+extern GtkWidget * AddFrame( const char * title,int type,GtkWidget * parent,int add );
+extern GtkWidget * AddLabel( const char * title,GtkWidget * parent );
+extern GtkWidget * AddVBox( GtkWidget * parent,int type );
+extern GtkWidget * AddHBox( GtkWidget * parent,int type );
+extern GtkWidget * AddCheckButton( const char * title, GtkWidget * parent );
+extern GtkWidget * AddRadioButton( const char * title,GSList ** group,GtkWidget * parent );
+extern GtkWidget * AddSpinButton( const char * title,GtkAdjustment * adj,GtkWidget * parent );
+extern GtkWidget * AddButton( const char * title,GtkWidget * parent );
+extern GtkWidget * AddHSeparator( GtkWidget * parent );
+extern GtkWidget * AddHButtonBox( GtkWidget * parent );
+extern GtkWidget * AddHScaler( GtkAdjustment * adj,GtkWidget * parent,int digit );
+extern GtkWidget * AddVScaler( GtkAdjustment * adj,GtkWidget * parent,int digit );
+extern GtkWidget * AddComboBox( GtkWidget * parent );
+extern void WidgetDestroy( GtkWidget * widget,GtkWidget ** widget_pointer );
+
+#endif