243 Commits

Author SHA1 Message Date
Dmitry Marakasov
b9173b0588 Document ContainerRWops 2015-01-10 23:44:56 +03:00
Dmitry Marakasov
5c713ce5e2 Fix argument name for Write() 2015-01-10 23:43:43 +03:00
Dmitry Marakasov
a404f750f7 Remove copy/move ctor/assign definitions
Since the class is trivial, default ones are fine
2015-01-10 23:42:27 +03:00
Dmitry Marakasov
da2b2441f3 Minor documentation fixes 2015-01-10 23:02:36 +03:00
Dmitry Marakasov
7a1f6d8f0d Fix typos 2015-01-10 22:11:50 +03:00
Dmitry Marakasov
062dd988f3 Fix param names 2015-01-10 21:08:48 +03:00
Dmitry Marakasov
45744a831e Fix typos 2015-01-10 21:06:30 +03:00
Dmitry Marakasov
0f4eea5aab Add another variant of Rect::Contains() 2015-01-08 06:53:25 +03:00
Dmitry Marakasov
2006bcd97b Merge branch 'size-getters' 2014-12-30 16:30:15 +03:00
Dmitry Marakasov
325a7fef2a Simplify logic 2014-12-30 00:14:21 +03:00
Dmitry Marakasov
c584b1a005 Add Rect intersection and union methods 2014-12-30 00:14:14 +03:00
Dmitry Marakasov
837772dac0 Add various Rect constructors 2014-12-30 00:13:27 +03:00
Dmitry Marakasov
a5d558b1c1 Remove unused includes 2014-12-30 00:12:54 +03:00
Dmitry Marakasov
7506b05a77 Implement Rect::Contains(Rect), add corresponding test 2014-12-29 22:04:43 +03:00
Dmitry Marakasov
f4823de989 Add Point memberwise division/multiplication 2014-12-29 21:54:14 +03:00
Dmitry Marakasov
9e53670b2e Implement Width/Height/Size getters for Texture and Surface 2014-12-29 21:37:44 +03:00
Dmitry Marakasov
e439ce849c Specify default argument values, as per documentation 2014-12-29 06:55:01 +03:00
Dmitry Marakasov
c9d26eaa18 We have bool type, use it for boolean value 2014-12-29 06:53:14 +03:00
Dmitry Marakasov
c5554f5853 Add two convenience functons for gllyph metrics retrieval 2014-12-29 06:51:22 +03:00
Dmitry Marakasov
5fd7eea480 Implement whole SDL_ttf 2014-12-29 06:46:21 +03:00
Dmitry Marakasov
9a3f3339ef Implement all font rendering functions 2014-12-29 05:05:23 +03:00
Dmitry Marakasov
7ef064819b Add SDL2PP_WITH_TTF knob to Config.hh 2014-12-28 06:32:18 +03:00
Dmitry Marakasov
bd286d5573 Fix documentation 2014-12-28 06:17:18 +03:00
Dmitry Marakasov
f1398b54df Implement basic ttf rendering, use in example 2014-12-28 06:15:46 +03:00
Dmitry Marakasov
ffdeb9465d Merge branch 'master' into ttf
Conflicts:
	CMakeLists.txt
	SDL2pp/SDL2pp.hh
2014-12-28 06:14:12 +03:00
Dmitry Marakasov
835ce5d7c0 Include SDLImage conditionally 2014-12-28 06:09:59 +03:00
Dmitry Marakasov
25bbd97b3e Add constructors from existing SDL2 objects 2014-12-28 06:06:22 +03:00
Dmitry Marakasov
0557464b56 Merge branch 'surface'
Conflicts:
	CMakeLists.txt
2014-12-28 04:29:07 +03:00
Dmitry Marakasov
37c873466f Fix structure name in documentation 2014-12-28 04:02:40 +03:00
Dmitry Marakasov
f698d8cffa Add ttf-related includes to the main header 2014-12-28 03:35:01 +03:00
Dmitry Marakasov
31d948b944 Add stub for Font class 2014-12-28 03:32:38 +03:00
Dmitry Marakasov
4fff7d6cf9 Add SDLTTF class for SDL_ttf init/deinit 2014-12-28 03:32:13 +03:00
Dmitry Marakasov
fff166becd Allow to create Texture from Surface 2014-12-27 21:45:53 +03:00
Dmitry Marakasov
6e90301ba1 Add SDL_image surface loaders 2014-12-27 21:30:59 +03:00
Dmitry Marakasov
6db6d0c1bc Implement most Surface functions 2014-12-27 21:21:51 +03:00
Dmitry Marakasov
a1d01e89d4 Add Point/Rect constructors taking SDL_Point/SDL_Rect 2014-12-27 21:21:29 +03:00
Dmitry Marakasov
057804e814 Fix copypasta 2014-12-27 19:01:30 +03:00
Dmitry Marakasov
607e9e09d0 Implement surface locking 2014-12-27 19:01:28 +03:00
Dmitry Marakasov
60f8e7febc Fix copypasta in documentation 2014-12-27 19:00:03 +03:00
Dmitry Marakasov
e0032de447 Implement wrapper for SDL_image init/deinit
Fixes #21
2014-12-27 05:22:12 +03:00
Dmitry Marakasov
ad1e6879df Check for errors after calling SDL_image functions
Fixes #20
2014-12-27 05:17:01 +03:00
Dmitry Marakasov
f6dc70863e Merge branch 'error-handling'
Conflicts:
	SDL2pp/Exception.hh
2014-12-27 02:32:38 +03:00
Dmitry Marakasov
64952aea9a Use stock function instead of reimplementing with RWops 2014-12-27 02:28:42 +03:00
Dmitry Marakasov
4bf7fbd52c Store SDL error inside Exception
Fixes #22
2014-12-27 02:07:07 +03:00
Dmitry Marakasov
0007a489c3 Move Get to the top of memeber functions for consistency with other classes 2014-12-27 00:02:08 +03:00
Dmitry Marakasov
f4c2832d90 Add missing \see 2014-12-27 00:01:22 +03:00
Dmitry Marakasov
e0654f045b Consistency with other member variable docs 2014-12-27 00:01:09 +03:00
Dmitry Marakasov
7b9f951eff Document Surface class 2014-12-27 00:00:18 +03:00
Dmitry Marakasov
f1fa69a4ce Add Surface class stub 2014-12-26 23:00:12 +03:00
Dmitry Marakasov
78e985719e Add references to SDL docs and exception info 2014-12-26 22:36:29 +03:00