Dmitry Marakasov
93a77542d8
Fix move assignments
...
- Add self-assignment checks
- Free resources of object which is going to be replaced to avoid
resource leaks
2014-11-30 01:22:22 +03:00
Dmitry Marakasov
7357952e5a
Add SetTitle, use std::string for window title
2014-02-03 05:00:36 +04:00
Dmitry Marakasov
c89ec85164
Add window size getters
2014-02-03 04:37:31 +04:00
Dmitry Marakasov
c3702a1eb8
Add explicit check for nullptr before destroying SDL objects
...
This is not really needed as SDL has these checks internally,
but this way it's still safer and more apparent that moved-from
objects are handled properly.
2014-02-01 03:36:48 +04:00
Dmitry Marakasov
411c62a3cc
Implement c++11 move for renderers, textures and windows
2014-02-01 00:18:15 +04:00
Dmitry Marakasov
c122f11643
Initial import
2013-09-06 01:47:05 +04:00