1
0
Fork 0
Commit graph

164 commits

Author SHA1 Message Date
mfranz
bb8b06e294 - consider --units-meters option for altitude display (Note that the option
has to be given before a --wp or --flight-plan option to work.)
- let the "Remove" button remove the first entry by default, not the last.
  (Note that you can remove any entry if you selected it in the list first.
  Likewise you can insert a new waypoint at any position by selecting the
  respective entry.)
2006-05-11 14:56:55 +00:00
mfranz
3cf9901ce2 autopilot.xml: pick up initial mode
route-managers.xml: cosmetics
2006-05-10 20:24:21 +00:00
mfranz
446cc37d3c - more accurate menu entry for the Route Manager
- new dialog name
2006-05-10 09:43:18 +00:00
mfranz
3c28a4a142 - rename waypoints.xml -> route-manager.xml for consistency reasons
- increase lon/lat precision
2006-05-10 09:42:27 +00:00
mfranz
c620142778 display valid target altitudes only 2006-05-09 20:59:07 +00:00
mfranz
b73dec0724 use new route/waypoint management functions 2006-05-08 14:36:09 +00:00
mfranz
2d16a480ad waypoint manager dialog 2006-05-08 14:15:39 +00:00
mfranz
f7c5a40597 some more object-oriented-ness & cleanup 2006-04-06 09:48:38 +00:00
mfranz
ec42d928df initialize input field properties if necessary 2006-04-06 07:10:13 +00:00
mfranz
4a0b56deb3 - now that XML dialogs run their own Nasal namespace and have <open> and
<close> block, remove autopilot helper file autopilot.nas and (re)implement
  its functionality in autopilot.xml
- make AP dialog "bidirectional" and "live": all input fields are <live>
  (i.e. they are updated as the autopilot settings are changed, for example
  by panel actions or property browser changes)
- dialog input is only forwarded to the AP; no direct checkbox/radiobutton
  handling through widget operation, instead:
- changes to the AP properties operate checkboxes/radiobuttons

This makes the AP dialog always reflect the AP state. If the AP refuses
one setting and sets it back to something else, then the dialog will
immediately react and show the actual setting.
2006-04-05 20:24:21 +00:00
mfranz
cb2f06992f empty input fields. (You usually call that dialog to enter a new airport.
Use "reset"/Shift-Esc to go to the start airport again.)
2006-03-31 10:30:46 +00:00
mfranz
0aad05f9a8 - add title <hrule>
- remove comment about values not being permanent. (-> $FG_HOME/autosave.xml
2006-03-31 10:29:07 +00:00
mfranz
870ca890e9 high-res screenshots don't work; they save a huge image with 3x3 times the
same lowres screen
2006-03-31 10:27:05 +00:00
mfranz
753ac09c0d support filtering. The [Search] button is only there for people who don't
know that the <Tab> key validates the input, too.
2006-03-31 10:26:08 +00:00
mfranz
f0d7ab3766 - remove stale comment
- add the yellow title line  :-)
2006-03-25 07:49:52 +00:00
mfranz
d61de93a6e be slightly more efficient and slightly less verbose 2006-03-22 22:08:15 +00:00
mfranz
c7d736351f Stuart BUCHANAN: new layout; radio buttons for more clarity (for the user,
but also for fgfs)

