const VideoMode &get_desktop_mode() const;
void set_mode(const VideoMode &, bool = false);
void restore_mode();
-private:
- const VideoMode *find_matching_mode(const VideoMode &) const;
+ const VideoMode *find_mode(const VideoMode &, float = 0.5f) const;
+ const VideoMode *find_mode(unsigned, unsigned) const;
-public:
void tick();
private:
bool process_events();