18 #ifndef HEADER_SUPERTUX_SUPERTUX_MENU_OPTIONS_MENU_HPP 19 #define HEADER_SUPERTUX_SUPERTUX_MENU_OPTIONS_MENU_HPP 21 #include "gui/menu.hpp" 26 static bool less_than_volume(
const std::string& lhs,
const std::string& rhs);
42 void on_window_resize()
override;
44 void menu_action(
MenuItem& item)
override;
47 void insert_label(
const std::string& text);
49 void add_magnification();
50 void add_aspect_ratio();
51 void add_window_resolutions();
52 void add_resolutions();
54 void add_sound_volume();
55 void add_music_volume();
56 void add_flash_intensity();
57 void add_mobile_control_scales();
61 MNID_WINDOW_RESIZABLE,
62 MNID_WINDOW_RESOLUTION,
64 MNID_FULLSCREEN_RESOLUTION,
69 MNID_FRAME_PREDICTION,
79 MNID_CUSTOM_TITLE_LEVELS,
80 MNID_CONFIRMATION_DIALOG,
81 MNID_PAUSE_ON_FOCUSLOSS,
85 MNID_MOBILE_CONTROLS_SCALE
90 std::vector<std::string> list = {};
95 StringOption m_magnifications;
96 StringOption m_aspect_ratios;
97 StringOption m_window_resolutions;
98 StringOption m_resolutions;
99 StringOption m_vsyncs;
100 StringOption m_sound_volumes;
101 StringOption m_music_volumes;
102 StringOption m_flash_intensity_values;
103 StringOption m_mobile_control_scales;