Den 31. mai 2016 10:26, skrev Sandro Santilli:
On Tue, May 31, 2016 at 10:17:58AM +0200, Dag Hovland wrote:
Den 30. mai 2016 15:43, skrev Sandro Santilli:
There's a Gui::yesno() method, if that's enough (triggered when
a script takes too much time). Or you could add another interface
to Gui for something more sophisticated.
That looks nice. Is there a way to get the gui object?
You communicate with GUI via HostInterface, usually calling:
movie_root::callInterface(const HostInterface::Message& e) const
See libcore/HostInterface.h
Ok, thanks. But how do you get the movie_root object? I tried passing it
down in the calls from gnash.cpp but that means adding movie_root to a
lot of classes. Is there a factory or some static class where you can
get at it?
Cheers,
Dag
--strk;
_______________________________________________
Gnash-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnash-dev