--- Steve Hosgood <> wrote:

<snip>

> I propose then that every single instrument on the cockpit has the
> ability to be double-clicked, and if so then a separate draggable window
> appears containing a magnified view of that same instrument. 

Hi Steve,

Personally I think this is a fine idea, and indeed gets around the
challenge of having generic dialog boxes that don't match specific
instruments. I'm not sure whether it would need to be magnified, it would
be sufficient just to display them at "normal" resolution (e.g. 128X128
for most round gauges, 256x60 (ish) for radio stacks).

However, I don't know whether we can easily display the gauges in windows
by themselves - I'm not familiar with the graphics routines we have, but I
suspect that we are stuck with a single rendered window (as opposed to
dialogs created using GUI widgets), unless we want to take huge perf hits.

I think the main issue here is with the radios, GPS and autopilot. One
simple solution would be to create a "radio" panel for the plane
containing these components, the visibility of which could be toggled
either from the menu, or from a keypress.

The downside to this approach are:
- each plane would need to have the panel created specifically (unless
someone wants to write a generic routine to pick up all the appropriate
controls and automagically generate a panel on the fly)
- The panel couldn't be dragged and dropped - though it could be shifted
using the normal controls.
- I don't think we'd be able to use the double-click idea, as that
normally causes two increments/decrements.  

On the plus side:
- I think this is quite easy to implement using the existing code, so is
fairly "safe" for v1.0.0
- Just about anyone could do it - it's just a bit of messing around with
panels, so we can all pitch in.
- You can bind the key normally used for the radio dialog to displaying
this specific panel.

-Stuart


        
        
                
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com

_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to