The Battle for Wesnoth  1.15.1+dev
Namespaces | Macros | Functions | Variables
video.cpp File Reference
#include "video.hpp"
#include "display.hpp"
#include "floating_label.hpp"
#include "font/sdl_ttf.hpp"
#include "picture.hpp"
#include "log.hpp"
#include "preferences/general.hpp"
#include "sdl/point.hpp"
#include "sdl/userevent.hpp"
#include "sdl/utils.hpp"
#include "sdl/window.hpp"
#include <cassert>
#include <vector>
Include dependency graph for video.cpp:

Go to the source code of this file.

Namespaces

 video2
 

Macros

#define LOG_DP   LOG_STREAM(info, log_display)
 
#define ERR_DP   LOG_STREAM(err, log_display)
 
#define MAGIC_DPI_SCALE_NUMBER   96
 

Functions

void video2::trigger_full_redraw ()
 

Variables

static lg::log_domain log_display ("display")
 
std::list< events::sdl_handler * > video2::draw_layers
 

Macro Definition Documentation

◆ ERR_DP

#define ERR_DP   LOG_STREAM(err, log_display)

Definition at line 33 of file video.cpp.

Referenced by CVideo::initSDL().

◆ LOG_DP

#define LOG_DP   LOG_STREAM(info, log_display)

Definition at line 32 of file video.cpp.

Referenced by CVideo::~CVideo().

◆ MAGIC_DPI_SCALE_NUMBER

#define MAGIC_DPI_SCALE_NUMBER   96

Definition at line 35 of file video.cpp.

Referenced by CVideo::get_dpi_scale_factor().

Variable Documentation

◆ log_display

lg::log_domain log_display("display")
static