From a8ab993ef2c8c68151a73532eb7094e4db105166 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 24 Jan 2003 03:20:11 +0000 Subject: [PATCH] Use an XML-configured exit dialog. --- gui/dialogs/exit.xml | 38 +++++++++++++++++++++++++++++ gui/menubar.xml | 58 ++++---------------------------------------- keyboard.xml | 3 ++- 3 files changed, 45 insertions(+), 54 deletions(-) create mode 100644 gui/dialogs/exit.xml diff --git a/gui/dialogs/exit.xml b/gui/dialogs/exit.xml new file mode 100644 index 000000000..ba3c79e0a --- /dev/null +++ b/gui/dialogs/exit.xml @@ -0,0 +1,38 @@ + + + + + exit + 180 + 100 + true + + + 10 + 70 + + + + + + + + \ No newline at end of file diff --git a/gui/menubar.xml b/gui/menubar.xml index 6a4366f78..9795e046d 100644 --- a/gui/menubar.xml +++ b/gui/menubar.xml @@ -48,7 +48,8 @@ - exit + dialog-show + exit @@ -79,17 +80,10 @@ - - - - old-properties-dialog - - - - + @@ -98,53 +92,11 @@ presets - - - - - old-preset-airport-dialog - - - + - old-preset-runway-dialog - - - - - - - old-preset-offset-distance-dialog - - - - - - - old-preset-altitude-dialog - - - - - - - old-preset-glideslope-dialog - - - - - - - old-preset-airspeed-dialog - - - - - - - old-preset-commit-dialog + old-properties-dialog diff --git a/keyboard.xml b/keyboard.xml index 1f37828f9..fc66eb89b 100644 --- a/keyboard.xml +++ b/keyboard.xml @@ -116,7 +116,8 @@ calculated by adding 256 to the GLUT key value in glut.h. ESC Prompt and quit FlightGear. - exit + dialog-show + exit