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
Window
methods:Window::GetDrawableWidth()
,Window::GetDrawableHeight()
,Window::GetDrawableSize()
(@csoren) Point
andRect
less-than operators and std::hash support which makes them usable asstd::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
Fixed
- Improved cygwin compatibility
- Missing
SDL
method implementations - Fixed return and argument types for some
Window
,Font
andMixer
methods to match upstream API - Infinite loop in
StreamRWops
- Documentation improvements
- Build without SDL_mixer support
libSDL2pp 0.9.0
Added
- SDL_mixer support
- More
Point
operators:*
,/
,%
for integer multiplication, division and remainder by a number or anotherPoint
Point
andRect
better 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 targetPoint
instead 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) andWindow
methods - New methods:
Point::Clamp()
,Point::Wrap()
,Rect::Extend()
,Rect::IntersectLine()
- STL stream output for
Point
andRect
(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
Point
andRect
methods:Null()
,IsNull()
,Get()
Fixed
- Use move, not copy in constructing
RWops
fromCustomRWops
-derived class
libSDL2pp 0.6.0
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 construct
Texture``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()
forTexture
andSurface
- More operators, constructors and methods for
Point
andRect
Fixed
- Added proper error checking for SDL_image-using Texture constructors
- Multiple fixes in build system