> I'm writing a CAD like app and I use a Widget to draw (via 
> Widget::draw) the design. I would like to stack "hotspots" in 
> various places so the use can click on them to edit the 
> element at that spot. Since the hotspots move as the image 
> changes, they need to be dynamically placed. I created a 
> button (containing a image) and used Widget::position to 
> place it. It works BUT mouse movement causes redraw events 
> (ie just moving the mouse around the image causes it to be 
> redrawn). Is this expected behavior? It doesn't happen when 
> the same button is placed outside of draw.


I didn't understand your description - can you expand - or perhaps even
post a minimal compileable example that shows what you are doing?

I suspect you are doing things insode draw that ought not be done
there...




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

Reply via email to