Hi,

I'm embedding Mozilla, and want to rotate a shape in svg.  I'm
manipulating DOM elements from C++, and have a function that uses
SetAttribute() to adjust the transform property of an SVG element, and
then sends a message to the window to call the function again.  In
other words, it loops for ever, rotating the element by a fraction of
a degree each time.

This is exactly how I do it in Javascript (except I'd use SetTimeout,
instead of the window's callback), and there are no problems.

This causes the UI to completely lock up,when I'm doing it through
XPCOM, from C++.

How do people tend to do this?

Thanks.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to