On 17/03/11 03:53, MacArthur, Ian (SELEX GALILEO, UK) wrote: >> That'd be the FLTK Human Interface Guidelines we started a >> while back (not quite complete): >> >> http://www.fltk.org/hig.php >> >> These were also applied to FLUID in the 1.1.x days and should >> still be present in 1.3.x. Not sure about FLUID in 2.0, however... > Yes - that looks like it; though looking at it again, I'm now less > worried that Ben's change actually is a problem (though it does make the > fltk-2 widget "back to front" wrt the fltk1.x version of the same.) > The reason for the change was less to do with reversing the order that the buttons came up and more to do with the draw order. As it stood, the buttons are drawn right-to-left, which means keyboard navigation is actually backwards - if you want to move your focus left, you have to hit the *right* arrow. That's the main reason that I changed that. WRT to the labels, it seems to make the most sense that calling choice("<message here>", "option 1", "option2", "option3"); would display choices in that order, as well as setting the default choice to the first one (in the absence of any other overrides like the "*" character). If it violates the HIG though, I'm happy to change it back. It's only a 2 character change!
Regards, Ben _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
