Flushing position changes to the display



Now I did somediaobj->position.x = 5;

how do I flush these changes to the display?

trying
object_add_updates_list(DIA_DIAGRAM_DATA(diagram)->selected, diagram);
diagram_flush(ddisp->diagram);

didn't work.

when i try to move the object on the canvas (using the mouse) it
suddenly moves to the position. but i cant seem to find anything
relevant in the mouse callbacks...

-- 
Fred Morcos
http://fredmorcos.blogspot.com/
http://fredmorcos.googlecode.com/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]