From a5dcab7a5a2c2b350acb85e8d76a18e197fd792f Mon Sep 17 00:00:00 2001 From: david Date: Sun, 22 Dec 2002 20:22:11 +0000 Subject: [PATCH] Added a couple of simple demo dialogs, and bound the wind dialog to Ctrl-D. --- gui/hello.xml | 107 ----------------------------------------------- gui/location.xml | 87 ++++++++++++++++++++++++++++++++++++++ gui/winds.xml | 87 ++++++++++++++++++++++++++++++++++++++ keyboard.xml | 6 +-- 4 files changed, 177 insertions(+), 110 deletions(-) delete mode 100644 gui/hello.xml create mode 100644 gui/location.xml create mode 100644 gui/winds.xml diff --git a/gui/hello.xml b/gui/hello.xml deleted file mode 100644 index 8e230aac3..000000000 --- a/gui/hello.xml +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - dialog - - - - hello - 400 - 180 - false - - - 10 - 150 - - - - - 10 - 110 - 200 - 25 - - /orientation/roll-deg - - - - 10 - 80 - 200 - 25 - - /orientation/pitch-deg - - - - 10 - 50 - 200 - 25 - - /orientation/heading-deg - - - - - - - - - - - diff --git a/gui/location.xml b/gui/location.xml new file mode 100644 index 000000000..241e274f5 --- /dev/null +++ b/gui/location.xml @@ -0,0 +1,87 @@ + + + + + dialog + + + + location + 400 + 180 + false + + + 10 + 150 + + + + + 10 + 110 + 200 + 25 + + /position/longitude-deg + + + + 10 + 80 + 200 + 25 + + /position/latitude-deg + + + + 10 + 50 + 200 + 25 + + /position/altitude-ft + + + + + + + + + + + diff --git a/gui/winds.xml b/gui/winds.xml new file mode 100644 index 000000000..99e0cff31 --- /dev/null +++ b/gui/winds.xml @@ -0,0 +1,87 @@ + + + + + dialog + + + + winds + 400 + 180 + false + + + 10 + 150 + + + + + 10 + 110 + 200 + 25 + + /environment/wind-from-heading-deg + + + + 10 + 80 + 200 + 25 + + /environment/params/base-wind-speed-kt + + + + 10 + 50 + 200 + 25 + + /environment/params/gust-wind-speed-kt + + + + + + + + + + + diff --git a/keyboard.xml b/keyboard.xml index a3dda042d..a9c29d74a 100644 --- a/keyboard.xml +++ b/keyboard.xml @@ -42,10 +42,10 @@ calculated by adding 256 to the GLUT key value in glut.h. Ctrl-D - Dummy dialog + weather dialog - gui - hello + dialog-show + winds