1
0
Fork 0
Commit graph

136 commits

Author SHA1 Message Date
mfranz
2a20cdecf6 add transparency checkbox 2006-06-09 20:35:44 +00:00
mfranz
daaf1c5879 - fix indentation
- remove shadow devel checkbox, unless /sim/devel is set
2006-06-08 17:21:57 +00:00
mfranz
176d08e746 - update paths
- add color/clamp sliders in devel mode
2006-06-08 17:16:00 +00:00
mfranz
627da1ed88 add brightness slider 2006-06-07 19:43:45 +00:00
mfranz
715a7dc50e cosmetics 2006-05-26 10:42:45 +00:00
mfranz
dfe86f89e6 fix update() for the root dialog 2006-05-26 08:50:14 +00:00
mfranz
738b5eea60 who said cloning was bad? 2006-05-26 08:30:41 +00:00
mfranz
d01ec5042b from the cosmetics department ... 2006-05-25 18:12:52 +00:00
mfranz
ae4ac0ea2d two lines less is still three lines more than in the old dialog 2006-05-24 21:19:53 +00:00
mfranz
2281563b22 cleanup 2006-05-24 09:36:20 +00:00
mfranz
c1754859e3 update widget every two seconds in addition to the usual updates. This
works for tied() properties, too. Search for "update_interval" and set
it to 0 if you don't want these updates at all.
2006-05-23 20:30:32 +00:00
mfranz
b7f4916161 - improved layout (The close button was in the way. Is the "window" close
button oK?)
- print fancy hint in the title bar if someone selects a bool value
2006-05-23 09:46:57 +00:00
mfranz
efde6c834f alternative property browser. It is meant to replace the hardcoded browser,
but as this is an integral part of FlightGear, I don't want to push for it.
Try out and comment. It's available under "Debug/Property Browser". Note,
that this isn't the slow pure-Nasal implementation, but a regular dialog
using a c++ based widget. Only the handling is done in Nasal, so there should
really be not performance degradation compared with the old dialog.

Easter Eggs: some entries work differently when the Control-key is pressed:
"."         ->  toggle output of SGPropertyNode flags
".."        ->  go to root (not just one dir level)
bool entry  ->  toggle bool entry value
2006-05-22 17:42:57 +00:00
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
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
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
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
e2cd02bb72 fix slider 2006-02-24 11:01:17 +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
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
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
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
mfranz
30f26cfa4e close frequency search dialog on quick-button press; center frequency
search and display dialog; move atc dialog down a bit
2005-11-06 20:22:43 +00:00
mfranz
9fa98151db use <key>Esc</key> instead of <keynum>27</keynum> 2005-11-05 18:42:28 +00:00