1
0
Fork 0
Commit graph

147 commits

Author SHA1 Message Date
Anders Gidenstam
b024c81233 Nasal/gui.nas: Added missing var-keywords. 2012-03-23 22:25:31 +01:00
Gijs de Rooy
8e863bbd28 Allow shaders to be disabled/set through a commandline option.
Use --prop:/sim/rendering/shaders/quality-level=-1 to enable the custom
settings in the Shader Options dialog.
Apart from that the quality-level property will work as before (0 disables
all shaders, 5 puts all shaders to max.
2012-03-10 17:09:23 +01:00
Gijs de Rooy
3200e957f8 Hide load and save options from help menu, as they are broken/disabled. 2012-01-19 22:02:09 +01:00
Stuart Buchanan
34eb640a76 Further updates to the Multiplayer Settings dialog
- Now enabled even when no MP settings configured on command-line
- Add Server Status button to launch the MP Server status URL
- Minor layout cleanup.
2012-01-04 21:53:25 +00:00
Gijs de Rooy
bbb3f9682e Issue #429: help dialog and keyboard.xml descriptions now match the key-bindings. 2011-12-07 16:47:42 +01:00
ThorstenB
9195b36005 #441: overlay dialog must be reinitialized after reloading GUI 2011-09-18 12:36:40 +02:00
ThorstenB
fb984bf8ce Option to set screenshot directory. 2011-08-21 15:17:16 +02:00
ThorstenB
8e7d7012ce Directory dialog
New directory dialog - just an option for the existing file dialog really.
2011-08-21 15:00:45 +02:00
Torsten Dreyer
2abec7404a Remove i/I keybindings
Removing the currently unused keybindings for [Shift]I used
for cycling of HUD types. Also remove this from the help
dialog.

May be re-added for the next release, but currently there is
no HUD-type cycling implemented.
2011-07-12 23:24:32 +02:00
ThorstenB
539716828b Added GUI/menu item for scenery download/update. 2011-06-13 20:40:46 +02:00
ThorstenB
04fb5b3066 Adapting to new screen-shot command
Success/error report is now automatically displayed by a listener.
2011-06-13 20:38:04 +02:00
ThorstenB
3e3ecb49e2 Revert "issue #127: make screen shots work with OSG multi-threading"
This reverts commit 5106935b92ad31be69d4ef82ebb34305a658948e.
2011-06-13 00:58:26 +02:00
ThorstenB
7c8558274a Turn atc-chatter.nas into a separate submodule.
Moved atc-chatter.nas into subdirectory (file unmodified).
Load atc-chatter.nas on demand only.
2011-06-05 23:22:12 +02:00
ThorstenB
c3f8c1478a tutorial submodule, part #2: adapt script/GUI to load module on demand
tutorial.nas is now loaded (only) when "Start Tutorial" button is pressed.
2011-06-05 21:37:58 +02:00
ThorstenB
f082300e20 Tutorial improvements
Make tutorial dialog a proper window, clean-up menu.
Show welcome message to new user when tutorial available.
Repeat current tutorial message, when no user progress.
2011-06-02 19:11:05 +02:00
ThorstenB
b34be9cf92 issue #127: make screen shots work with OSG multi-threading
Use listener to report success/error messages for screen shots
(depends on simgear+fgdata update!)
2011-05-28 23:22:34 +02:00
ThorstenB
346b47cd5a Don't create properties for ghost tanks. 2011-04-02 11:29:40 +02:00
ThorstenB
7299d07dab New option to display frame latency.
Better property to evaluate simulation performance than frame rate.
2011-03-28 00:24:32 +02:00
Torsten Dreyer
3d3fa8131e Fix rendering bug: no precipitation
Synchronize /sim/rendering/precipitation-enable to
/sim/rendering/precipitation-gui-enable and
/sim/rendering/precipitation-aircraft-enable on startup
2011-03-14 20:51:56 +01:00
Gijs de Rooy
5c4bdb4a1f Revert adb57b8: screenshot directory dialog 2011-01-22 22:49:25 +01:00
Torsten Dreyer
2cf9732978 Add ctrl-z to the help dialog (reset visibility) 2011-01-19 20:02:53 +01:00
Gijs de Rooy
692d9c3717 Add screenshot dialog, to select directory 2011-01-15 22:48:43 +01:00
Stuart Buchanan
467b4eef16 Add function to allow the binding of a menu item to be configured
through Nasal using a symbolic name.

Usage:

gui.menuBind("radio", "dialogs.Radio.open()");
2011-01-03 17:28:40 +00:00
Stuart Buchanan
16b7ffba05 Consistent Close and title bars for Fuel & Payload, Wildfire and Route Manager dialogs. 2010-12-28 19:51:34 +00:00
James Turner
83c9e8b157 Change Nasal to use relative not absolute data paths
(requires current FG git)
2010-08-15 11:27:15 +01:00
torsten
a18db246f0 Disable the autopilot menu item if any of
KAP140
CENTURYIIB
CENTURYIII
autopilot is detected or the property
/autopilot/hide-menu
is present
2010-01-04 14:06:30 +00:00
torsten
e9bb24b8a2 Add the autovisibility functionality for the menubar.
If /sim/menubar/autovisibility/enabled is true, show the menubar when the mouse hits the upper edge of the window and hide the menubar on click outside a pui element.
2009-11-16 20:40:15 +00:00
mfranz
b465bd27a8 --prop:sim/multiplay/write-message-log=1 enables logging of MP messages
to $FG_HOME/mp-messages.log
2009-02-15 17:36:47 +00:00
mfranz
a1c1018aa2 Anders GIDENSTAM: adapt for unified tank level property (and do it right :-) 2009-02-06 23:14:49 +00:00
sydadams
22b9c908a9 Update jsb aircraft to use the changed tank/level-lbs property 2009-02-06 22:56:00 +00:00
mfranz
c31ab0ea96 showHelpDialog(): leave some margin for resizing 2009-01-12 12:27:41 +00:00
mfranz
1fc7581f77 add symbols for new cursors 2009-01-11 15:04:55 +00:00
mfranz
e96322b351 OverlaySelector: don't choke if there are no options 2009-01-11 02:42:33 +00:00
mfranz
198d1cb60f make dialog resizable with Ctrl-dragging 2009-01-10 22:31:30 +00:00
mfranz
291ba987d3 fuel dialog: add tank checkbox only if the "selected" property is actually
writable. This omits the box: <selected type="bool" write="n">1</selected>
2008-12-04 11:34:05 +00:00
mfranz
521954116c only enable precipitation if it's enabled in the gui
(/sim/rendering/precipitation-gui-enabled) *and* if the aircraft wants it
(/sim/rendering/precipitation-aircraft-enabled). Some aircraft model rain
on the windshield and want to turn rain off for interior views.
2008-11-23 09:53:46 +00:00
mfranz
2b77665c22 setCursor: complain and show options if wrong cursor name was given 2008-11-20 23:03:24 +00:00
mfranz
c74d6ee75e - make props.initNode a props.Node method
- props.nas: some minor improvements
2008-11-20 19:45:40 +00:00
mfranz
9976b71472 init: make sure /sim/tutorials actually exists 2008-11-15 19:40:28 +00:00
mfranz
78d1a6e631 OverlaySelector: check callback function explicitly for nil 2008-11-12 11:43:26 +00:00
mfranz
d1fd61c728 gui.nas: use nasal-dir-initialized signal for INIT func, so that it's
earlier available. (The settimer/1 was a workaround for another
    problem that should be fixed by now.)
globals.nas: load $FG_HOME/Nasal/ files as first settimer(0) function,
    so that it always comes after all nasal-dir-initialized callbacks

This should fix the glide_slope_tunnel/popupTip bug and makes the
startup order clearer and cleaner.
2008-11-11 14:54:51 +00:00
mfranz
2f76461c8c io.nas/stat: drop use of broken bits library
gui.nas/OverlaySelector: me.data is no longer a node; only sort once
2008-10-21 21:37:41 +00:00
mfranz
c5fe446f58 overlay-select.xml, gui.nas: fix overlay-dialog close(); add relpath() func
aircraft.nas: remove redundant data.add()
2008-10-19 12:34:09 +00:00
mfranz
32bf0f7265 gui.nas: remove trailing slashes in nameprop/sortprop
aircraft.nas: add generic overlay_update function, and make livery_update
         a wrapper for it
2008-10-19 11:52:56 +00:00
mfranz
da7d1ded71 aircraft.nas: make aircraft.livery a wrapper for gui.OverlaySelector
gui.nas: add file name to stored data (needed for MP-livery)
2008-10-16 15:26:19 +00:00
mfranz
a021ab0af0 - aircraft.nas: remove formation class (Deprecated only three hours ago.
Is this fast development, or what?! :-)
- gui.nas: remove debug message
2008-10-15 18:14:54 +00:00
mfranz
181dbba72c OverlaySelector: more robust path handling 2008-10-15 16:48:24 +00:00
mfranz
8c7e7cb994 OverlaySelector: add callback func arg; only store the file paths 2008-10-15 16:13:10 +00:00
mfranz
5d576f0e3d - gui.OverlaySelector: add optional sort criterion, add selection by index,
add next(), and previous() methods.
- aircraft.nas: deprecate formation class
2008-10-15 15:27:56 +00:00
mfranz
6a72126327 OverlaySelector: don't autosave choice. That's easy enough to do "by hand". 2008-10-14 18:48:54 +00:00