15 #ifndef LABEL_HPP_INCLUDED
16 #define LABEL_HPP_INCLUDED
42 sdl::timage text_image_;
const SDL_Color & set_color(const SDL_Color &color)
const std::string & set_text(const std::string &text)
static surface render_text(const std::string &text, int fontsize, const SDL_Color &color, int style, bool use_markup)
label(CVideo &video, const std::string &text, int size=font::SIZE_NORMAL, const SDL_Color &color=font::NORMAL_COLOR, const bool auto_join=true)
const SDL_Color & get_color() const
const SDL_Color NORMAL_COLOR
const std::string & get_text() const
Contains a wrapper class for the GPU_Image class.
virtual void draw_contents()
GLsizei const GLcharARB ** string