1
0
Fork 0
Commit graph

292 commits

Author SHA1 Message Date
mfranz
b360c2ad62 use <enabled>false</enabled> flag for widgets that shouldn't be drawn
instead of <hide>true</hide>. This is consistent with other places
in fgfs, like menu entries, hud elements, subsystem switches, etc.
2008-08-05 05:28:27 +00:00
mfranz
2040b96b4f s/show_widgets/enable_widgets/ (the function doesn't show anything) 2008-08-03 15:37:43 +00:00
mfranz
c404626aa8 enable hiding of widgets again, this time in a saner way :-) 2008-08-03 13:43:30 +00:00
mfranz
f76b748786 remove "devel-widgets" nasal block 2008-08-03 12:33:56 +00:00
mfranz
8e27a5d88d "var" & cosmetics 2008-07-30 21:56:18 +00:00
mfranz
0bbdaab69c add "var" keywords and other cosmetics 2008-07-30 21:54:42 +00:00
mfranz
ca13166765 fix checkbox for aircraft specific views (for some mysterious reason this
has suddenly stopped to work ... spooky!)
2008-07-30 21:54:01 +00:00
mfranz
8e2fe030c6 swap "save" and "load" to the typical order across operating systems, even
though the natural order would be "save" -> "load")
2008-07-29 00:09:57 +00:00
stuart
9eb46a5c67 Replace redout dialog with cockpit view dialog. Missing commit spotted by Ron Jensen. Revision 1.80 of data/gui/menubar.xml refers. 2008-07-27 20:57:38 +00:00
mfranz
abdc416f32 - remove "load flight"/"save flight" dialogs, and
- use a file selector instead
- file-select.xml: handle non-existing files correctly
2008-07-11 20:57:52 +00:00
mfranz
7707ddad32 - replace depreciated fgcommand "old-reinit-dialog" by "reset"
- keyboard.xml: cosmetics
2008-07-09 12:26:18 +00:00
mfranz
be7c7b0ad7 display aileron/elevator/rudder/throttle axis values 2008-06-15 22:12:47 +00:00
mfranz
219f8d9a3a - make dialog non-modal (doesn't buy us much and can cause annoying lockups)
- fix indentation/remove trailing spaces
2008-06-12 23:04:42 +00:00
mfranz
5aa1cb5296 change "Multiplayer" to "Network" because:
- Multiplayer is too long for a menu entry that is greyed out most of
  the time for many people
- I don't like having the word "player" in front of me all the time
  (FlightGear Is Not A Game[TM] :-)

Should we shorten it further to just "Net"?
2008-06-12 05:45:01 +00:00
stuart
c85be81196 Collate Dynamic Cockpit view toggle with blackout and G-compression toggles into a new Cockpit View Options dialog. 2008-06-11 21:20:43 +00:00
stuart
510842c15a Make Pilot List label consistent with rest of menu items. 2008-06-11 19:22:22 +00:00
mfranz
4f7481fea8 add Multiplayer menu with chat & pilot list 2008-06-11 18:40:51 +00:00
mfranz
6a577072da - write last clicked entry to /sim/gui/dialogs/property-browser/selected
- darken clone button
- cleanup & cosmetics
2008-05-14 10:19:17 +00:00
stuart
b6b4b5fe77 Add additional runway selection so the runway in use doesn't change as you roll past mid-point. Also fix possible bug for north-south runways. 2008-05-03 19:46:47 +00:00
mfranz
cd31d19946 add unit suffixes -nm and -deg to /sim/presets/offset-{distance,azimuth} 2008-05-01 21:15:40 +00:00
mfranz
4be84e1609 use more sophisticated screenshot binding from $FG_ROOT/keyboard.xml 2008-04-26 23:14:42 +00:00
mfranz
1544af3ab9 return negative key numbers to report key event as consumed 2008-04-26 13:27:27 +00:00
stuart
01d21c928a Add generic redout. 2008-04-23 20:44:57 +00:00
mfranz
d285a3598b - initialize /sim/rendering/on-screen-statistics, and
- increase it in steps from Menu->Debug
2008-04-21 14:21:14 +00:00
mfranz
88d8169764 - move OSG's "on-screen-statistics" function to the Debug menu
- add "print-statistics" menu entry
2008-04-20 18:28:11 +00:00
stuart
071c2e913b Change Weather menu to Environment. This more closely reflects its contents, as it includes a Time Settings menu. 2008-04-20 16:19:59 +00:00
mfranz
a2982254ab add 'random vegetation' checkbox. (Note that you won't see the effect
immediately!)
2008-04-20 08:46:36 +00:00
timoore
21331892cf precipitation dialog 2008-03-04 08:46:52 +00:00
stuart
dc4ad0dc80 Update to generic blackout, incorporating feedback from Melchior FRANZ:
- Update redout level every frame
 - Replace reading of properties every iteration with listeners
 - move -onset and -complete properties into a parameters subtree
2008-02-16 20:23:27 +00:00
stuart
dd923792ec Add generic blackout/redout for all aircraft, along with a gui.
Based on previous work by vivian and myself.
2008-02-16 08:26:59 +00:00
vmmeazza
921c8a5b5e Experimental formation menu 2008-02-11 18:34:19 +00:00
mfranz
ea3148949a use the destructor (which I had totally forgotten) 2008-01-23 21:26:30 +00:00
mfranz
7948776d89 insert WP list file on selected position, or append otherwise 2008-01-22 22:25:28 +00:00
mfranz
e22b74016e what about using string.trim() correctly?! 2008-01-22 20:03:00 +00:00
mfranz
1fd9c1d8f2 delete the file dialog, not the route manager dialog 2008-01-22 20:01:08 +00:00
mfranz
31c7d5d748 add button to load waypoint file (idea by Philip COBBIN) 2008-01-22 19:45:57 +00:00
mfranz
961e91520d - allow to hide views from this dialog by setting <hide type="bool">true</hide>
- deal better with (broken!) nameless views
2007-12-13 13:57:23 +00:00
mfranz
8bf50232da replace /sim/devel by /sim/gui/devel-widgets to enable/disable devel widgets 2007-12-11 15:50:58 +00:00
martin
33277e0730 Stuart Buchanan:
1) The chat menu will now select the runway closest to the aircraft
   when the aircraft is on the ground, or very low (< 100ft). This
   handles the case where the user has selected a runway explicitly,
   e.g. 01R for KSFO take-offs for noise abatement. My thanks for
   AnMaster for pointing this out on IRC. Note that above 100 ft, the
   wind-appropriate runway will still be used.
