23 Commits

Author SHA1 Message Date
Dmitry Marakasov
f53f95718a Document remaining Texture methods 2014-12-26 21:32:34 +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
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
fae12fdb7c Move whole descriptions into documentation headers 2014-12-19 21:28:03 +03:00
Dmitry Marakasov
c74a6332f7 Document AudioDevice class 2014-12-19 21:20:19 +03:00
Dmitry Marakasov
7ccded6216 Document Texture::LockHandle and AudioDevice::LockHandle classes 2014-12-19 19:50:10 +03:00
Dmitry Marakasov
6b1ab40bfd Add Texture to the group 2014-12-18 21:36:13 +03:00
Dmitry Marakasov
d5ddaa63a9 Merge branch 'master' into doxygen
Conflicts:
	README.md
	SDL2pp/SDL2pp.hh
2014-12-18 17:36:57 +03:00
Dmitry Marakasov
7e61a4aa7d Merge branch 'texture-lock' 2014-12-18 17:28:08 +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
1118a9b166 Implement empty constructor for Texture::LockHandle
Useful if lock must be initialized after it was created
While here, deinitialize all fields of an object which was moved-from
2014-12-17 03:50:02 +03:00
Dmitry Marakasov
7f059d8a1a Start documenting Texture class 2014-12-16 20:13:38 +03:00
Dmitry Marakasov
a97d100372 Implement texture property getters 2014-11-25 23:41:54 +03:00
Dmitry Marakasov
f5fa211cfe Implement texture locking 2014-11-24 19:27:56 +03:00
Dmitry Marakasov
2b84c17ce2 Allow to load texture fro file or via RWops 2014-09-05 05:03:12 +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
4c46058a4b Provide Set*Mod with default values, such so no-arg call will reset modifier to default 2013-12-18 06:16:10 +04:00
Dmitry Marakasov
96576e112d Add method to set color component multipliers 2013-12-18 06:16:10 +04:00
Dmitry Marakasov
92925a9620 Add a way to swap some types of objects 2013-12-18 06:15:46 +04:00
Carl Schwope
1c1f37b76e make destructors virtual 2013-11-14 15:53:51 -05:00
Dmitry Marakasov
c122f11643 Initial import 2013-09-06 01:47:05 +04:00