LibSDL2pp Versions Save

C++ bindings/wrapper for SDL2

0.18.1

1 year ago

Fixed

  • Fix SDL2main library link order

0.18.0

1 year ago

Changed

  • Switch SDL2_{mixer,mixer,ttf} detection to upstream CMake scripts

0.17.0

2 years ago

Changed

  • Switch to modern CMake
  • Switch to C++17

0.16.2

2 years ago

Fixed

  • Fix font dimensions test

0.16.1

4 years ago

Fixed

  • Make SDLmain library optional in Unix, since some distros seem to drop it
  • Fix using unsupported warning flags on some compilers

0.16.0

6 years ago

Added

  • New SDL 2.0.5 Window method: Window::SetResizable()
  • Minor documentation improvements
  • Example code fixes

0.15.0

6 years ago

Added

  • Color class wrapping around SDL_Color

0.14.1

6 years ago

Fixed

  • Surface.hh include was missing from SDL2pp.hh

0.14.0

7 years ago

Fixed

  • Proper Size() handling for custom RWops

Added

  • Window::GetOpacity() and Window()::SetOpacity() wrappers for functions appeared in SDL 2.0.5
  • Music RWops constructors based on undocumented SDL_mixer functions
  • Static standalone build support

Changed

  • libSDL2pp now follows SDL2 include path conventions, finding and using SDL2 headers without SDL2/ prefix

0.13.0

7 years ago

Fixed

  • Fixed SDL 2.0.4 specific AudioDevice methods: AudioDevice::QueueAudio(), AudioDevice::GetQueuedAudioSize()
  • Fixed MSVC compiler support and .dll generation
  • Multiple documentation fixes

Added

  • More tests
  • Automatic SDL 2.0.4 detection
  • Texture::Update() overload which takes rvalue reference to Surface

Changed

  • Renderer::GetClipRect now returns Optional<Rect> instead of (possibly empty) Rect
  • Exception is now derived from std::runtime_error

Removed

  • Deprecated Renderer::GetInfo() variant which takes pointer (use variant which takes reference)