1
0
Fork 0
fgdata/gui/dialogs
Hooray e510c8917f Canvas Scripting Layer (Mapping):
- first stab at refactoring the map.nas module, and trying to let the API evolve according to our requirements
- split up the module into separate files (some of them will disappear soon)
- split up the "drawing" loops into separate functions so that they can be individually called
- move actual "drawing" to map_layers.nas
- introduce some OOP helpers to prepare a pure Layer-based design
- prepare helpers: LayeredMap, GenericMap, AirportMap (TODO: use a real "Layer" class)
- move airport features (taxiways, runways, parking, tower) to separate layers (i.e. canvas groups)
- avoid using a single update callback and use different layer-specific callbacks to update individual layers more efficiently
- add some boilerplate hashes to prepare the MVC design
- allow lazy updating of layers, where canvas groups are only populated on demand, to save some time during instantiation, i.e. loading an airport without "parking" selected, will only populate the layer once the checkbox is checked
- extend the original code such that it supports showing multiple airports at once
- add some proof of concept "navaid" layer using SVG files for navaid symbols (added only NDB symbol from wikimedia commons)

regressions:
- runway highlighting needs to be re-implemented
- parking highlighting will be done differently
- enforcing a specific drawing order for layers is currently not explicitly supported, so that taxiways may be rendered on top of runways

Also:

