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

I'll give it a shot tomorrow, need some sleep ...
I've read the docs, but since I'm not doing this C[++], I could well be doing 
something wrong. I'm a bit suspiciopus of ::position as placing the button 
outside of draw is not a problem. If you have a suggestion on how I should move 
a button during draw, that would be appriciated.
Craig
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to