72 void move(
double xmove,
double ymove);
82 sdl::timage create_image();
floating_label(const std::string &text, const surface &surface=nullptr)
void set_move(double xmove, double ymove)
void set_clip_rect(const SDL_Rect &r)
void set_bg_color(const SDL_Color &bg_color)
void scroll_floating_labels(double xmove, double ymove)
moves all floating labels that have 'scroll_mode' set to ANCHOR_LABEL_MAP
void show_floating_label(int handle, bool value)
hides or shows a floating label
void remove_floating_label(int handle)
removes the floating label given by 'handle' from the screen
void set_font_size(int font_size)
void move(double xmove, double ymove)
void show(const bool value)
void move_floating_label(int handle, double xmove, double ymove)
moves the floating label given by 'handle' by (xmove,ymove)
GLdouble GLdouble GLdouble b
void set_alignment(ALIGN align)
void set_lifetime(int lifetime)
GLubyte GLubyte GLubyte GLubyte w
LABEL_SCROLL_MODE scroll() const
GLsizei const GLfloat * value
void set_color(const SDL_Color &color)
~floating_label_context()
void set_position(double xpos, double ypos)
void show(CVideo &video, const std::string &window_id, const t_string &message, const tpoint &mouse)
Shows a tip.
void set_scroll_mode(LABEL_SCROLL_MODE scroll)
int xpos(size_t width) const
structure which will hide all current floating labels, and cause floating labels instantiated after i...
GLfloat GLfloat GLfloat GLfloat h
void undraw_floating_labels(surface screen)
int add_floating_label(const floating_label &flabel)
add a label floating on the screen above everything else.
SDL_Rect get_floating_label_rect(int handle)
GLdouble GLdouble GLdouble r
void set_border_size(int border)
void undraw(surface screen)
GLint GLint GLsizei GLsizei GLsizei GLint border
void draw(surface screen)
GLint GLint GLint GLint GLint GLint GLsizei width
LABEL_SCROLL_MODE scroll_
GLsizei const GLcharARB ** string
void draw_floating_labels(surface screen)
boost::shared_ptr< halo_record > handle