2) Change to keyboard description for the - key, as pointed out by
   Melchior.
2007-12-11 15:20:00 +00:00
mfranz
9090c1bf74 remove garbage 2007-12-08 19:31:19 +00:00
vmmeazza
4ee3367452 Stuart Buchanan:
Add chat menu
2007-12-08 19:01:03 +00:00
mfranz
e5db56287d Stuart BUCHANAN: s/Time of Day/Time Settings/ 2007-12-05 07:58:33 +00:00
mfranz
f671f0b0f7 add glide slope tunnel option to help menu 2007-12-04 10:51:45 +00:00
mfranz
46e35f9194 Stuart BUCHANAN: add warp and speed-up setting 2007-11-29 11:45:41 +00:00
mfranz
73c0285ef9 - remove property browser binding from the <SPACE> key
- rename prop-key-handler.nas to prop_key_handler.nas  (the hyphens were
  intentional, exactly to *make* using it as namespace less inviting,
  but times change ...)
- add property browser binding to the '/'-key for when the property key handler
  is turned off (/sim/input/property-key-handler=0). If it's on, use /: or
  /<property>: to open the browser.
- run keyboard event listener only when property key handler is active

I hope that the '/' key can keep this binding even after a keyboard review.
The '/' is just the most natural key for dealing with properties, and it's
far less prominent on non-US-keyboards (e.g. Shift-7 on German keyboards),
so it's not really very well suited for important aircraft functions, anyway.
But I don't insist. :-)
2007-11-26 16:12:37 +00:00
mfranz
2f187b28a4 add checkboxes for other views as well, but don't save their state anywhere 2007-11-20 17:26:21 +00:00
mfranz
73bbdd280d treat "Cockpit View" like other views; limit view.stepView() step to 1 and -1 2007-11-20 11:34:54 +00:00
mfranz
10c875f75e make system and aircraft views configurable in Menu->Views->View Options.
These are then skipped with view.stepView(n), unless the second, optional
argument is set to 1:  view.stepView(n, 1);
Whether a view is enabled or not, is saved in $FG_ROOT/.fgfs/autosave.xml
(system views) or $FG_ROOT/.fgfs/aircraft-data/<aircraft>.xml
2007-11-19 16:26:15 +00:00
mfranz
b498abaedc center close button 2007-11-18 16:00:13 +00:00
mfranz
0bca5bdea6 - add Debug->Development Extensions dialog with two checkboxes to
- allow turning on/off extra widgets for developers (HUD dialog: colors,
  rendering dialog: visualization of shadow edges), and to turn on/off new
- property key handler ('/'-key)

Both features are off by default, and their state is saved to autosave.xml.
2007-11-18 12:20:17 +00:00