Skip to content

Releases: libSDL2pp/libSDL2pp

libSDL2pp 0.5.2

30 Dec 00:00
Compare
Choose a tag to compare

Fixed

  • Added missing include file to installation

libSDL2pp 0.5.1

26 Dec 23:34
Compare
Choose a tag to compare

Fixed

  • Potential problems with SDL2 error handling

libSDL2pp 0.5.0

26 Dec 16:41
Compare
Choose a tag to compare

Added

  • AudioDevice::LockHandle is now copyable
  • Rect now has + - += -= operators to offset it by a Point
  • 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 and Rect 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 null Rect would mean "whole area", like in Texture::Lock()), Optional class is now used. Use NullOpt instead of Point::Null() and Rect::Null()

libSDL2pp 0.4.0

19 Dec 19:29
Compare
Choose a tag to compare

Added

  • StreamRWops which works with STL streams
  • AudioDevice and Texture LockHandles now have empty constructors and may be initialized after construction
  • RWops (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, not AudioSpec, 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

17 Dec 18:30
Compare
Choose a tag to compare

Added

Fixed

  • Proper self-assignment handling in move assignment operators

libSDL2pp 0.2.0

17 Dec 18:33
Compare
Choose a tag to compare

Added

  • Getters for Texture properties: Texture::GetWidth(), Texture::GetHeight(), Texture::GetFormat(), Texture::GetAccess()
  • Texture locking
  • New Rect method Rect::Contains() to check if it contains a Point

libSDL2pp 0.1.1

17 Dec 18:38
Compare
Choose a tag to compare

Added

  • Installation
  • Library version

libSDL2pp 0.1.0

17 Dec 18:45
Compare
Choose a tag to compare

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

17 Dec 18:47
Compare
Choose a tag to compare

Added

  • Unit tests
  • New Window methods: Window::GetSize(), Window::GetWidth(), Window::GetHeight(), Window::SetTitle()
  • New Renderer method: Renderer::ReadPixels()
  • Point and Rect setters and comparison operators

libSDL2pp 0.0.1

17 Dec 18:49
Compare
Choose a tag to compare

Added

  • Initial release supporting basic Window, Renderer, Texture, Rect and Point handling