2002-11-12 21:51:08 +00:00
|
|
|
|
2007-07-02 22:34:45 +00:00
|
|
|
#ifndef GUI_COMMON_H
|
|
|
|
#define GUI_COMMON_H
|
2002-11-12 21:51:08 +00:00
|
|
|
|
|
|
|
#include <gdk/gdkkeysyms.h>
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
2002-11-27 22:48:56 +00:00
|
|
|
extern GtkWidget * AddDialogFrame( GtkWidget * parent );
|
2006-07-14 16:57:24 +00:00
|
|
|
extern GtkWidget * AddFrame( const char * title,int type,GtkWidget * parent,int add );
|
|
|
|
extern GtkWidget * AddLabel( const char * title,GtkWidget * parent );
|
2002-11-27 22:48:56 +00:00
|
|
|
extern GtkWidget * AddVBox( GtkWidget * parent,int type );
|
2002-11-12 21:51:08 +00:00
|
|
|
extern GtkWidget * AddHBox( GtkWidget * parent,int type );
|
2006-07-14 16:57:24 +00:00
|
|
|
extern GtkWidget * AddCheckButton( const char * title, GtkWidget * parent );
|
|
|
|
extern GtkWidget * AddRadioButton( const char * title,GSList ** group,GtkWidget * parent );
|
2006-10-25 00:05:14 +00:00
|
|
|
extern GtkWidget * AddSpinButton( const char * title,GtkAdjustment * adj,GtkWidget * parent );
|
2006-07-14 16:57:24 +00:00
|
|
|
extern GtkWidget * AddButton( const char * title,GtkWidget * parent );
|
2002-11-12 21:51:08 +00:00
|
|
|
extern GtkWidget * AddHSeparator( GtkWidget * parent );
|
|
|
|
extern GtkWidget * AddHButtonBox( GtkWidget * parent );
|
|
|
|
extern GtkWidget * AddHScaler( GtkAdjustment * adj,GtkWidget * parent,int digit );
|
2002-11-27 22:48:56 +00:00
|
|
|
extern GtkWidget * AddVScaler( GtkAdjustment * adj,GtkWidget * parent,int digit );
|
|
|
|
extern GtkWidget * AddComboBox( GtkWidget * parent );
|
2003-01-02 15:48:29 +00:00
|
|
|
extern void WidgetDestroy( GtkWidget * widget,GtkWidget ** widget_pointer );
|
2002-11-12 21:51:08 +00:00
|
|
|
|
|
|
|
#endif
|