ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
|
Types used throughout the ASW library. More...
#include <SDL3/SDL.h>
#include <SDL3_mixer/SDL_mixer.h>
#include <SDL3_ttf/SDL_ttf.h>
#include <memory>
Go to the source code of this file.
Namespaces | |
namespace | asw |
Typedefs | |
using | asw::Texture = std::shared_ptr<SDL_Texture> |
Alias for a shared pointer to an SDL_Texture. | |
using | asw::Font = std::shared_ptr<TTF_Font> |
Alias for a shared pointer to an TTF_Font. | |
using | asw::Sample = std::shared_ptr<Mix_Chunk> |
Alias for a shared pointer to an Mix_Chunk. | |
using | asw::Music = std::shared_ptr<Mix_Music> |
Alias for a shared pointer to an Mix_Music. | |
using | asw::Renderer = SDL_Renderer |
Alias for a shared pointer to an SDL_Renderer. | |
using | asw::Window = SDL_Window |
Alias for a shared pointer to an SDL_Window. | |
using | asw::Color = SDL_Color |
Alias for an SDL_Color. | |
Enumerations | |
enum class | asw::BlendMode { asw::NONE = SDL_BLENDMODE_NONE , asw::BLEND = SDL_BLENDMODE_BLEND , asw::BLEND_PREMULTIPLIED = SDL_BLENDMODE_BLEND_PREMULTIPLIED , asw::ADD = SDL_BLENDMODE_ADD , asw::ADD_PREMULTIPLIED = SDL_BLENDMODE_ADD_PREMULTIPLIED , asw::MODULATE = SDL_BLENDMODE_MOD , asw::MULTIPLY = SDL_BLENDMODE_MUL } |
Mappings from SDL_BLENDMODE to ASW BlendMode. More... | |
Types used throughout the ASW library.
Definition in file types.h.