#include "floating_label.hpp"#include "draw.hpp"#include "draw_manager.hpp"#include "font/standard_colors.hpp"#include "font/text.hpp"#include "log.hpp"#include "serialization/chrono.hpp"#include "video.hpp"#include <map>#include <set>#include <stack>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) |
| #define | ERR_DP LOG_STREAM(err, log_display) |
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, const std::chrono::milliseconds &fadeout=std::chrono::milliseconds{0}) |
| 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... | |
| rect | font::get_floating_label_rect (int handle) |
| void | font::draw_floating_labels () |
| void | font::update_floating_labels () |
Variables | |
| static lg::log_domain | log_font ("font") |
| static lg::log_domain | log_display ("display") |
| #define DBG_FT LOG_STREAM(debug, log_font) |
Definition at line 31 of file floating_label.cpp.
| #define ERR_DP LOG_STREAM(err, log_display) |
Definition at line 37 of file floating_label.cpp.
| #define ERR_FT LOG_STREAM(err, log_font) |
Definition at line 34 of file floating_label.cpp.
| #define LOG_FT LOG_STREAM(info, log_font) |
Definition at line 32 of file floating_label.cpp.
| #define WRN_FT LOG_STREAM(warn, log_font) |
Definition at line 33 of file floating_label.cpp.
|
static |
|
static |