1
0
Fork 0
fgdata/gui/dialogs
mfranz 8e4209c5cb first stab at file-select dialog. Initial target dir can be set in
/sim/gui/dialogs/file-select/directory, the selected file's full path
is returned in /sim/gui/dialogs/file-select/directory. There will be
a gui.file_selector class that allows to have more than one of these
dialogs open, where each of them reports the result to a callback function.

The dialog toggles dotfile display with ctrl-click on the "." entry,
and switches to FG_ROOT and FG_HOME with ctrl-click and shift-click on
the ".." entry.

This dialog is ATM not used anywhere in fgfs, but might be needed by
add-ons, much like the xml.nas code. Note that backslashes are converted
to slashes, which should ensure that no characters can be sneaked in
on UNIX systems. This breaks files containing escaped characters on
MS Windows. Fix for that on request. :-)  Special characters (like German
umlauts) aren't displayed correctly, but properly returned. (Depending
on the plib font.)
2007-06-13 21:20:04 +00: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 - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
atc-ai.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
atc-dialog.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
atc-freq-display.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
atc-freq-search.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
autopilot.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
chat.xml Modified Files: 2006-10-10 05:23:38 +00:00
chat_full.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
clouds.xml use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00
exit.xml use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00
file-select.xml first stab at file-select dialog. Initial target dir can be set in 2007-06-13 21:20:04 +00:00
fps.xml use layouter and fixed font 2006-01-28 11:50:03 +00:00
gps.xml use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00
hud.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
instrument-failures.xml use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00
instruments.xml use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00
joystick-info.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
livery-select.xml livery handling: add sort option and next()/previous() methods 2007-06-05 14:21:12 +00:00
load_flight.xml "OK" what? (If there's no title, then the button should at least tell us.) 2005-12-14 12:37:17 +00:00
location-in-air.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
location-of-tower.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
location-on-ground.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
logging.xml use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00
marker-adjust.xml export <view> on [Dump], too 2007-03-26 22:48:10 +00:00
message.xml use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00
nasal-console.xml what about making sure the node exists? That way others can see the 2007-04-01 13:38:35 +00:00
NTPS_target_task.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
pilot_offset.xml use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00
property-browser.xml don't pause the update loop 2007-05-07 16:24:16 +00:00
radios.xml use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00
rendering.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
replay.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
route-manager.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
save_flight.xml "OK" what? (If there's no title, then the button should at least tell us.) 2005-12-14 12:37:17 +00:00
scenery_loading.xml Scenery Loading popup message 2004-07-22 02:59:59 +00:00
sound.xml Added volume control to the atc-chatter 2007-04-19 04:42:20 +00:00
static-lod.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
stopwatch.xml - fix Nasal error: "props.setDoubleValue() with non-number" 2007-05-31 14:31:08 +00:00
system-failures.xml use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00
timeofday.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
tutorial.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
weather.xml use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00
weather_scenario.xml - use <hrule/> and <vrule/> without dummy children 2007-03-26 15:25:27 +00:00
winds.xml use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00