Dmitry Marakasov
|
49e3c6a6a9
|
Implement Get/SetOpacity for Window (new in SDL 2.0.5)
|
2016-11-14 18:34:27 +03:00 |
|
Dmitry Marakasov
|
83c261cf03
|
Add Texture::Update() overload which takes Surface&&
|
2016-11-08 17:59:24 +03:00 |
|
Dmitry Marakasov
|
4ab3906b07
|
Whitespace fixes
|
2016-10-18 17:43:27 +03:00 |
|
Dmitry Marakasov
|
8ab8772a1c
|
Add explicit cast from streamsize, fixing MSVC warning
|
2016-05-23 19:54:53 +03:00 |
|
Dmitry Marakasov
|
736e7d5877
|
Drop custom DEPRECATED macro
We now have this macro generated in Export.hh
|
2016-05-23 17:13:38 +03:00 |
|
Dmitry Marakasov
|
20bdc36577
|
Add export statements all over the code
|
2016-05-23 17:11:12 +03:00 |
|
Dmitry Marakasov
|
b3a6c2c593
|
Add comment on why default AudioSpec ctor is needed
Related to #70
|
2016-05-18 22:39:20 +03:00 |
|
Dmitry Marakasov
|
12980ab29c
|
Fix include
|
2016-05-09 04:55:49 +03:00 |
|
Dmitry Marakasov
|
9f8a72db9c
|
Derive Exception from std::runtime_error instead of std::exception
Apart from placing Exception into right place in exception class
hierarchy this change allows more memory usage optimizations.
Fixes #68
|
2016-05-09 04:05:30 +03:00 |
|
Dmitry Marakasov
|
4a19bdf3dd
|
Update copyright years
|
2016-04-14 20:55:45 +03:00 |
|
Dmitry Marakasov
|
56d1890fff
|
Switch to automatic SDL 2.0.4 detection
|
2016-04-14 20:53:29 +03:00 |
|
Dmitry Marakasov
|
6532490388
|
Function belongs to class
|
2016-04-14 20:52:39 +03:00 |
|
Dmitry Marakasov
|
94e06e22fc
|
Fix reversed SDL_QueueAudio return value check
|
2016-04-14 20:52:10 +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 |
|