30 Commits

Author SHA1 Message Date
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
Dmitry Marakasov
151f9704ac Merge branch 'master' of github.com:AMDmi3/libSDL2pp 2013-12-18 06:22:47 +04:00
Dmitry Marakasov
3d57457a33 Provide default arguments for Copy() 2013-12-18 06:16:10 +04:00
Dmitry Marakasov
51aee70136 Use int type for flip argument, as it's a bitfield and not a real enum 2013-12-18 06:16:10 +04:00
Dmitry Marakasov
7698a2522e Add method to retrieve SDL_RendererInfo 2013-12-18 06:16:10 +04:00
Dmitry Marakasov
acebd488aa Add a way to reset render target to default (e.g. screen) 2013-12-18 06:14:08 +04:00
Carl Schwope
1c1f37b76e make destructors virtual 2013-11-14 15:53:51 -05:00
Dmitry Marakasov
df56f312ed Add draw functions 2013-09-18 03:05:45 +04:00
Dmitry Marakasov
c122f11643 Initial import 2013-09-06 01:47:05 +04:00