Hi
I could able to get mouse event and draw image on window (like
paint program) when I create window widget
Herewith my piece of code.
class drawmouse : public Fl_Window
{
protected:
int handle(int event);
void draw();
public:
drawmouse(int x, int y, int w, int h,const char
*l):Fl_Window(x,y,w,h,l)
{
}
};
But I could not able to get mouse event and draw image when I create other
widget like box.
Is it possible to get mouse event from other widget. If it possible could
you explain how to do it?
Regards
Raj
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk