19#ifndef __HEADER_OPTIONS_SCREEN_VIDEO_HPP__
20#define __HEADER_OPTIONS_SCREEN_VIDEO_HPP__
24#include "guiengine/screen.hpp"
38 bool animatedCharacters;
76 return width < r.width || (width == r.width && height < r.height);
79 float getRatio()
const
81 return (
float) width / height;
92 static bool m_fullscreen_checkbox_focus;
93 bool m_prev_adv_pipline;
94 int m_prev_img_quality;
97 std::vector<GFXPreset> m_presets;
98 std::vector<BlurPreset> m_blur_presets;
99 std::vector<ScaleRttsCustomPreset> m_scale_rtts_custom_presets;
100 std::vector<Resolution> m_resolutions;
102 void updateTooltip();
103 void updateBlurTooltip();
104 void updateResolutionsList();
106 static void onScrollResolutionsList(
void* data);
115 const int playerID) OVERRIDE;
118 virtual void init() OVERRIDE;
128 void updateGfxSlider();
129 void updateBlurSlider();
130 void updateScaleRTTsSlider();
131 static int getImageQuality();
132 static void setImageQuality(
int quality);
Declares a class to be a singleton.
Definition: screen.hpp:59
Represents a single GUI screen.
Definition: screen.hpp:97
Graphics options screen.
Definition: options_screen_video.hpp:90
virtual void tearDown() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: options_screen_video.cpp:953
virtual void loadedFromFile() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: options_screen_video.cpp:213
virtual void unloaded() OVERRIDE
implement optional callback from parent class GUIEngine::Screen
Definition: options_screen_video.cpp:986
virtual void eventCallback(GUIEngine::Widget *widget, const std::string &name, const int playerID) OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: options_screen_video.cpp:755
virtual bool onEscapePressed() OVERRIDE
Called when escape is pressed.
Definition: options_screen_video.cpp:978
virtual void init() OVERRIDE
implement callback from parent class GUIEngine::Screen
Definition: options_screen_video.cpp:234
Contains all GUI engine related classes and functions.
Definition: abstract_state_manager.hpp:33
Definition: options_screen_video.hpp:45
bool dof
Depth of field.
Definition: options_screen_video.hpp:48
Definition: options_screen_video.hpp:29
Definition: options_screen_video.hpp:57
Definition: options_screen_video.hpp:52