Search
lxdream.org :: lxdream/src/gui/main_win.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gui/main_win.c
changeset 447:3e095bfcb476
prev440:d9bd9b7a283f
next450:207461e79f21
author nkeynes
date Tue Oct 16 12:36:29 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Add gui error reporting
Add initial controller settings dialog
file annotate diff log raw
1.1 --- a/src/gui/main_win.c Sat Oct 13 03:58:31 2007 +0000
1.2 +++ b/src/gui/main_win.c Tue Oct 16 12:36:29 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: main_win.c,v 1.3 2007-10-13 03:58:31 nkeynes Exp $
1.6 + * $Id: main_win.c,v 1.4 2007-10-16 12:36:29 nkeynes Exp $
1.7 *
1.8 * Define the main (emu) GTK window, along with its menubars,
1.9 * toolbars, etc.
1.10 @@ -46,6 +46,7 @@
1.11 { "SaveState", GTK_STOCK_SAVE_AS, "_Save state...", "F3", "Create an lxdream save state", G_CALLBACK(save_state_action_callback) },
1.12 { "Debugger", NULL, "_Debugger", NULL, "Open debugger window", G_CALLBACK(debugger_action_callback) },
1.13 { "Exit", GTK_STOCK_QUIT, "E_xit", NULL, "Exit lxdream", G_CALLBACK(exit_action_callback) },
1.14 + { "PathSettings", NULL, "_Paths...", NULL, "Configure files and paths", G_CALLBACK(path_settings_callback) },
1.15 { "AudioSettings", NULL, "_Audio...", NULL, "Configure audio output", G_CALLBACK(audio_settings_callback) },
1.16 { "ControllerSettings", NULL, "_Controllers...", NULL, "Configure controllers", G_CALLBACK(controller_settings_callback) },
1.17 { "NetworkSettings", NULL, "_Network...", NULL, "Configure network settings", G_CALLBACK(network_settings_callback) },
1.18 @@ -193,3 +194,8 @@
1.19 {
1.20 return win->video;
1.21 }
1.22 +
1.23 +GtkWindow *main_window_get_frame( main_window_t win )
1.24 +{
1.25 + return GTK_WINDOW(win->window);
1.26 +}
.