Mercurial > mplayer.hg
comparison Gui/mplayer/gtk/mb.c @ 4818:3473ca9ef158
new gui interface, and gtk moved into mplayer process. fork ... bleh :)
author | pontscho |
---|---|
date | Sat, 23 Feb 2002 15:12:55 +0000 |
parents | d435bda20a3e |
children | 153fc4ed86ad |
comparison
equal
deleted
inserted
replaced
4817:1e46f40dcd0e | 4818:3473ca9ef158 |
---|---|
19 case GTK_MB_ERROR: gtk_widget_hide( ErrorMessageBox ); break; | 19 case GTK_MB_ERROR: gtk_widget_hide( ErrorMessageBox ); break; |
20 case GTK_MB_WARNING: gtk_widget_hide( WarningMessageBox ); break; | 20 case GTK_MB_WARNING: gtk_widget_hide( WarningMessageBox ); break; |
21 } | 21 } |
22 */ | 22 */ |
23 gtk_widget_hide( MessageBox ); | 23 gtk_widget_hide( MessageBox ); |
24 gtkVisibleMessageBox=0; | |
25 } | 24 } |
26 | 25 |
27 void on_Ok_released( GtkButton * button,gpointer user_data ) | 26 void on_Ok_released( GtkButton * button,gpointer user_data ) |
28 { | 27 { |
29 gtk_widget_hide( MessageBox ); | 28 gtk_widget_hide( MessageBox ); |
30 gtkVisibleMessageBox=0; | |
31 gtkSendMessage( evMessageBox ); | |
32 } | 29 } |
33 | 30 |
34 GtkWidget * create_MessageBox( int type ) | 31 GtkWidget * create_MessageBox( int type ) |
35 { | 32 { |
36 GtkWidget * MessageBox; | 33 GtkWidget * MessageBox; |