Search
lxdream.org :: lxdream/src/gui/gtkui.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gui/gtkui.h
changeset 480:d28c2992f5ee
prev477:9a373f2ff009
next486:9af294489aad
author nkeynes
date Wed Oct 31 11:53:35 2007 +0000 (16 years ago)
permissions -rw-r--r--
last change Fix miscellaneous warnings
file annotate diff log raw
1.1 --- a/src/gui/gtkui.h Wed Oct 31 09:10:23 2007 +0000
1.2 +++ b/src/gui/gtkui.h Wed Oct 31 11:53:35 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: gtkui.h,v 1.9 2007-10-31 09:10:23 nkeynes Exp $
1.6 + * $Id: gtkui.h,v 1.10 2007-10-31 11:53:35 nkeynes Exp $
1.7 *
1.8 * Core GTK-based user interface
1.9 *
1.10 @@ -20,6 +20,7 @@
1.11 #define __lxdream_gtkui_H
1.12
1.13 #include <gtk/gtk.h>
1.14 +#include "lxdream.h"
1.15 #include "gui.h"
1.16 #include "cpu.h"
1.17
1.18 @@ -54,15 +55,19 @@
1.19
1.20 mmio_window_t mmio_window_new( const gchar *title );
1.21 void mmio_window_show( mmio_window_t win, gboolean show );
1.22 +void mmio_window_update(mmio_window_t win);
1.23
1.24 dump_window_t dump_window_new( const gchar *title );
1.25 +void dump_window_update_all();
1.26
1.27 void maple_dialog_run();
1.28 void path_dialog_run();
1.29
1.30 +void gtk_gui_update( void );
1.31 main_window_t gtk_gui_get_main();
1.32 debug_window_t gtk_gui_get_debugger();
1.33 mmio_window_t gtk_gui_get_mmio();
1.34 +void gtk_gui_show_mmio();
1.35 void gtk_gui_show_debugger();
1.36
1.37 /********************* Helper functions **********************/
1.38 @@ -71,10 +76,15 @@
1.39 void gtk_gui_enable_action( const gchar *action, gboolean enabled );
1.40 gint gtk_gui_run_property_dialog( const gchar *title, GtkWidget *panel, gtk_dialog_done_fn fn );
1.41
1.42 +
1.43 +typedef gboolean (*file_callback_t)( const gchar *filename );
1.44 +void open_file_dialog( char *title, file_callback_t action, char *pattern, char *patname,
1.45 + gchar const *initial_dir );
1.46 +
1.47 /**
1.48 * Construct a new pixbuf that takes ownership of the frame buffer
1.49 */
1.50 -GdkPixbuf *gdk_pixbuf_new_from_frame_buffer( frame_buffer_t );
1.51 +GdkPixbuf *gdk_pixbuf_new_from_frame_buffer( frame_buffer_t buffer );
1.52
1.53 void gdrom_menu_init();
1.54 GtkWidget *gdrom_menu_new();
.