Search
lxdream.org :: lxdream/src/gui/gtkcb.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gui/gtkcb.c
changeset 480:d28c2992f5ee
prev477:9a373f2ff009
next486:9af294489aad
author nkeynes
date Wed Oct 31 11:53:35 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Fix miscellaneous warnings
file annotate diff log raw
1.1 --- a/src/gui/gtkcb.c Wed Oct 31 09:10:23 2007 +0000
1.2 +++ b/src/gui/gtkcb.c Wed Oct 31 11:53:35 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: gtkcb.c,v 1.6 2007-10-31 09:10:23 nkeynes Exp $
1.6 + * $Id: gtkcb.c,v 1.7 2007-10-31 11:53:35 nkeynes Exp $
1.7 *
1.8 * Action callbacks from the main window
1.9 *
1.10 @@ -23,27 +23,6 @@
1.11 #include "gui/gtkui.h"
1.12 #include "pvr2/pvr2.h"
1.13
1.14 -typedef gboolean (*file_callback_t)( const gchar *filename );
1.15 -
1.16 -static gboolean dreamcast_paused = FALSE;
1.17 -
1.18 -void dreamcast_pause()
1.19 -{
1.20 - if( dreamcast_is_running() ) {
1.21 - dreamcast_paused = TRUE;
1.22 - dreamcast_stop();
1.23 - }
1.24 -}
1.25 -
1.26 -void dreamcast_unpause()
1.27 -{
1.28 - if( dreamcast_paused ) {
1.29 - dreamcast_paused = FALSE;
1.30 - if( !dreamcast_is_running() ) {
1.31 - dreamcast_run();
1.32 - }
1.33 - }
1.34 -}
1.35
1.36
1.37 static void add_file_pattern( GtkFileChooser *chooser, char *pattern, char *patname )
1.38 @@ -249,6 +228,8 @@
1.39 save_file_dialog( "Save next scene...", pvr2_save_next_scene, "*.dsc", "lxdream scene file (*.dsc)", dir );
1.40 }
1.41
1.42 +int debug_window_get_selected_row( debug_window_t data );
1.43 +
1.44 void debug_step_action_callback( GtkAction *action, gpointer user_data)
1.45 {
1.46 debug_window_single_step(gtk_gui_get_debugger());
.