Dmitry Marakasov
4e12008bcf
Implement Texture::Update() which takes pixel data from Surface
2015-08-27 19:11:08 +03:00
Dmitry Marakasov
7b44685492
Additional 'see also' for Texture::GetFormat()
2015-08-27 18:20:48 +03:00
Dmitry Marakasov
687d8f848f
Whitespace fixes
2015-01-24 23:42:21 +03:00
Dmitry Marakasov
7e1625a488
Make setters return reference to self: Texture
2015-01-18 03:31:49 +03:00
Dmitry Marakasov
be15f8c1d6
Implement Texture::UpdateYUV()
2015-01-15 17:13:00 +03:00
Dmitry Marakasov
04244eadf0
Implement some Texture getters
2015-01-15 16:26:38 +03:00
Dmitry Marakasov
0f1dd26ebd
Add in/out specifiers to param documentation
2015-01-12 21:43:28 +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
da2b2441f3
Minor documentation fixes
2015-01-10 23:02:36 +03:00
Dmitry Marakasov
9e53670b2e
Implement Width/Height/Size getters for Texture and Surface
2014-12-29 21:37:44 +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
fff166becd
Allow to create Texture from Surface
2014-12-27 21:45:53 +03:00
Dmitry Marakasov
60f8e7febc
Fix copypasta in documentation
2014-12-27 19:00:03 +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
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
78e985719e
Add references to SDL docs and exception info
2014-12-26 22:36:29 +03:00
Dmitry Marakasov
0d29b03306
Fix copypasta
2014-12-26 22:01:37 +03:00
Dmitry Marakasov
e67394628c
Merge branch 'master' into doxygen
...
Conflicts:
SDL2pp/Texture.hh
2014-12-26 21:45:34 +03:00
Dmitry Marakasov
bb33cb273d
Fix pitch descriptions
2014-12-26 21:45:00 +03:00
Dmitry Marakasov
f53f95718a
Document remaining Texture methods
2014-12-26 21:32:34 +03:00
Dmitry Marakasov
2d80a94797
Remove unneeded forward declarations
2014-12-26 17:24:48 +03:00
Dmitry Marakasov
6611d95aba
Provide default argument for Texture::Lock()
...
Unlike 3dd739d, correctly
2014-12-26 17:24:29 +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