MacArthur, Ian (SELEX GALILEO, UK) wrote:
>> my idea is that i want to have 3 large buttons aligned 
>> vertically on the left half of a screen, and on the right 
>> half i want to have an Fl_Help view widget, that changes it 
>> contents while i mouse-over the buttons. the idea is that the 
>> user might choose the button that he wants to press depending 
>> on the right hand side content, and only then press the 
>> button to start loading some stuff / level / etc.
> 
> I assume you need more info than is readily displayed in a simple
> tooltip?

        Yes, I've seen this kind of thing the OP describes to avoid
        the relatively "distracting" tooltips. Basically a 'status bar'
        equivalent for help text.. definitely a bit less distracting,
        though always takes up a fixed screen space.

        I used this in Shadetree, having seen it used on the old Symbolics
        systems. Some 3D programs use this too in place of tooltips, like Maya.

        Should be fine to do that, I figure detecting FL_ENTER/FL_LEAVE
        events for the buttons should do the trick. Deriving a class from
        the buttons should do the trick.. just pass in the widget pointer
        to the main app's text widget as the 'userdata', and it should be
        fairly easy.

        You may find Fl_Help is overkill.. probably just a regular
        Fl_Output or even Fl_Box with FL_ALIGN_INSIDE label is all that's
        needed with 'wrap' enabled. You might not want images flashing on
        and off during mouse rollover.. that might be more I/O and screen
        activity than you want for regular mouse gestures.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to