243 Commits

Author SHA1 Message Date
Dmitry Marakasov
687d8f848f Whitespace fixes 2015-01-24 23:42:21 +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
d7b28aa79b Mark deprecated method as such in documentation 2015-01-20 03:40:42 +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
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
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
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
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
feaec6838b Remove deprecated functions 2015-01-11 06:39:50 +03:00
Dmitry Marakasov
feabe1497e Implement Font constructor from TTF_Font* 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
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
Dmitry Marakasov
927f812d43 Fix argument name for Write() 2015-01-10 23:47:42 +03:00
Dmitry Marakasov
7123b32217 Remove copy/move ctor/assign definitions
Since the class is trivial, default ones are fine
2015-01-10 23:45:59 +03:00