From 995a219b354e8e4d9395f466b72faa8f5c7d8f1d Mon Sep 17 00:00:00 2001 From: ThorstenB Date: Mon, 18 Apr 2011 22:57:42 +0200 Subject: [PATCH] Automatic tower positioning New option in "location of tower" dialog --- gui/dialogs/location-of-tower.xml | 48 ++++++++++++++++++++++--------- preferences.xml | 4 +-- 2 files changed, 37 insertions(+), 15 deletions(-) diff --git a/gui/dialogs/location-of-tower.xml b/gui/dialogs/location-of-tower.xml index effc2bc3f..badabbc96 100644 --- a/gui/dialogs/location-of-tower.xml +++ b/gui/dialogs/location-of-tower.xml @@ -35,15 +35,34 @@ table + + auto-tower + 0 + 0 + 2 + + /sim/tower/auto-position + true + + dialog-apply + auto-tower + + + - 00 + 10 right airport-id - 01 + 11 /sim/tower/airport-id + + + /sim/tower/auto-position + + 03 @@ -54,7 +73,7 @@ are not filled in on the COM radio retuning... I'm working on that part now. - 12 + 22 /instrumentation/comm[0]/frequencies/selected-mhz %-0.2f - 11 + 21 /instrumentation/comm[0]/airport-id - 13 + 23 true - 22 + 32 /instrumentation/comm[1]/frequencies/selected-mhz %-0.2f - 21 + 31 /instrumentation/comm[1]/airport-id - 23 + 33 true --> - 31 + 41 /sim/presets/airport-id - 33 + 43 true diff --git a/preferences.xml b/preferences.xml index 2d9925d48..0ad29c142 100644 --- a/preferences.xml +++ b/preferences.xml @@ -410,10 +410,10 @@ Started September 2000 by David Megginson, david@megginson.com 0 0 0 + true - true + true Cockpit View