The Battle for Wesnoth  1.15.2+dev
Classes | Typedefs | Functions
surface.hpp File Reference
#include "global.hpp"
#include "utils/const_clone.hpp"
#include <SDL2/SDL.h>
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
 
struct  surface_restorer
 
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

bool operator< (const surface &a, const surface &b)
 

Typedef Documentation

◆ const_surface_lock

Definition at line 175 of file surface.hpp.

◆ surface_lock

Definition at line 174 of file surface.hpp.

Function Documentation

◆ operator<()

bool operator< ( const surface a,
const surface b 
)

Definition at line 170 of file surface.cpp.

References surface::get().