The Battle for Wesnoth  1.19.5+dev
Classes | Typedefs | Functions
surface.hpp File Reference
#include "sdl/rect.hpp"
#include "utils/const_clone.hpp"
#include <SDL2/SDL.h>
#include <ostream>
Include dependency graph for surface.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  surface
 
class  surface_locker< T >
 Helper class for pinning SDL surfaces into memory. More...
 
struct  clip_rect_setter
 

Typedefs

using surface_lock = surface_locker< surface >
 
using const_surface_lock = surface_locker< const surface >
 

Functions

std::ostream & operator<< (std::ostream &stream, const surface &surf)
 

Typedef Documentation

◆ const_surface_lock

Definition at line 154 of file surface.hpp.

◆ surface_lock

Definition at line 153 of file surface.hpp.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  stream,
const surface surf 
)

Definition at line 84 of file surface.cpp.

References surface::get(), and surf.