386 Commits

Author SHA1 Message Date
Dmitry Marakasov
fbe9a77044 Add demo for FillCopy() 2015-03-12 17:44:28 +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
9e8fb2fc69 Add section comment 2015-02-11 01:26:39 +03:00
Dmitry Marakasov
882c4b4737 Use more hinting bundled library path 2015-02-11 01:26:39 +03:00
Dmitry Marakasov
a31677af6a Disable self-assignment warning for tests
As we deliberately do these self-assignments. Fixes -Werror build with clang 3.6.
2015-01-30 20:07:37 +03:00
Dmitry Marakasov
687d8f848f Whitespace fixes 2015-01-24 23:42:21 +03:00
Dmitry Marakasov
33f48a165a Mark SDL2 include dirs as system 2015-01-24 06:16:08 +03:00
Dmitry Marakasov
1159900d08 Bump version for next release 2015-01-22 20:55:28 +03:00
Dmitry Marakasov
e5210da891 Bump soversion after ABI-breaking changes since last release 0.7.0 2015-01-22 14:59:30 +03:00
Dmitry Marakasov
2869db24ef Remove unneeded parentheses, fix README example 2015-01-21 23:15:18 +03:00
Dmitry Marakasov
3ac98e50f6 Implement Window::SetBordered 2015-01-21 23:13:41 +03:00
Dmitry Marakasov
50a73c1377 Implement Window::SetIcon 2015-01-21 23:13:24 +03:00
Dmitry Marakasov
f9435a520e Add coverity status badge 2015-01-21 21:16:24 +03:00
Dmitry Marakasov
d7b28aa79b Mark deprecated method as such in documentation 2015-01-20 03:40:42 +03:00
Dmitry Marakasov
ca859c83a7 Fix test 2015-01-20 03:07:09 +03:00
Dmitry Marakasov
eccb504b4f Use more EXPECT_EQUAL when applicable 2015-01-20 03:03:12 +03:00
Dmitry Marakasov
fdcbcddc1d Implement stream output operators for Point and Rect 2015-01-20 02:56:34 +03:00
Dmitry Marakasov
fa7ba94957 Implement Point::Wrap 2015-01-20 02:38:16 +03:00
Dmitry Marakasov
ecf9731750 Implement more Window methods 2015-01-19 23:29:51 +03:00
Dmitry Marakasov
dfaf8d0da3 Fix documentation 2015-01-19 20:19:29 +03:00
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