36 const bool auto_join=
true, std::string overlay_image=
"",
int font_size = -1);
46 void set_image(
const std::string& image_file_base);
47 void set_overlay(
const std::string& image_file_base);
51 bool hit(
int x,
int y)
const;
52 virtual void enable(
bool new_val=
true);
57 virtual void mouse_motion(
const SDL_MouseMotionEvent& event);
58 virtual void mouse_down(
const SDL_MouseButtonEvent& event);
59 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.