42 const bool auto_join=
true, std::string overlay_image=
"",
int font_size = -1);
52 void set_image(
const std::string& image_file_base);
53 void set_overlay(
const std::string& image_file_base);
57 bool hit(
int x,
int y)
const;
58 virtual void enable(
bool new_val=
true);
63 virtual void mouse_motion(
const SDL_MouseMotionEvent& event);
64 virtual void mouse_down(
const SDL_MouseButtonEvent& event);
65 virtual void mouse_up(
const SDL_MouseButtonEvent& event);
Wrapper class to encapsulate creation and management of an SDL_Texture.
std::string label
What to show in the filter's drop-down list.
Base class for all the errors encountered by the engine.