1
0
Fork 0
fgdata/gui/dialogs/devel-extensions.xml
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

48 lines
995 B
XML

<?xml version="1.0"?>
<PropertyList>
<name>devel-extensions</name>
<modal>false</modal>
<layout>vbox</layout>
<text>
<label>Configure Development Extensions</label>
</text>
<hrule/>
<group>
<layout>vbox</layout>
<halign>center</halign>
<checkbox>
<halign>left</halign>
<label>Enable development dialog widgets (HUD and rendering dialog)</label>
<property>/sim/gui/devel-widgets</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>Enable '/'-key property handler (see $FG_ROOT/Nasal/prop_key_handler.nas)</label>
<property>/sim/input/property-key-handler</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
</group>
<button>
<legend>Close</legend>
<default>true</default>
<key>Esc</key>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
</PropertyList>