Plutonium framework API  0.3
Simple UI framework for libnx and SDL2
sdl2_Types.hpp
Go to the documentation of this file.
1 
2 #pragma once
3 #include <SDL2/SDL.h>
4 #include <SDL2/SDL2_gfxPrimitives.h>
5 #include <SDL2/SDL_image.h>
6 #include <SDL2/SDL_mixer.h>
7 #include <pu/sdl2/ttf_SDL_ttf.h>
8 
9 namespace pu::sdl2
10 {
11  using Texture = SDL_Texture*;
12  using Window = SDL_Window*;
13  using Renderer = SDL_Renderer*;
14  using Font = TTF_Font*;
15  using Surface = SDL_Surface*;
16 }
struct _TTF_Font TTF_Font
Definition: ttf_SDL_ttf.h:79
SDL_Window * Window
Definition: sdl2_Types.hpp:12
SDL_Texture * Texture
Definition: sdl2_Types.hpp:11
SDL_Renderer * Renderer
Definition: sdl2_Types.hpp:13
SDL_Surface * Surface
Definition: sdl2_Types.hpp:15
Definition: sdl2_Types.hpp:9
TTF_Font * Font
Definition: sdl2_Types.hpp:14