mf: converted to use new <nasal> feature
2006-03-08 10:50:14 +00:00
mfranz
bd03e147d2 intermediate version: new layout, less sophisticated, but easier for beginners 2006-02-26 19:10:21 +00:00
mfranz
3e98f8353c cosmetics 2006-02-24 15:54:45 +00:00
mfranz
e2cd02bb72 fix slider 2006-02-24 11:01:17 +00:00
mfranz
581e834623 different names for start & stop tutorial 2006-02-24 11:00:50 +00:00
mfranz
d9bbddfe3d - make menuEnable() operate on all menus/items with that name (don't stop
when the first was found)
- disable tutorial entries if no tutorial is available
2006-02-23 18:52:32 +00:00
mfranz
c8abab1fcf add checkbox for carrier elevator operation;
let both carrier checkboxes affect all available carriers
2006-02-23 17:31:08 +00:00
mfranz
20f8329175 Stuart BUCHANAN: left align checkboxes
mf: add some space
2006-02-23 11:17:51 +00:00
mfranz
cc6c40026e not everyone likes the new version ... 2006-02-22 22:43:21 +00:00
mfranz
ceeb9503f8 Stuart BUCHANAN:
Nasal/XML based tutorial system
2006-02-22 17:03:42 +00:00
mfranz
a1a5a7e618 make input fields instantaneous, like the check- and radioboxes (which is
not only more consistent, but also makes the autopilot dialog act more like
the real device). Add a few rules. Move the checkboxes to the left, as it's
usually done in GUIs for switches that enable/disable a group of widgets.
2006-02-16 15:43:30 +00:00
mfranz
83257a80b8 Ctrl-P to print (because we can :-) 2006-02-15 16:37:23 +00:00
mfranz
2d0cc4d156 add "Print" button to print code to terminal window 2006-02-15 12:15:37 +00:00
mfranz
182d35ec17 save code on close 2006-02-15 10:38:13 +00:00
mfranz
fabf21cf8d add Nasal console to debug menu. Usage: enter Nasal code, press <TAB> to
leave edit field!, press <Return> to execute;  as an example try
screen.log.write("hello world"), or f16.canopy.open() in the F16,
or bo105.doors[3].move(0.3) in the Bo105 etc.
2006-02-15 10:33:38 +00:00
mfranz
26a03db5b6 Just a gimmick: make background color configurable. Maybe some dark color
might look nicer for certain aircraft specific splash screens. Test with:
$ fgfs --prop:/sim/gui/colors/splash-screen/blue=0.35
2006-02-12 20:37:21 +00:00
mfranz
f91a0a1396 the Helvetical.txf just doesn't work in brighter colors 2006-02-11 12:04:49 +00:00
mfranz
8e4bc2f2ce add message-display font specification 2006-02-04 13:07:19 +00:00
mfranz
24139b8600 use layouter and fixed font 2006-01-28 11:50:03 +00:00
curt
0dc95f3604 Add a check box to turn on/off background ATC chatter. 2006-01-09 14:40:01 +00:00
mfranz
df6d7171a6 - fps.xml: revive the traditional font color (a bit brighter than pure red)
- gui.nas: use 4-space indents like the rest of the file; waste slightly less
           cycles: checking for the property shouldn't be done in a loop at
           all, it only serves as a temporary solution
2005-12-16 12:14:43 +00:00
mfranz
fbd735408d implement frame rate display as transparent & draggable dialog
(ordered by Curt as Christmas present :-)
2005-12-15 22:00:31 +00:00
mfranz
5c4731ea93 s/OK/Close/; hrule; cleanup 2005-12-14 12:43:10 +00:00
mfranz
acebb0015a "OK" what? (If there's no title, then the button should at least tell us.) 2005-12-14 12:37:17 +00:00
mfranz
ab06f70d62 add UTC and local time (live updated) 2005-12-14 12:16:11 +00:00
mfranz
2409d0f6d3 use layouter; add <key> defs
- left column:  local (sim) time  (0-key)
- right column: daytimes          (1--7 key)
2005-12-14 10:38:38 +00:00
mfranz
f39389ed91 the VERA_12B font has been renamed to SANS_12B 2005-12-11 20:40:47 +00:00
mfranz
b8886814ec Access menu entries by their name. This way we can avoid fragile absolute
paths. (The label text isn't suitable for this, because it's subject to
translation.)
2005-12-09 10:34:43 +00:00
mfranz
4e4789b560 disable "Fuel & Payload" entry; this is enabled for YASim aircraft in gui.nas 2005-12-06 17:58:41 +00:00
mfranz
d98ab96831 set editable textboxes to "Yeukky Yellow"[TM] input field color 2005-11-09 18:25:16 +00:00
mfranz
a3471e2897 set "textbox" color; set "inputfield" colors (pending plib patch; will
be ignored when used with unpatched plib)
2005-11-09 17:49:25 +00:00
mfranz
eeff07c0e7 replace hard-coded HUD config dialog with NewGUI dialog 2005-11-09 10:42:34 +00:00
mfranz
759ff1b715 capitalization fix 2005-11-08 19:25:36 +00:00
mfranz
fc73b6d772 put "ATC communication" dialog vertically centered at the right screen
edge; there it doesn't obstruct the view at the runway, doesn't hide
important instruments, and is near the radio stack (where it belongs :-)
2005-11-07 00:06:02 +00:00