Fixed
- Make
SDLmain
library optional in Unix, since some distros seem to drop it - Fix using unsupported warning flags on some compilers
Assets
2
Added
- New SDL 2.0.5
Window
method:Window::SetResizable()
- Minor documentation improvements
- Example code fixes
Assets
2
AMDmi3
released this
Added
Color
class wrapping aroundSDL_Color
Assets
2
AMDmi3
released this
Fixed
Surface.hh
include was missing fromSDL2pp.hh
Assets
2
AMDmi3
released this
Fixed
- Proper
Size()
handling for customRWops
Added
Window::GetOpacity()
andWindow()::SetOpacity()
wrappers for functions appeared in SDL 2.0.5Music
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
Assets
2
AMDmi3
released this
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 toSurface
Changed
Renderer::GetClipRect
now returnsOptional<Rect>
instead of (possibly empty)Rect
Exception
is now derived fromstd::runtime_error
Removed
- Deprecated
Renderer::GetInfo()
variant which takes pointer (use variant which takes reference)
Assets
2
AMDmi3
released this
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
Assets
2
AMDmi3
released this
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()
Assets
2
AMDmi3
released this
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
Assets
2
AMDmi3
released this
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