Clean-up leftovers of the SCALING_ALGORITHM preference
The preference was removed in 15bf3bb256
.
This commit is contained in:
parent
32e3083723
commit
ef888206da
2 changed files with 0 additions and 12 deletions
|
@ -72,8 +72,6 @@ const int def_window_height = 720;
|
||||||
const int min_font_scaling = 80;
|
const int min_font_scaling = 80;
|
||||||
const int max_font_scaling = 150;
|
const int max_font_scaling = 150;
|
||||||
|
|
||||||
const SCALING_ALGORITHM default_scaling_algorithm = SCALING_ALGORITHM::XBRZ_NN;
|
|
||||||
|
|
||||||
class prefs_event_handler : public events::sdl_handler {
|
class prefs_event_handler : public events::sdl_handler {
|
||||||
public:
|
public:
|
||||||
virtual void handle_event(const SDL_Event &) {}
|
virtual void handle_event(const SDL_Event &) {}
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
#include "config.hpp"
|
#include "config.hpp"
|
||||||
#include "terrain/translation.hpp"
|
#include "terrain/translation.hpp"
|
||||||
#include "utils/make_enum.hpp"
|
|
||||||
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
@ -45,15 +44,6 @@ namespace preferences {
|
||||||
extern const int min_font_scaling;
|
extern const int min_font_scaling;
|
||||||
extern const int max_font_scaling;
|
extern const int max_font_scaling;
|
||||||
|
|
||||||
MAKE_ENUM(SCALING_ALGORITHM,
|
|
||||||
(LINEAR, "linear")
|
|
||||||
(NEAREST_NEIGHBOR, "nn")
|
|
||||||
(XBRZ_LIN, "xbrzlin")
|
|
||||||
(XBRZ_NN, "xbrznn")
|
|
||||||
)
|
|
||||||
|
|
||||||
extern const SCALING_ALGORITHM default_scaling_algorithm;
|
|
||||||
|
|
||||||
void write_preferences();
|
void write_preferences();
|
||||||
|
|
||||||
void set(const std::string& key, const std::string &value);
|
void set(const std::string& key, const std::string &value);
|
||||||
|
|
Loading…
Add table
Reference in a new issue