> 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.
Yes - and fltk-1.x has exactly the same issue, and I think it should be
fixed...
> 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).
I'm not sure about this - it always seems a bit backwards to me (the
ordering of the dialog buttons) but it is documented IIRC, and any code
that's out there will likely expect this ordering now.
For example, HIG guidelines usually specify where the "cancel" button of
the "default action" button ought to be, and this change may flip things
about. That might be a Bad Thing.
> If it violates the HIG though, I'm happy to change it back.
> It's only a
> 2 character change!
Rather than just changing the order the buttons are drawn, if we change
the drawing order and the co-ords so that things *look* the same on the
screen, that might be the "least surprise" option for the users?
It's what I'd favour for the fltk-1.x change, anyway...
SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14
3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev