The Battle for Wesnoth  1.19.5+dev
Namespaces | Functions
draw_manager.hpp File Reference
#include "sdl/rect.hpp"
#include <chrono>
Include dependency graph for draw_manager.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 gui2
 Generic file dialog.
 
 draw_manager
 A global draw management interface.
 

Functions

void draw_manager::invalidate_region (const rect &region)
 Mark a region of the screen as requiring redraw. More...
 
void draw_manager::invalidate_all ()
 Mark the entire screen as requiring redraw. More...
 
void draw_manager::request_extra_render_pass ()
 Request an extra render pass. More...
 
void draw_manager::sparkle ()
 Ensure that everything which needs to be drawn is drawn. More...
 
std::chrono::milliseconds draw_manager::get_frame_length ()
 Returns the length of one display frame, in milliseconds. More...
 
void draw_manager::register_drawable (gui2::top_level_drawable *tld)
 Register a top-level drawable. More...
 
void draw_manager::deregister_drawable (gui2::top_level_drawable *tld)
 Remove a top-level drawable from the drawing stack. More...
 
void draw_manager::raise_drawable (gui2::top_level_drawable *tld)
 Raise a TLD to the top of the drawing stack. More...