diff options
author | Pixel <Pixel> | 2002-09-29 17:57:04 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2002-09-29 17:57:04 +0000 |
commit | 0e191c285677600f9852bff10e2bede5799883fa (patch) | |
tree | ede64e524aa4ea1d9a8b6f3111ce0f8968b8c88e /PcsxSrc/Linux/GtkGui.c | |
parent | 75d6916ec69878af6649dd41ccdc41b5df807230 (diff) |
Petits changements ;-)
Diffstat (limited to 'PcsxSrc/Linux/GtkGui.c')
-rw-r--r-- | PcsxSrc/Linux/GtkGui.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/PcsxSrc/Linux/GtkGui.c b/PcsxSrc/Linux/GtkGui.c index c3d8f4f..03ab7a1 100644 --- a/PcsxSrc/Linux/GtkGui.c +++ b/PcsxSrc/Linux/GtkGui.c @@ -64,6 +64,7 @@ void OnHelp_About(); GtkWidget *Window = NULL;
GtkWidget *ConfDlg;
+GtkWidget *DebugDlg; GtkWidget *AboutDlg;
GtkWidget *FileSel;
@@ -803,6 +804,9 @@ void OnCpu_Ok() { psxCpu->Reset();
}
+ Btn = lookup_widget(CpuDlg, "GtkCheckButton_CpuLog"); + Config.Log = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(Btn)); + Btn = lookup_widget(CpuDlg, "GtkCheckButton_PsxOut");
Config.PsxOut = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(Btn));
@@ -858,6 +862,9 @@ void OnConf_Cpu() { Btn = lookup_widget(CpuDlg, "GtkCheckButton_Cpu");
gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(Btn), Config.Cpu);
+ Btn = lookup_widget(CpuDlg, "GtkCheckButton_CpuLog");
+ gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(Btn), Config.Log);
+
Btn = lookup_widget(CpuDlg, "GtkCheckButton_PsxOut");
gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(Btn), Config.PsxOut);
@@ -1093,6 +1100,20 @@ void OnConf_Conf() { if (Window != NULL) gtk_widget_set_sensitive(Window, FALSE);
gtk_main();
}
+ +void OnDebug() { + DebugDlg = create_DebugDlg(); + gtk_widget_show_all(DebugDlg); + + if (Window != NULL) gtk_widget_set_sensitive(Window, FALSE); + gtk_main(); +} + +void OnDebug_Ok() { + gtk_widget_destroy(DebugDlg);
+ if (Window != NULL) gtk_widget_set_sensitive(Window, TRUE);
+ gtk_main_quit();
+} void OnHelp_Help() {
}
|