Plutonium framework API 0.3.0 UI framework libraries for libnx

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/sdl2_CustomTtf.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
17}
pu::sdl2
Definition: sdl2_Types.hpp:9
pu::sdl2::Surface
SDL_Surface * Surface
Definition: sdl2_Types.hpp:15
pu::sdl2::Renderer
SDL_Renderer * Renderer
Definition: sdl2_Types.hpp:13
pu::sdl2::Window
SDL_Window * Window
Definition: sdl2_Types.hpp:12
pu::sdl2::Texture
SDL_Texture * Texture
Definition: sdl2_Types.hpp:11
pu::sdl2::Font
TTF_Font * Font
Definition: sdl2_Types.hpp:14
sdl2_CustomTtf.h
TTF_Font
struct _TTF_Font TTF_Font
Definition: sdl2_CustomTtf.h:79