Re: [fltk.general] Fl_Tree, space vs left click

2012-11-29 Thread corvid
Greg wrote: > Good catch; try instead: Seems good! I do notice that if you hold down ctrl and the button, and move the mouse a little, the item becomes selected again, which doesn't happen with FL_TREE_SELECT_MULTI, but I'm not sure whether that matters. ___

Re: [fltk.general] Fl_Tree, space vs left click

2012-11-29 Thread Greg Ercolano
On 11/28/12 23:37, corvid wrote: > It looks like you can ctrl-click all of the items on without that triggering > deselection of the others. Good catch; try instead: Index: Fl_Tree.cxx === --- Fl_Tree.cxx (revision 9733) +++

Re: [fltk.general] Fl_Tree, space vs left click

2012-11-28 Thread corvid
> Greg wrote: > Suggesting this patch against 1.3.1 + svn current. > Let me know if this works for you. > > Index: Fl_Tree.cxx > === > --- Fl_Tree.cxx (revision 9732) > +++ Fl_Tree.cxx (working copy) > @@ -337,7 +337,11 @@

Re: [fltk.general] Fl_Tree, space vs left click

2012-11-27 Thread Greg Ercolano
On 11/26/12 22:32, corvid wrote: > Greg wrote: >> In order to retain the user's ability to deselect equally from both >> keyboard and mouse, IMHO Fl_Tree should be changed so that CTRL-CLICK >> toggles just like CTRL-SPACE. >> >> Curious what you think. > > Sounds good to me. >

Re: [fltk.general] Fl_Tree, space vs left click

2012-11-26 Thread corvid
Greg wrote: > In order to retain the user's ability to deselect equally from both > keyboard and mouse, IMHO Fl_Tree should be changed so that CTRL-CLICK > toggles just like CTRL-SPACE. > > Curious what you think. Sounds good to me. Thanks!

Re: [fltk.general] Fl_Tree, space vs left click

2012-11-26 Thread Greg Ercolano
On 11/26/12 16:41, corvid wrote: > In Fl_Tree, why do space and left click behave differently? > Looking in the source, I just noticed, for instance, how in the > FL_TREE_SELECT_SINGLE case, > ctrl-space deselects all, but left click always does select_only for an item. > I see that clicking _not_

[fltk.general] Fl_Tree, space vs left click

2012-11-26 Thread corvid
In Fl_Tree, why do space and left click behave differently? Looking in the source, I just noticed, for instance, how in the FL_TREE_SELECT_SINGLE case, ctrl-space deselects all, but left click always does select_only for an item. I see that clicking _not_ on an item deselects all, but I have