18 #ifndef HEADER_DOWNLOAD_ASSETS_HPP
19 #define HEADER_DOWNLOAD_ASSETS_HPP
23 #include "guiengine/modaldialog.hpp"
24 #include "utils/cpp2011.hpp"
26 class DownloadAssetsRequest;
27 namespace GUIEngine {
class IconButtonWidget;
class ProgressBarWidget; }
44 std::shared_ptr<DownloadAssetsRequest> m_download_request;
50 virtual GUIEngine::EventPropagation
processEvent(
const std::string& event_source) OVERRIDE;
52 virtual
void init() OVERRIDE;
53 void onUpdate(
float delta) OVERRIDE;
54 virtual
bool onEscapePressed() OVERRIDE;
Abstract base class representing a modal dialog.
Definition: modaldialog.hpp:56
virtual void beforeAddingWidgets()
Optional callback invoked very early, before widgets have been added (contrast with init(),...
Definition: modaldialog.hpp:126
virtual EventPropagation processEvent(const std::string &eventSource)
Returns whether to block event propagation (usually, you will want to block events you processed)
Definition: modaldialog.hpp:101
Contains all GUI engine related classes and functions.
Definition: abstract_state_manager.hpp:33