- integrated with the latest changes in git/master (HEAD) -i.e. metar support
- further generalized map.nas
- partially moved instantiation from Nasal space to XML space (WIP)
- create "toggle layer" checkboxes procedurally in Nasal space
- prepared the code to be better reusable in other dialogs (e.g. route manager, map dialog etc)
- completely removed the "highlighting" (runway/parking) feature for now, because we talked about re-implementing it anyhow
2012-09-29 21:16:31 +01:00
..
images Canvas Scripting Layer (Mapping): 2012-09-29 21:16:31 +01:00
about.xml Add additional information to the About dialog to help diagnostics, including the ability to copy/past key data. 2012-09-18 15:48:50 +01:00
AIcarrier.xml Whoops! 2012-07-21 09:34:00 +01:00
air.xml use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00
aircraft.xml use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00
airports.xml Canvas Scripting Layer (Mapping): 2012-09-29 21:16:31 +01:00
atc-ai.xml Fix ai-traffic GUI checkbox 2012-07-05 19:37:43 +02:00
atc-dialog.xml use <enabled>false</enabled> flag for widgets that shouldn't be drawn 2008-08-05 05:28:27 +00:00
atc-freq-display.xml use <enabled>false</enabled> flag for widgets that shouldn't be drawn 2008-08-05 05:28:27 +00:00
atc-freq-search.xml Update atc-frequency dialogs for revised command interface. 2011-12-27 22:56:48 +00:00
autopilot.xml Minor changes various dialogs to make generally consistent: 2010-12-27 20:19:31 +00:00
button-config.xml Menu bar changes to expose Joystick Configuration dialog, and minor 2012-09-03 22:22:09 +01:00
chat-menu.xml remove runway complementation (airportinfo() returns both sides now) 2008-09-23 20:12:48 +00:00
chat.xml - remove all key shortcuts ("Enter" for the default widget remains, of course) 2009-01-29 19:50:24 +00:00
chat_full.xml only "apply" the input field (not the textbox, as this appends a \n) 2009-02-16 16:31:43 +00:00
checklist.xml Add support for a Aircraft Checklists GUI item. 2012-09-18 11:29:17 +01:00
cockpit-view.xml Fix redout-slider, correct indentation. 2012-01-02 23:31:00 +01:00
devel-extensions.xml - remove property browser binding from the <SPACE> key 2007-11-26 16:12:37 +00:00
display.xml Minor dialog text updates 2011-07-29 20:54:56 +02:00
doc-browser.xml Documentation browser dialog (for files in /Docs - Thanks to Hooray) 2012-09-20 00:04:11 +02:00
environment-settings.xml Clean up Environment Setting dialog. 2012-09-19 10:22:30 +01:00
exit.xml - make dialog non-modal (doesn't buy us much and can cause annoying lockups) 2008-06-12 23:04:42 +00:00
file-select.xml Directory dialog 2011-08-21 15:00:45 +02:00
formation.xml Minor changes various dialogs to make generally consistent: 2010-12-27 20:19:31 +00:00
fps.xml New option to display frame latency. 2011-03-28 00:24:32 +02:00
frame-latency.xml New option to display frame latency. 2011-03-28 00:24:32 +02:00
gps.xml Minor changes various dialogs to make generally consistent: 2010-12-27 20:19:31 +00:00
hud.xml Add controls for lat/lon format to HUD config dialog, and clean up old (commented out) controls from the menu bar itself. 2012-01-06 00:03:11 +00:00
instrument-failures.xml Minor changes various dialogs to make generally consistent: 2010-12-27 20:19:31 +00:00
instruments.xml Live update dialog fields, so no (non-intuitive) key-press is required 2011-01-05 22:44:33 +01:00
jetways-adjust.xml Ryan Miller: Get rid of no-op jetway XML files. 2011-06-18 01:33:57 +02:00
jetways.xml Ryan Miller: Fix Jetway dialogue Nasal runtime error 2011-06-17 21:28:25 +02:00
joystick-config.xml Updates to the Joystick Configuration dialog. 2012-08-26 21:48:53 +01:00
joystick-info.xml set padding; no wrapping 2009-01-28 21:03:34 +00:00
local_weather.xml Thorsten Renk: local weather 1.18 2011-07-03 23:39:01 +02:00
local_weather_config.xml Adapted local weather package and menu to new submodule structure. 2011-06-13 22:27:44 +02:00
local_weather_tiles.xml Create an Environment Settings dialog for non-weather environment settings 2012-08-09 22:52:51 +01:00
local_weather_winds.xml Local weather v0.81 by Thorsten Renk 2010-08-03 08:18:14 +02:00
location-in-air.xml Location-in-Air: pick nearest VOR/NDB (fix#228) 2011-08-22 20:01:55 +02:00
location-of-tower.xml Automatic tower positioning 2011-04-18 22:57:42 +02:00
logging.xml use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00
lso-view.xml Modified Landing Signal Officer View - locks to the selected MP aircraft 2009-06-02 09:14:09 +00:00
map.xml Map dialog transparency option 2011-10-11 22:09:01 +02:00
marker-adjust.xml Bug fix. 2011-04-01 16:40:34 +01:00
message.xml use <enabled>false</enabled> flag for widgets that shouldn't be drawn 2008-08-05 05:28:27 +00:00
model-cockpit-view.xml Add model cockpit view dialog. 2010-10-12 23:17:35 +01:00
model-view-select.xml calling self should, of course, be supported 2009-02-05 21:19:04 +00:00
model-view.xml only open popup if there's something to choose from 2009-01-31 20:10:47 +00:00
multiplayer.xml Improve MP dialog and add option to configure AI traffic 2012-05-01 11:10:37 +02:00
nasal-console.xml Copy/Paste for the Nasal Console. 2012-09-13 00:32:51 +02:00
NTPS_target_task.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
overlay-select.xml make dialog resizable with Ctrl-dragging 2009-01-11 00:02:45 +00:00
pilot_offset.xml Minor changes various dialogs to make generally consistent: 2010-12-27 20:19:31 +00:00
property-browser.xml make dialog resizable with Ctrl-dragging 2009-01-10 21:59:27 +00:00
pushback.xml Set pushback force to 0 when the pushback dialog is closed 2011-02-19 22:00:13 +01:00
radios.xml Re-enable ATC frequency search dialog 2010-12-29 21:32:17 +00:00
random-failures.xml Minor changes various dialogs to make generally consistent: 2010-12-27 20:19:31 +00:00
rembrandt-buffers.xml Add shadow map to the list of available rendering buffers 2012-06-25 09:39:23 +02:00
rembrandt.xml Add film wear to the cinema postprocessing effects 2012-08-05 18:51:02 +02:00
rendering.xml Create an Environment Settings dialog for non-weather environment settings 2012-08-09 22:52:51 +01:00
replay.xml Avoid duplication of "findElementByName" function. 2012-03-24 12:45:58 +01:00
route-manager.xml Part of bug 885 2012-09-26 22:45:14 +01:00
scenario.xml Fix ai-traffic GUI checkbox 2012-07-05 19:37:43 +02:00
scenery_loading.xml Scenery Loading popup message 2004-07-22 02:59:59 +00:00
seaport.xml - a small script of Melchior that can be improved (Start from a seaport with a seaplane). 2010-09-02 12:10:29 +02:00
shaders-lightfield.xml Procedural Texturing 2012-08-07 09:01:14 +02:00
shaders.xml Add quality selection to lights 2012-07-22 10:08:04 +02:00
sound.xml Sound: trigger subsystem reinit instead of relying on property listener. 2012-09-21 21:11:57 +01:00
static-lod.xml Improve LOD dialog. 2011-10-03 12:19:09 +02:00
stereoscopic-view-options.xml Minor dialog text updates 2011-07-29 20:54:56 +02:00
stopwatch.xml Map dialog transparency option 2011-10-11 22:09:01 +02:00
system-failures.xml Minor changes various dialogs to make generally consistent: 2010-12-27 20:19:31 +00:00
tanker.xml allow aar-equipped aircraft to request a tanker everywhere without scenario 2009-03-15 16:13:55 +00:00
terrasync.xml Disable terrasync when libsvn support is missing. 2012-08-28 00:21:50 +02:00
timeofday.xml Improve keyboard control for replay system. 2011-10-03 20:27:19 +02:00
tutorial.xml tutorial submodule, part #2: adapt script/GUI to load module on demand 2011-06-05 21:37:58 +02:00
view.xml Minor UI layout changes. 2011-07-11 22:15:23 +01:00
weather-configuration.xml Create an Environment Settings dialog for non-weather environment settings 2012-08-09 22:52:51 +01:00
weather.xml Updated Weather dialog 2012-08-09 21:38:36 +01:00
winds.xml use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00