Releases: libSDL2pp/libSDL2pp
Releases · libSDL2pp/libSDL2pp
libSDL2pp 0.5.2
Fixed
- Added missing include file to installation
libSDL2pp 0.5.1
Fixed
- Potential problems with SDL2 error handling
libSDL2pp 0.5.0
Added
AudioDevice::LockHandle
is now copyableRect
now has+
-
+=
-=
operators to offset it by aPoint
Optional
class to pass optional values- Possibility to use c++1y standard and detection of available useful c++1y features with c++11
- Default argument for
Texture::Lock()
- Bunch of
Window
functions:Window::Maximize()
,Window::Minimize()
,Window::Hide()
,Window::Restore()
,Window::Raise()
,Window::Show()
,Window::SetFullscreen()
,Window::SetSize()
- More granular build options for tests and examples
Changed
Point
andRect
no longer have invalid (null) states and are now directly derived from SDL_Point and SDL_Rect structures. In places where null states were usable (e.g. usually nullRect
would mean "whole area", like inTexture::Lock()
),Optional
class is now used. UseNullOpt
instead ofPoint::Null()
andRect::Null()
libSDL2pp 0.4.0
Added
StreamRWops
which works with STL streamsAudioDevice
andTexture
LockHandle
s now have empty constructors and may be initialized after constructionRWops
(Read|Write)(LE|BE)(16|32|64)
methods- pkg-config file
Changed
- Plain
ContainerRWops
is now able to work with both const and mutable containers - Audio callback is now tied to
AudioDevice
, notAudioSpec
, which is cleaner and easier to use
Removed
ConstContainerRWops
which is no longer needed
Fixed
- Exception safety when changing audio callback
- Made
-Werror
flag conditional for user convenience
libSDL2pp 0.3.0
libSDL2pp 0.2.0
Added
- Getters for
Texture
properties:Texture::GetWidth()
,Texture::GetHeight()
,Texture::GetFormat()
,Texture::GetAccess()
Texture
locking- New
Rect
methodRect::Contains()
to check if it contains aPoint
libSDL2pp 0.1.1
Added
- Installation
- Library version
libSDL2pp 0.1.0
Added
- SDL2_image support
RWops
support- New
Renderer
methods:Renderer::SetClipRect()
,Renderer::SetScale()
,Renderer::SetViewport()
,Renderer::TargetSupported()
- New
SDL
methods:SDL::WasInit()
,SDL::InitSubsystem()
,SDL::QuitSubSystem()
- Basic MSVC support
- Arithmetic operators for
Point
Fixed
- GUI tests which are sensible to OpenGL implementation-specific behavior are no longer fatal
libSDL2pp 0.0.2
Added
- Unit tests
- New
Window
methods:Window::GetSize()
,Window::GetWidth()
,Window::GetHeight()
,Window::SetTitle()
- New
Renderer
method:Renderer::ReadPixels()
Point
andRect
setters and comparison operators
libSDL2pp 0.0.1
Added
- Initial release supporting basic
Window
,Renderer
,Texture
,Rect
andPoint
handling