Skip to content

Releases: libSDL2pp/libSDL2pp

libSDL2pp 0.12.0

23 Jan 13:22
Compare
Choose a tag to compare

Fixed

  • Link SDL2main library, which is needed on some systems
  • Numerous improvements in Windows support
  • Documentation fixes
  • Multiple fixes in pkg-config and CMake module files

libSDL2pp 0.11.0

30 Nov 05:08
Compare
Choose a tag to compare

Added

  • New Window methods: Window::GetDrawableWidth(), Window::GetDrawableHeight(), Window::GetDrawableSize() (@csoren)
  • Point and Rect less-than operators and std::hash support which makes them usable as std::map/std::unordered_map/std::set/std::unordered_set keys
  • More Rect methods and wider constexpr support

Fixed

  • Rect documentation fixes
  • Unused variable warnings (@vladimirgamalian)
  • Incorrect return value handling in Surface::SetClipRect()

libSDL2pp 0.10.0

13 Oct 22:15
Compare
Choose a tag to compare

Fixed

  • Improved cygwin compatibility
  • Missing SDL method implementations
  • Fixed return and argument types for some Window, Font and Mixer methods to match upstream API
  • Infinite loop in StreamRWops
  • Documentation improvements
  • Build without SDL_mixer support

libSDL2pp 0.9.0

07 Sep 13:20
Compare
Choose a tag to compare

Added

  • SDL_mixer support
  • More Point operators: *, /, % for integer multiplication, division and remainder by a number or another Point
  • Point and Rect better inlining and constexpr support
  • New method: Surface::GetFormat()
  • Texture::Update() overload which takes Surface as pixel source

libSDL2pp 0.8.2

27 Jul 22:55
Compare
Choose a tag to compare

Fixed

  • Add missing Font::IsGlyphProvided() implementation (@vladimirgamalian)
  • Fix glyph rectangle calculation in Font::GetGlyphRect() (@vladimirgamalian)

libSDL2pp 0.8.1

29 Jun 16:58
Compare
Choose a tag to compare

Fixed

  • Use correct type flags in RWops::Size(), fixing MinGW build (@vladimirgamalian)

libSDL2pp 0.8.0

09 Jun 21:17
Compare
Choose a tag to compare

Added

  • Render::Copy() overload which takes target Point instead of a Rect
  • New method Render::FillCopy() which fills target rect with repeated texture
  • Improved UTF-16 font rendering support
  • CMake module file

libSDL2pp 0.7.1

27 Mar 09:26
Compare
Choose a tag to compare

Fixed

  • Miscellaneous style, documentation and build system fixes

libSDL2pp 0.7.0

22 Jan 17:51
Compare
Choose a tag to compare

Added

  • More Texture, Renderer (both complete now) and Window methods
  • New methods: Point::Clamp(), Point::Wrap(), Rect::Extend(), Rect::IntersectLine()
  • STL stream output for Point and Rect (as in std::cout << Rect(10, 20, 30 40);)

Changed

  • Most setters now return reference to self to allow method chaining
  • Exception now stores both SDL error and name of function which caused it; what() message now includes these both in a readable way, so SDL2pp exceptions may be conveniently handled with catch (std::exception&)
  • pkg-config file now provides SDL libraries along with SDL2pp, so users don't need to care of SDL2 flags in addition to SDL2pp's

Removed

  • Deprecated Point and Rect methods: Null(), IsNull(), Get()

Fixed

  • Use move, not copy in constructing RWops from CustomRWops-derived class

libSDL2pp 0.6.0

11 Jan 14:07
Compare
Choose a tag to compare

Added

  • Doxygen documentation for the whole library
  • Wrapper around SDL_image initialization/deinitialization: SDLImage class
  • `Surface, a wrapepr for [SDL_Surface](https://wiki.libsdl.org/SDL_Surface) including [SDL_image](https://www.libsdl.org/projects/SDL_image/) support. It's now also possible to constructTexture``from``Surface``.
  • Bunch of constructors from existing SDL objects (e.g. Window::Window(SDL_Window*)) for Point, Rect, Window, Renderer, Texture
  • Complete SDL_ttf support
  • Consistent GetWidth()/GetHeight()/GetSize() for Texture and Surface
  • More operators, constructors and methods for Point and Rect

Fixed

  • Added proper error checking for SDL_image-using Texture constructors
  • Multiple fixes in build system