Releases: libSDL2pp/libSDL2pp
Releases · libSDL2pp/libSDL2pp
libSDL2pp 0.12.0
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
Added
- New
Windowmethods:Window::GetDrawableWidth(),Window::GetDrawableHeight(),Window::GetDrawableSize()(@csoren) PointandRectless-than operators and std::hash support which makes them usable asstd::map/std::unordered_map/std::set/std::unordered_setkeys- More
Rectmethods and wider constexpr support
Fixed
Rectdocumentation fixes- Unused variable warnings (@vladimirgamalian)
- Incorrect return value handling in
Surface::SetClipRect()
libSDL2pp 0.10.0
Fixed
- Improved cygwin compatibility
- Missing
SDLmethod implementations - Fixed return and argument types for some
Window,FontandMixermethods to match upstream API - Infinite loop in
StreamRWops - Documentation improvements
- Build without SDL_mixer support
libSDL2pp 0.9.0
Added
- SDL_mixer support
- More
Pointoperators:*,/,%for integer multiplication, division and remainder by a number or anotherPoint PointandRectbetter inlining and constexpr support- New method:
Surface::GetFormat() Texture::Update()overload which takes Surface as pixel source
libSDL2pp 0.8.2
Fixed
- Add missing
Font::IsGlyphProvided()implementation (@vladimirgamalian) - Fix glyph rectangle calculation in
Font::GetGlyphRect()(@vladimirgamalian)
libSDL2pp 0.8.1
Fixed
- Use correct type flags in
RWops::Size(), fixing MinGW build (@vladimirgamalian)
libSDL2pp 0.8.0
Added
Render::Copy()overload which takes targetPointinstead of aRect- New method
Render::FillCopy()which fills target rect with repeated texture - Improved UTF-16 font rendering support
- CMake module file
libSDL2pp 0.7.1
Fixed
- Miscellaneous style, documentation and build system fixes
libSDL2pp 0.7.0
Added
- More
Texture,Renderer(both complete now) andWindowmethods - New methods:
Point::Clamp(),Point::Wrap(),Rect::Extend(),Rect::IntersectLine() - STL stream output for
PointandRect(as instd::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 withcatch (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
PointandRectmethods:Null(),IsNull(),Get()
Fixed
- Use move, not copy in constructing
RWopsfromCustomRWops-derived class
libSDL2pp 0.6.0
Added
- Doxygen documentation for the whole library
- Wrapper around SDL_image initialization/deinitialization:
SDLImageclass - `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*)) forPoint,Rect,Window,Renderer,Texture - Complete SDL_ttf support
- Consistent
GetWidth()/GetHeight()/GetSize()forTextureandSurface - More operators, constructors and methods for
PointandRect
Fixed
- Added proper error checking for SDL_image-using Texture constructors
- Multiple fixes in build system