]> git.mxchange.org Git - flightgear.git/commit
I wrote:
authordavid <david>
Sun, 17 Nov 2002 00:04:57 +0000 (00:04 +0000)
committerdavid <david>
Sun, 17 Nov 2002 00:04:57 +0000 (00:04 +0000)
commit8eb735d1490963611f3c932b1b327ec9ae500028
tree6584d6f4f22a83a56a1d1127f9d0a08658b70d64
parenta53ccae248035dd84efe870d831faec5207f7b31
I wrote:
 > Jim Wilson wrote:
 > > How hard would it be to have a property that toggles hotspot
 > > visibility?  It'd be nice to be able to turn it on and have yellow
 > > rectangles show up on the hotspots...
 >
 > That's not a bad idea.

It's actually an astoundingly good idea, and implementable over lunch
to boot. :)

Try the attached patch, which predicates the boxes on the
/sim/panel-hotspots property.  I mapped a toggle event on this to a
spare joystick button, and had fun. :)

[dpm: bound to Ctrl-C]
src/Cockpit/panel.cxx
src/Cockpit/panel.hxx