Official Release 1.1.0

This commit is contained in:
Lorenzooone
2024-07-02 07:37:22 +02:00
parent 6109b02f80
commit e9084745b9
7 changed files with 31 additions and 9 deletions

View File

@@ -16,7 +16,7 @@ public:
ResolutionMenu(bool font_load_success, sf::Font &text_font);
~ResolutionMenu();
void prepare(float scaling_factor, int view_size_x, int view_size_y, int fullscreen_mode_width, int fullscreen_mode_height);
void insert_data(std::vector<sf::VideoMode>* possible_resolutions);
void insert_data(std::vector<sf::VideoMode>* possible_resolutions, const sf::VideoMode &desktop_resolution);
int selected_index = RESOLUTION_MENU_NO_ACTION;
void reset_output_option();
protected:
@@ -27,5 +27,6 @@ protected:
private:
std::vector<sf::VideoMode>* possible_resolutions;
sf::VideoMode get_resolution(int index);
sf::VideoMode desktop_resolution;
};
#endif