Dmitry Marakasov
fd7c0829b6
Add more variants of Rect constructors
...
In practice, it's sometimes needed to construct rect from given
coordinates + size or two corner coordinates where one of these
arguments is a Point and another is a pair of ints. Provide
corresponding constructors.
2016-02-19 23:59:01 +03:00
Dmitry Marakasov
e93158e9e6
Fix typo in documentation
2016-02-19 23:51:45 +03:00
Dmitry Marakasov
c822b7a00a
Add Mixer methods to reset sound/music finished handlers
2016-01-29 01:57:09 +03:00
Dmitry Marakasov
7545be645c
Add Renderer::SetDrawBlendMode() default argument and tests
2016-01-29 01:37:19 +03:00
Dmitry Marakasov
a1f2112820
Add default argument values for SetDrawColor
2016-01-28 00:12:02 +03:00
Dmitry Marakasov
b3b6ba9721
Documentation fixes
2016-01-28 00:11:30 +03:00
Dmitry Marakasov
a52555b927
Renderer::GetClipRect() now returns Optional
...
Also add test for clipping rect
2016-01-28 00:06:01 +03:00
Dmitry Marakasov
31e3c4df74
Remove deprecated variant of Renderer::GetInfo()
2016-01-28 00:04:36 +03:00
Dmitry Marakasov
c001bf7cad
Add default value for Texture::SetBlendMode
2016-01-25 22:56:11 +03:00
Dmitry Marakasov
3ca3035e4d
Fix documentation for some Window methods
2016-01-24 19:55:36 +03:00
Dmitry Marakasov
62ba85a37c
Merge branch 'master' of github.com:libSDL2pp/libSDL2pp
2016-01-05 18:28:25 +03:00
Dmitry Marakasov
f0dd37f428
Use more correct file offset type
2016-01-05 18:17:59 +03:00
Ilya Popov
dfa6832a9a
Fix typo in doc comment
...
See #60
2015-12-30 12:11:41 +01:00
Dmitry Marakasov
ef3e50bef8
Include <algorithm> for std::min
2015-12-11 02:37:58 +03:00
Dmitry Marakasov
167da88546
SDL_SetClipRect returns SDL_TRUE, not 0 on success
2015-11-28 18:46:59 +03:00
Dmitry Marakasov
f20d52dab6
Mark Rect named ctors constexpr
2015-11-27 20:43:08 +03:00
Dmitry Marakasov
01315e3afa
Move documentation bit to method it actually belongs to
2015-11-27 20:23:32 +03:00
Dmitry Marakasov
8003052f32
Add Rect point getters
2015-11-27 20:21:49 +03:00
Dmitry Marakasov
693cdc659f
Documentation fix
2015-11-27 16:43:18 +03:00
Dmitry Marakasov
e6f9cdbf4c
Add two arguments rect extension methods
2015-11-27 16:42:30 +03:00
Dmitry Marakasov
43ebad282c
Improve documentation
2015-11-26 14:23:03 +03:00
Dmitry Marakasov
fa3cb7bcd9
Add std::hash support for Point and Rect
2015-11-26 13:42:16 +03:00
Dmitry Marakasov
a63cdde38f
Move Rect and Point comparison operators out of classes
2015-11-26 13:14:17 +03:00
Dmitry Marakasov
95142b065c
Add Point and Rect less-than operator
...
This allows using them as map and set keys
2015-11-26 12:57:36 +03:00
Vladimir Gamalian
990efa6ef6
Remove unused variables
2015-10-15 16:45:08 +07:00
Dmitry Marakasov
549de6c262
Fix return value descripions
2015-10-15 12:35:30 +03:00
Carsten Elton Sorensen
198b0bbbc8
Added GetDrawableSize, GetDrawableWidth and GetDrawableHeight for HiDPI support
2015-10-15 09:44:35 +02:00
Dmitry Marakasov
a9d49da7fa
Add casts to fix build on 32bit
2015-10-14 01:06:05 +03:00
Dmitry Marakasov
7c4396896a
Merge remote-tracking branch 'vladimirgamalian/patch-1'
2015-09-22 19:36:33 +03:00
Dmitry Marakasov
3bd28d002e
Finer grained doc groups for Mixer
2015-09-22 19:34:56 +03:00
Vladimir Gamalian
959d89dce7
Fix missed std::min
2015-09-22 14:17:34 +07:00
Dmitry Marakasov
87f8b6fc5b
Finer grained doc groups
2015-09-21 16:09:27 +03:00
Dmitry Marakasov
8be33f4fb4
Add explicit Exception default constructor
2015-09-17 15:33:00 +03:00
Dmitry Marakasov
595da1e61e
Fix infinite loop
2015-09-17 15:33:00 +03:00
Dmitry Marakasov
d29b7528a6
Fix some type conversion warnings
2015-09-17 15:32:54 +03:00
Dmitry Marakasov
206d430e25
Fix argument types to match upstream API
2015-09-17 15:32:47 +03:00
Dmitry Marakasov
adaecc22cf
Fix return type to match upstream API
2015-09-17 15:32:36 +03:00
Dmitry Marakasov
9ecd4a12fe
Fix variable types
2015-09-17 15:32:29 +03:00
Dmitry Marakasov
6aded10f60
These are class methods
2015-09-16 22:52:15 +03:00
Dmitry Marakasov
18d58a4efb
Merge branch 'constexpr-pointrect'
2015-09-07 02:58:12 +03:00
Dmitry Marakasov
4d18ea0233
Merge branch 'update-from-surface'
2015-09-07 02:58:08 +03:00
Dmitry Marakasov
bc945cf8fa
Add documentation groups for Font and Mixer
2015-09-07 02:44:23 +03:00
Dmitry Marakasov
eabd23373d
Fix unneeded doxygen autolinks
2015-09-07 02:27:35 +03:00
Dmitry Marakasov
ecb62ab8ab
Improve wording of class descriptions
2015-09-07 02:24:11 +03:00
Dmitry Marakasov
b7eb867aa5
Sort out Chunk::{Get,Set}Volume
2015-09-07 01:56:53 +03:00
Dmitry Marakasov
2d9787c63e
Merge branch 'mixer'
2015-09-07 00:52:27 +03:00
Dmitry Marakasov
326378c59c
Add buildin effects support
2015-09-04 23:08:04 +03:00
Dmitry Marakasov
01a537218a
Fix comments
2015-09-01 00:35:10 +03:00
Dmitry Marakasov
0cc8e489f8
Include <memory> for unique_ptr
2015-08-31 19:06:34 +03:00
Dmitry Marakasov
6ebd677893
Implement mixer groups
2015-08-31 19:02:04 +03:00