On 15.12.2010 22:50, Greg Ercolano wrote:

> Albrecht Schlosser wrote:
>> Yes, this is already there, but I was surprised that I discovered
>> recently that the old macro NORMAL_INPUT_MOVE was still in use in
>> Fl_Input.cxx and Fl_Text_Editor.cxx.
>>
>> Greg, I fixed these by removing the obsolete and unused macro from
>> Fl_Text_Editor and by redefining it to use Fl::option(..) with some
>> comments that should make the values clear.
>
>       Hmm, should this change have changed the default behavior
>       of arrow key navigation?
>
>       I noticed in the test/input and test/navigation programs,
>       the arrow keys no longer navigate focus.

yup.

>       Before the change, NORMAL_INPUT_MOVE in Fl_Input defaults to 0.
>       With fltk-current, NORMAL_INPUT_MOVE in Fl_INput defaults to 1.

yup.

>       Was it decided that the default would be arrow keys don't
>       change focus now? If so, some example programs would need
>       changes. (Like examples/table-spreadsheet)

Yes, we decided to change it in FLTK 1.3, as discussed a while ago.

The new default in FLTK 1.3 is not to change the focus, because we
decided that this is the /normal/ behavior, in contrast to FLTK 1.1.
That's why we needed the option for backward-compatibility.

I updated the tooltips in test/preferences.fl accordingly (today):

"Switch this on, if you want the old behavior of FLTK 1.1.
  Default is off."

Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to