yvt
b9a5d80f7b
Use Handle::New
to construct T <: RefCountedObject
...
Unless `T::T(Args...)` is inaccessible from `Handle::New`, in which case
`Handle::Handle{new T(args...), false}` should be used.
2019-07-20 17:01:04 +09:00
yvt
830db57c01
Require rvalue for Handle::Unmanage
2019-07-20 16:38:21 +09:00
yvt
cfb972f944
Improve code quality
...
- Overriding methods are clearly indicated with `override` keywords
- Remove redundant `virtual` keywords from destructors of subclasses
- Introduce `SPUnsupported()`, replacing most uses of
`SPNotImplemented()`, which now serves as a dynamic "TODO" marker
2018-10-13 14:43:49 +09:00
Tomoaki Kawada
624d291f79
Update #include
s
...
- Reorder them so that system libraries come first
- Use C++-style headers (`<cmath>`) instead of C-style headers (`<math.h>`)
2016-12-03 19:04:58 +09:00
Tomoaki Kawada
2eb9e35c65
Apply clang-format to all non-external source files
2016-12-03 18:23:47 +09:00
Tomoaki Kawada
89748d6bc6
Reduced compiler warnings
2016-07-15 19:40:05 +09:00
Marco Schlumpp
3e6353b999
Initialize SDL_image library before using it.
2014-02-26 17:21:20 +01:00
Marco Schlumpp
07d41d06dc
Fixed includes.
2014-02-26 17:20:54 +01:00
yvt
ea273fc32b
.jpg now can be loaded
2014-02-25 01:25:23 +09:00
yvt
e86b06111e
Fixed to compile correctly
2014-02-25 01:20:16 +09:00
yvt
cc3a53d755
Switch image loader from FLTK to SDL_image (CMakeList.txt still has to be modified)
2014-02-24 18:17:47 +09:00