> Yep, nice demo ! Thanks.
> Here's a minimal enhancement though: in ... > > add these two simple cases to give dragging feedback: > > case FL_ENTER: > window()->cursor(FL_CURSOR_NWSE); > return 1; > > case FL_LEAVE: > window()->cursor(FL_CURSOR_ARROW); // or FL_CURSOR_DEFAULT or ? > return 1; Yes, I thought about adding that too, but not until I was brushing my teeth later on, so... I had considered setting the cursor to a "grab hand" on the push also, just for added effect! > > But don't drag one of the buttons out of the window and > release the button. > That's one of the cases that need tidying, isn't it? ;-) Yes... Needs a bounds check against the main window. Also, the whole thing really needs to be a derived class based on Fl_Group, so that all the inner buttons and groups and the text edit are just one widget. As it is, the whole thing is too many bits and pieces... -- Ian SELEX Sensors and Airborne Systems Limited 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 mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

