#include "floating_label.hpp"
#include "display.hpp"
#include "font.hpp"
#include "log.hpp"
#include "text.hpp"
#include <map>
#include <set>
#include <stack>
#include "sdl/alpha.hpp"
Go to the source code of this file.
Namespaces | |
font | |
Graphical text output. | |
Macros | |
#define | DBG_FT LOG_STREAM(debug, log_font) |
#define | LOG_FT LOG_STREAM(info, log_font) |
#define | WRN_FT LOG_STREAM(warn, log_font) |
#define | ERR_FT LOG_STREAM(err, log_font) |
Functions | |
int | font::add_floating_label (const floating_label &flabel) |
add a label floating on the screen above everything else. More... | |
void | font::move_floating_label (int handle, double xmove, double ymove) |
moves the floating label given by 'handle' by (xmove,ymove) More... | |
void | font::scroll_floating_labels (double xmove, double ymove) |
moves all floating labels that have 'scroll_mode' set to ANCHOR_LABEL_MAP More... | |
void | font::remove_floating_label (int handle) |
removes the floating label given by 'handle' from the screen More... | |
void | font::show_floating_label (int handle, bool show) |
hides or shows a floating label More... | |
SDL_Rect | font::get_floating_label_rect (int handle) |
void | font::draw_floating_labels (surface screen) |
void | font::undraw_floating_labels (surface screen) |
Variables | |
static lg::log_domain | log_font ("font") |
#define DBG_FT LOG_STREAM(debug, log_font) |
Definition at line 29 of file floating_label.cpp.
#define ERR_FT LOG_STREAM(err, log_font) |
Definition at line 32 of file floating_label.cpp.
Referenced by font::floating_label::create_surface().
#define LOG_FT LOG_STREAM(info, log_font) |
Definition at line 30 of file floating_label.cpp.
#define WRN_FT LOG_STREAM(warn, log_font) |
Definition at line 31 of file floating_label.cpp.
|
static |