19#ifndef HEADER_CUSTOM_CAMERA_SETTINGS_HPP
20#define HEADER_CUSTOM_CAMERA_SETTINGS_HPP
22#include "guiengine/modaldialog.hpp"
41 void updateActivation();
43 GUIEngine::EventPropagation
processEvent(
const std::string& eventSource);
47 m_self_destroy =
true;
56 ModalDialog::dismiss();
Dialog that allows the player to select custom video settings.
Definition: custom_camera_settings.hpp:29
virtual void onUpdate(float dt)
Override to be notified of updates.
Definition: custom_camera_settings.hpp:51
GUIEngine::EventPropagation processEvent(const std::string &eventSource)
Returns whether to block event propagation (usually, you will want to block events you processed)
Definition: custom_camera_settings.cpp:117
virtual bool onEscapePressed()
Override to change what happens on escape pressed.
Definition: custom_camera_settings.hpp:45
virtual void beforeAddingWidgets()
Optional callback invoked very early, before widgets have been added (contrast with init(),...
Definition: custom_camera_settings.cpp:59
Abstract base class representing a modal dialog.
Definition: modaldialog.hpp:56