Mercurial > mplayer.hg
annotate Gui/mplayer/gtk/common.h @ 19822:db95db082c37
Move subtitles and OSD section from the installation to the usage chapter.
author | diego |
---|---|
date | Wed, 13 Sep 2006 14:30:44 +0000 |
parents | 273bdef43012 |
children | 945fa0eb37c0 |
rev | line source |
---|---|
8172 | 1 |
2 #ifndef __COMMON_H | |
3 #define __COMMON_H | |
4 | |
5 #include <gdk/gdkkeysyms.h> | |
6 #include <gtk/gtk.h> | |
7 | |
8299 | 8 extern GtkWidget * AddDialogFrame( GtkWidget * parent ); |
19081
273bdef43012
Mark several string parameters that are not modified in the function as const.
diego
parents:
8719
diff
changeset
|
9 extern GtkWidget * AddFrame( const char * title,int type,GtkWidget * parent,int add ); |
273bdef43012
Mark several string parameters that are not modified in the function as const.
diego
parents:
8719
diff
changeset
|
10 extern GtkWidget * AddLabel( const char * title,GtkWidget * parent ); |
8299 | 11 extern GtkWidget * AddVBox( GtkWidget * parent,int type ); |
8172 | 12 extern GtkWidget * AddHBox( GtkWidget * parent,int type ); |
19081
273bdef43012
Mark several string parameters that are not modified in the function as const.
diego
parents:
8719
diff
changeset
|
13 extern GtkWidget * AddCheckButton( const char * title, GtkWidget * parent ); |
273bdef43012
Mark several string parameters that are not modified in the function as const.
diego
parents:
8719
diff
changeset
|
14 extern GtkWidget * AddRadioButton( const char * title,GSList ** group,GtkWidget * parent ); |
273bdef43012
Mark several string parameters that are not modified in the function as const.
diego
parents:
8719
diff
changeset
|
15 extern GtkWidget * AddButton( const char * title,GtkWidget * parent ); |
8172 | 16 extern GtkWidget * AddHSeparator( GtkWidget * parent ); |
17 extern GtkWidget * AddHButtonBox( GtkWidget * parent ); | |
18 extern GtkWidget * AddHScaler( GtkAdjustment * adj,GtkWidget * parent,int digit ); | |
8299 | 19 extern GtkWidget * AddVScaler( GtkAdjustment * adj,GtkWidget * parent,int digit ); |
20 extern GtkWidget * AddComboBox( GtkWidget * parent ); | |
8719
dc27303ae528
correct widget destroy event handler (thank for D J Hawkey Jr <hawkeyd@visi.com>)
pontscho
parents:
8299
diff
changeset
|
21 extern void WidgetDestroy( GtkWidget * widget,GtkWidget ** widget_pointer ); |
8172 | 22 |
23 #endif |