Re: [fltk.general] Fl_Choice list openning direction

2011-11-14 Thread Greg Ercolano
On 11/14/11 08:26, Greg Ercolano wrote: > On 11/13/11 23:34, Mathieu Peyréga wrote: >> I'm using a Fl_Choice widget which is located at the very bottom of a >> fullscreen window. >> The issue is that when the list is showing up, it is shown "downward" and >> thus not in the window which makes it

Re: [fltk.general] Fl_Choice list openning direction

2011-11-14 Thread Greg Ercolano
On 11/13/11 23:34, Mathieu Peyréga wrote: > I'm using a Fl_Choice widget which is located at the very bottom of a > fullscreen window. > The issue is that when the list is showing up, it is shown "downward" and > thus not in the window which makes it practically unusable. Is there a way to > cha

[fltk.general] FLTK 1.3 Double_Window flush bug

2011-11-14 Thread Mathieu Peyréga
Hello, I experienced crash with a program that calls Fl_Double_Window::flush() too soon so that the myi pointer is NULL. I added a global null test in the methode to prevent this case... I think this should be added to trunk (1.3) Regards /** Forces the window to be redrawn. \param[in] er

Re: [fltk.general] Fl_Choice list openning direction

2011-11-14 Thread Mathieu Peyréga
FLTK 1.3 svn up to date version... I changed Fl_Choice.cxx handle method : case FL_PUSH: if (Fl::visible_focus()) Fl::focus(this); J1: if (Fl::scheme() || fl_contrast(textcolor(), FL_BACKGROUND2_COLOR) != textcolor()) { //v = menu()->pulldown(x(), y(), w(), h(), mval

Re: [fltk.general] Popup menu over Fl_Table

2011-11-14 Thread David Lopez
Thanks Albrecht and Greg for fixing this issue. > On 11/12/11 17:40, Greg Ercolano wrote: > > I think to fix this is probably to /record/ the mouse button > > state above the switch(), so that the check at point B isn't > > confused by the different state of realtime mouse buttons > >

Re: [fltk.general] Fl_Choice list openning direction

2011-11-14 Thread MacArthur, Ian (SELEX GALILEO, UK)
> I'm using a Fl_Choice widget which is located at the very > bottom of a fullscreen window. > > The issue is that when the list is showing up, it is shown > "downward" and thus not in the window which makes it > practically unusable. Is there a way to change this behaviour ? > > I guess I ha