|
From: | Dag Hovland |
Subject: | Re: [Gnash-dev] async plugin installation |
Date: | Tue, 31 May 2016 13:43:37 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
Den 31. mai 2016 10:26, skrev Sandro Santilli:
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?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
Cheers, Dag
--strk;
[Prev in Thread] | Current Thread | [Next in Thread] |