15 #ifndef GUI_DIALOGS_ADVANCED_GRAPHICS_OPTIONS_HPP_INCLUDED
16 #define GUI_DIALOGS_ADVANCED_GRAPHICS_OPTIONS_HPP_INCLUDED
49 (NEAREST_NEIGHBOR,
"nn")
static const std::vector< std::string > scale_cases
SCALING_ALGORITHM get_scale_pref(const std::string &pref_id)
void setup_scale_case(const std::string &, twindow &)
MAKE_ENUM(SCALING_ALGORITHM,(LINEAR,"linear")(NEAREST_NEIGHBOR,"nn")(XBRZ_LIN,"xbrzlin")(XBRZ_NN,"xbrznn")) private void pre_show(twindow &window)
Inherited from tdialog, implemented by REGISTER_DIALOG.
#define MAKE_ENUM(NAME, CONTENT)
std::map< std::string, tgroup< SCALING_ALGORITHM > > groups_
base class of top level items, the only item which needs to store the final canvases to draw on ...
A class inherited from ttext_box that displays its input as stars.
void update_scale_case(const std::string &)
static void display(CVideo &video)
The display function.
Abstract base class for all dialogs.
void post_show(twindow &window)
Inherited from tdialog.
virtual const std::string & window_id() const =0
The id of the window to build.
Defines the MAKE_ENUM macro.
tadvanced_graphics_options()
Constructor.