On 05.03.2008, at 16:29, pushparaj muthu wrote:

> fl_draw_image((const uchar*)&buff ,40, Ycord, 300, 30 , 3, 300*3);


Coordinates in FLTK1 are relative to the next higher Window, not  
Widget. Add x() and y() to the image position and you should be fine.  
It would also hel to call "draw_box()" before drawing the image itself  
to refresh the background.
----
http://robowerk.com/


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to