Vraiment
d4429244ff
Addressed comments in pull request #99
2017-07-11 23:17:56 -07:00
Vraiment
f9fa7a9d03
Added Color support for Renderer
2017-07-11 23:17:55 -07:00
Vraiment
49251c31a8
Addressed comments in pull request #99
2017-07-05 11:02:34 -07:00
Vraiment
ddaee362a1
Added Color support for Renderer
2017-07-05 11:02:34 -07:00
Dmitry Marakasov
970cd74dd9
Merge branch 'master' of github.com:libSDL2pp/libSDL2pp
2017-02-20 16:32:54 +03:00
Dmitry Marakasov
89ea96d008
Mark most single argument constructors explicit
...
Fixes #91
2017-02-14 14:14:26 +03:00
Dmitry Marakasov
24482d85f6
Follow SDL2 include path conventions
...
Though these are broken and error prone, as they ignore the possibility
of conflicts between SDL, SDL2 and wrappers thereof discarding useful
include path prefix (SDL2/), since SDL and satellite libraries follow
these it's too hard to stay away.
So don't use prefixes for SDL include paths any longer.
2017-02-08 13:19:04 +03:00
Dmitry Marakasov
20bdc36577
Add export statements all over the code
2016-05-23 17:11:12 +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
ae590b5212
Implement Renderer::FillCopy()
2015-03-12 17:44:08 +03:00
Dmitry Marakasov
be69a4ede6
Add Renderer::Copy overloads which take target Point instead of a Rect
2015-02-16 21:19:31 +03:00
Dmitry Marakasov
d7b28aa79b
Mark deprecated method as such in documentation
2015-01-20 03:40:42 +03:00
Dmitry Marakasov
f9ef31c4b2
Make setters return reference to self: Renderer
2015-01-18 03:52:19 +03:00
Dmitry Marakasov
90fef8ab49
Mark const method as such
2015-01-15 17:13:42 +03:00
Dmitry Marakasov
e5c74863f0
Implement Renderer Output size getters
2015-01-15 17:12:46 +03:00
Dmitry Marakasov
b6781c3d93
Implement some Renderer getters
2015-01-15 16:59:40 +03:00
Dmitry Marakasov
a22e667dbc
Fix documentation
2015-01-15 16:59:33 +03:00
Dmitry Marakasov
8aaf1815e0
Implement some Renderer getters
2015-01-15 16:51:17 +03:00
Dmitry Marakasov
0f1dd26ebd
Add in/out specifiers to param documentation
2015-01-12 21:43:28 +03:00
Dmitry Marakasov
5571d5c647
GetInfo should take a reference, deprecate pointer variant
2015-01-12 21:37:58 +03:00
Dmitry Marakasov
c753c8ceba
Multiple documentation fixes
2015-01-11 06:25:38 +03:00
Dmitry Marakasov
d714070984
Document deleted ctors/assignment operators
2015-01-11 00:34:47 +03:00
Dmitry Marakasov
7a1f6d8f0d
Fix typos
2015-01-10 22:11:50 +03:00
Dmitry Marakasov
25bbd97b3e
Add constructors from existing SDL2 objects
2014-12-28 06:06:22 +03:00
Dmitry Marakasov
78e985719e
Add references to SDL docs and exception info
2014-12-26 22:36:29 +03:00
Dmitry Marakasov
00d57f8867
Member variable documentation consistency
2014-12-26 22:02:40 +03:00
Dmitry Marakasov
e67394628c
Merge branch 'master' into doxygen
...
Conflicts:
SDL2pp/Texture.hh
2014-12-26 21:45:34 +03:00
Dmitry Marakasov
bb33cb273d
Fix pitch descriptions
2014-12-26 21:45:00 +03:00
Dmitry Marakasov
7d11af7005
Fix case of param/returns descriptions
2014-12-26 21:41:18 +03:00
Dmitry Marakasov
d6d272a35d
Fix typo
2014-12-26 20:44:13 +03:00
Dmitry Marakasov
5bac274b58
Fix documentation errors
2014-12-26 20:43:58 +03:00
Dmitry Marakasov
2d80a94797
Remove unneeded forward declarations
2014-12-26 17:24:48 +03:00
Dmitry Marakasov
69c4e14424
Fix remaining references to Rect::Null
2014-12-26 16:37:30 +03:00
Dmitry Marakasov
f7ec8612a7
Merge branch 'master' into doxygen
...
Conflicts:
SDL2pp/AudioDevice.hh
SDL2pp/Renderer.hh
SDL2pp/SDL2pp.hh
SDL2pp/Texture.hh
2014-12-26 16:33:01 +03:00
Dmitry Marakasov
65b5446fd1
Axe out remaining uses of old Point/Rect API
2014-12-25 19:30:37 +03:00
Dmitry Marakasov
6d0213810b
Switch to Optional
...
Remove "valid" flag from Rect and Point, derive them directly from
SDL_Rect and SDL_Point structures, simplify logic. Now x/y/w/h member
variables are directly accessible and Rect/Point may be passed as
SDL_Rect/SDL_Point via pointer or reference.
Change all cases where Null Rects and Points were used to Optional.
invalid state related functions like Null(), IsNull() and Get() are
now deprecated but are not removed yet for compatibility sake.
2014-12-25 19:10:41 +03:00
Dmitry Marakasov
862d8cf408
Fix typo
2014-12-19 23:54:51 +03:00
Dmitry Marakasov
9e7e4281bf
Fix gcc error
2014-12-19 23:53:48 +03:00
Dmitry Marakasov
e1cd806d0f
Finish documenting Renderer class
2014-12-19 22:24:51 +03:00
Dmitry Marakasov
ef56e5494b
Partially document SDL2pp::Renderer class
2014-12-19 22:06:09 +03:00
Dmitry Marakasov
46591a9cbf
Update project comment
2014-12-18 02:52:08 +03:00
Dmitry Marakasov
0124e2703a
Update copyright years
2014-12-18 02:51:49 +03:00
Dmitry Marakasov
2c7cb50fd9
Implement SetClipRect, SetScale, SetViewport, TargetSupported in Renderer
2014-02-17 03:28:57 +04:00
Dmitry Marakasov
2f91553068
Implement Renderer::ReadPixels
2014-02-11 07:41:20 +04:00
Dmitry Marakasov
648a43369b
Add missing includes and forward declarations
2014-02-03 01:50:21 +04:00
Dmitry Marakasov
411c62a3cc
Implement c++11 move for renderers, textures and windows
2014-02-01 00:18:15 +04:00