I've just added a developer feature that I've missed for a long time:
a display where properties are shown and continuously updated.

There are three ways to use it:

(1) property browser:

    - Shift-click on a property to add the property to the display list
    - Shift-Ctrl-click on any property to reset and hide the display

(2) property key handler  (that thingy on the '/' key that has to be
    activated via  Menu->Debug->Configure Development-Extensions; see
    $FG_ROOT/Nasal/prop_key_handler.nas for details)

    - /<property>! to add the propert  (e.g /o<TAB>h<TAB>! to display
      /orientation/heading-deg)
    - /! (that is: root or empty property) to reset and hide the display

(3) Nasal code:

    - screen.property_display.add(<property>), where <property> can
      be a property path name or a props.Node hash
    - screen.property_display.reset() to reset and hide the display

The display is shown on the top left, the font is light yellow, the
display is updated every 0.5 sec. The update loop doesn't run if
there's nothing to show, so there's no performance penalty.

m.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to