515 Commits

Author SHA1 Message Date
Dmitry Marakasov
ead93d1d69 Implement Rect::IntersectLine 2015-01-19 20:18:41 +03:00
Dmitry Marakasov
14f352dddd Implement Rect::Extend 2015-01-19 19:57:40 +03:00
Dmitry Marakasov
0de09713c9 Add mutating Union method 2015-01-19 19:51:43 +03:00
Dmitry Marakasov
2e3f6bbeb2 Provide default value for SDL_image init flags 2015-01-19 03:06:56 +03:00
Dmitry Marakasov
c319587b3b Extend example in README 2015-01-19 02:06:48 +03:00
Dmitry Marakasov
689f57b864 Exception rework
Now it explicitely stores name of SDL function which caused an error
and generates complete user-readable error message which contains both
function name and SDL error message. Users can now handle SDL2pp
exceptions along with all others in `catch (std::exception&)' and
get complete error info.

While here, fixed incorrect function names in some throw's
2015-01-19 01:41:37 +03:00
Dmitry Marakasov
c22b50e62e Add missing return 2015-01-19 01:08:27 +03:00
Dmitry Marakasov
952c2ced0c Merge branch 'clamp' 2015-01-19 01:05:36 +03:00
Dmitry Marakasov
e54e29fe4a Merge branch 'use-bool' 2015-01-19 01:05:32 +03:00
Dmitry Marakasov
b20b256d0a Add used SDL libraries into pkgconfig file
As SDL2pp doesn't replace SDL2 and is designed to be used with plain
SDL2 code, consumers which use SDL2pp with pkgconfig will almost always
be forced to include both SDL2pp and SDL2 includes and libraries. This
seems inconvenient, so add SDL2 libraries to SDL2pp pkgconfig file. This
also improves consistency with the fact that SDL2 includes are
already included in sdl2pp.pc.
2015-01-19 01:05:11 +03:00
Dmitry Marakasov
9d90792378 Implement Point::Clamp(Rect) 2015-01-19 01:05:05 +03:00
Dmitry Marakasov
ae1eac9423 Use bool type for boolean argument 2015-01-19 01:04:57 +03:00
Dmitry Marakasov
425b2f835f Merge branch 'chaining' 2015-01-19 01:04:48 +03:00
Dmitry Marakasov
7f174505eb Cosmetic fix 2015-01-19 00:59:20 +03:00
Dmitry Marakasov
e2c1333987 Make setters return reference to self: AudioDevice 2015-01-19 00:58:22 +03:00
Dmitry Marakasov
713f42fe1d Make setters return reference to self: Window 2015-01-19 00:52:15 +03:00
Dmitry Marakasov
40e8f71efa Make setters return reference to self: Point and Rect 2015-01-19 00:47:25 +03:00
Dmitry Marakasov
739629354b Make setters return reference to self: Font 2015-01-19 00:44:15 +03:00
Dmitry Marakasov
8575ea5879 Extend note on things this library will not implement 2015-01-18 20:29:34 +03:00
Dmitry Marakasov
f9ef31c4b2 Make setters return reference to self: Renderer 2015-01-18 03:52:19 +03:00
Dmitry Marakasov
7e1625a488 Make setters return reference to self: Texture 2015-01-18 03:31:49 +03:00
Dmitry Marakasov
487f53bcd7 Make setters return reference to self: Surface 2015-01-18 03:31:06 +03:00
Dmitry Marakasov
92d7873a61 Implement bunch of Window methods 2015-01-15 19:18:42 +03:00
Dmitry Marakasov
49dd6d2225 Implement Window::GetTitle() 2015-01-15 17:53:56 +03:00
Dmitry Marakasov
90fef8ab49 Mark const method as such 2015-01-15 17:13:42 +03:00
Dmitry Marakasov
be15f8c1d6 Implement Texture::UpdateYUV() 2015-01-15 17:13:00 +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
04244eadf0 Implement some Texture getters 2015-01-15 16:26:38 +03:00
Dmitry Marakasov
e40e29dd8b Move, not copy CustomRWops in 2015-01-13 00:41:25 +03:00
Dmitry Marakasov
f803236e85 Optimize travis build steps 2015-01-12 22:33:15 +03:00
Dmitry Marakasov
6e6f8d1a6f Don't use deprecated method 2015-01-12 22:27:16 +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
db2606822f Bump version for next release 2015-01-11 17:08:25 +03:00
Dmitry Marakasov
6aca3cd256 Check for doxygen warnings in travis build 2015-01-11 07:24:28 +03:00
Dmitry Marakasov
feaec6838b Remove deprecated functions 2015-01-11 06:39:50 +03:00
Dmitry Marakasov
feabe1497e Implement Font constructor from TTF_Font* 0.6.0 2015-01-11 06:36:11 +03:00
Dmitry Marakasov
1e5c17c95a Fix argument type; we use bool in C++ 2015-01-11 06:30:15 +03:00
Dmitry Marakasov
c823994fbc Fix argument name 2015-01-11 06:28:22 +03:00
Dmitry Marakasov
c753c8ceba Multiple documentation fixes 2015-01-11 06:25:38 +03:00
Dmitry Marakasov
dfd82ae6bf Make more doxygen friendly 2015-01-11 00:58:07 +03:00
Dmitry Marakasov
75637d72ef Make README.md doxygen mainpage 2015-01-11 00:57:47 +03:00
Dmitry Marakasov
d714070984 Document deleted ctors/assignment operators 2015-01-11 00:34:47 +03:00
Dmitry Marakasov
8f8c5e2bf1 Improve wording 2015-01-11 00:23:02 +03:00
Dmitry Marakasov
488063c3a5 Document StreamRWops 2015-01-11 00:16:27 +03:00
Dmitry Marakasov
4db7a4e0db Fix close return code 2015-01-11 00:16:18 +03:00
Dmitry Marakasov
6897f5f5a8 Improve wording 2015-01-11 00:15:55 +03:00