The Battle for Wesnoth  1.15.1+dev
Macros | Functions | Variables
display_chat_manager.cpp File Reference
#include "display_chat_manager.hpp"
#include "desktop/notifications.hpp"
#include "display.hpp"
#include "floating_label.hpp"
#include "game_board.hpp"
#include "preferences/game.hpp"
#include "log.hpp"
#include "font/marked-up_text.hpp"
#include "mp_ui_alerts.hpp"
#include "serialization/string_utils.hpp"
#include "color.hpp"
#include "preferences/credentials.hpp"
#include "serialization/utf8_exception.hpp"
#include <SDL2/SDL_timer.h>
Include dependency graph for display_chat_manager.cpp:

Go to the source code of this file.

Macros

#define ERR_NG   LOG_STREAM(err, log_engine)
 

Functions

static unsigned int safe_subtract (unsigned int a, unsigned int b)
 

Variables

static lg::log_domain log_engine ("engine")
 

Macro Definition Documentation

◆ ERR_NG

#define ERR_NG   LOG_STREAM(err, log_engine)

Definition at line 33 of file display_chat_manager.cpp.

Referenced by display_chat_manager::add_chat_message().

Function Documentation

◆ safe_subtract()

static unsigned int safe_subtract ( unsigned int  a,
unsigned int  b 
)
static

Definition at line 185 of file display_chat_manager.cpp.

References b.

Referenced by display_chat_manager::prune_chat_messages().

Variable Documentation

◆ log_engine

lg::log_domain log_engine("engine")
static