Classes | Typedefs
SDLSurfacePtr.hh File Reference
#include "MemBuffer.hh"
#include "InitException.hh"
#include <SDL.h>
#include <algorithm>
#include <memory>
#include <new>
#include <cassert>
#include <cstdlib>
Include dependency graph for SDLSurfacePtr.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  SDLSurfacePtr
 Wrapper around a SDL_Surface. More...
struct  SDLDestroyTexture
struct  SDLDestroyRenderer
struct  SDLDestroyWindow
struct  SDLFreeFormat
struct  SDLFreeWav
class  SDLSubSystemInitializer< FLAGS >


using SDLTexturePtr = std::unique_ptr< SDL_Texture, SDLDestroyTexture >
using SDLRendererPtr = std::unique_ptr< SDL_Renderer, SDLDestroyRenderer >
using SDLWindowPtr = std::unique_ptr< SDL_Window, SDLDestroyWindow >
using SDLAllocFormatPtr = std::unique_ptr< SDL_PixelFormat, SDLFreeFormat >
using SDLWavPtr = std::unique_ptr< Uint8, SDLFreeWav >

Typedef Documentation

◆ SDLAllocFormatPtr

using SDLAllocFormatPtr = std::unique_ptr<SDL_PixelFormat, SDLFreeFormat>

Definition at line 159 of file SDLSurfacePtr.hh.

◆ SDLRendererPtr

using SDLRendererPtr = std::unique_ptr<SDL_Renderer, SDLDestroyRenderer>

Definition at line 147 of file SDLSurfacePtr.hh.

◆ SDLTexturePtr

using SDLTexturePtr = std::unique_ptr<SDL_Texture, SDLDestroyTexture>

Definition at line 141 of file SDLSurfacePtr.hh.

◆ SDLWavPtr

using SDLWavPtr = std::unique_ptr<Uint8, SDLFreeWav>

Definition at line 165 of file SDLSurfacePtr.hh.

◆ SDLWindowPtr

using SDLWindowPtr = std::unique_ptr<SDL_Window, SDLDestroyWindow>

Definition at line 153 of file SDLSurfacePtr.hh.