Dmitry Marakasov
7a1f6d8f0d
Fix typos
2015-01-10 22:11:50 +03:00
Dmitry Marakasov
062dd988f3
Fix param names
2015-01-10 21:08:48 +03:00
Dmitry Marakasov
45744a831e
Fix typos
2015-01-10 21:06:30 +03:00
Dmitry Marakasov
3cde4c27be
Disable latex generation
2015-01-10 21:01:40 +03:00
Dmitry Marakasov
bc8b6eb31a
Quiet doxygen
2015-01-10 21:00:03 +03:00
Dmitry Marakasov
0f4eea5aab
Add another variant of Rect::Contains()
2015-01-08 06:53:25 +03:00
Dmitry Marakasov
a657e9e52b
Bump minor .so version to account for new features
2014-12-30 17:38:56 +03:00
Dmitry Marakasov
2c80f50088
Merge branch 'cmake-fix'
2014-12-30 16:30:19 +03:00
Dmitry Marakasov
2006bcd97b
Merge branch 'size-getters'
2014-12-30 16:30:15 +03:00
Dmitry Marakasov
9f8c2d1895
Merge branch 'travis-fix'
2014-12-30 16:30:02 +03:00
Dmitry Marakasov
4dd9bbc9e7
Merge branch 'point-rect'
2014-12-30 16:29:58 +03:00
Dmitry Marakasov
4fe70e1980
Apply libstdc++ fix present in later versions of gcc 4.8
...
Without this clang build fails
2014-12-30 16:25:52 +03:00
Dmitry Marakasov
d6820a01e2
Install external headers as well
...
Conflicts:
CMakeLists.txt
2014-12-30 15:51:57 +03:00
Dmitry Marakasov
5ea7b7fc89
Update Rect tests
2014-12-30 00:14:36 +03:00
Dmitry Marakasov
325a7fef2a
Simplify logic
2014-12-30 00:14:21 +03:00
Dmitry Marakasov
c584b1a005
Add Rect intersection and union methods
2014-12-30 00:14:14 +03:00
Dmitry Marakasov
837772dac0
Add various Rect constructors
2014-12-30 00:13:27 +03:00
Dmitry Marakasov
a5d558b1c1
Remove unused includes
2014-12-30 00:12:54 +03:00
Dmitry Marakasov
7506b05a77
Implement Rect::Contains(Rect), add corresponding test
2014-12-29 22:04:43 +03:00
Dmitry Marakasov
518f9fff35
Add test for multiplication/division
2014-12-29 22:00:49 +03:00
Dmitry Marakasov
e18f54d302
Add test for Point/Rect construction and comparison from/with corresponding SDL objects
2014-12-29 21:58:38 +03:00
Dmitry Marakasov
f4823de989
Add Point memberwise division/multiplication
2014-12-29 21:54:14 +03:00
Dmitry Marakasov
7d00d3bbb2
Add outline to font demo
2014-12-29 21:38:38 +03:00
Dmitry Marakasov
31c68423fc
Use size getters
2014-12-29 21:38:21 +03:00
Dmitry Marakasov
9e53670b2e
Implement Width/Height/Size getters for Texture and Surface
2014-12-29 21:37:44 +03:00
Dmitry Marakasov
ca505369f3
README improvements and updates
2014-12-29 20:39:05 +03:00
Dmitry Marakasov
8764021d9e
Improve CMake library detection modules
...
- Use standard FIND_PACKAGE_HANDLE_STANDARD_ARGS instead of custom code
- Fix reporting not found dependencies (was broken due to SDL2_ttf vs.
SDL2_TTF), FIND_PACKAGE_HANDLE_STANDARD_ARGS handles this gracefully
2014-12-29 18:23:00 +03:00
Dmitry Marakasov
25cfb442f6
Merge branch 'ttf'
2014-12-29 18:22:34 +03:00
Dmitry Marakasov
7d65c0809e
Update readme
2014-12-29 07:02:02 +03:00
Dmitry Marakasov
e439ce849c
Specify default argument values, as per documentation
2014-12-29 06:55:01 +03:00
Dmitry Marakasov
c9d26eaa18
We have bool type, use it for boolean value
2014-12-29 06:53:14 +03:00
Dmitry Marakasov
c5554f5853
Add two convenience functons for gllyph metrics retrieval
2014-12-29 06:51:22 +03:00
Dmitry Marakasov
5fd7eea480
Implement whole SDL_ttf
2014-12-29 06:46:21 +03:00
Dmitry Marakasov
9a3f3339ef
Implement all font rendering functions
2014-12-29 05:05:23 +03:00
Dmitry Marakasov
8a7d5cab0e
Make example more demonstrative
2014-12-28 06:38:29 +03:00
Dmitry Marakasov
5a72312d82
Offset by real surface size
2014-12-28 06:36:27 +03:00
Dmitry Marakasov
7ef064819b
Add SDL2PP_WITH_TTF knob to Config.hh
2014-12-28 06:32:18 +03:00
Dmitry Marakasov
bd286d5573
Fix documentation
2014-12-28 06:17:18 +03:00
Dmitry Marakasov
f1398b54df
Implement basic ttf rendering, use in example
2014-12-28 06:15:46 +03:00
Dmitry Marakasov
ffdeb9465d
Merge branch 'master' into ttf
...
Conflicts:
CMakeLists.txt
SDL2pp/SDL2pp.hh
2014-12-28 06:14:12 +03:00
Dmitry Marakasov
835ce5d7c0
Include SDLImage conditionally
2014-12-28 06:09:59 +03:00
Dmitry Marakasov
0c0a7aad15
Only add image-related sources to the project if SDL_image support is enabled
2014-12-28 06:09:47 +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
37c873466f
Fix structure name in documentation
2014-12-28 04:02:40 +03:00
Dmitry Marakasov
cf79498c5e
Bundle Bitstream Vera font
...
It's not that large (even smaller than our example .wav file), has
liberal license and saves us from complexity of finding system
font. Later I may consider installing it as a default font to make
ttf features of SDL2pp usable out-of-box without need for extra
fonts.
2014-12-28 04:01:58 +03:00
Dmitry Marakasov
ffc2caf14d
If font is not found, just don't build example instead of failing
2014-12-28 03:50:22 +03:00
Dmitry Marakasov
3570d812eb
Add more possible paths to Vera.ttf
2014-12-28 03:49:50 +03:00
Dmitry Marakasov
54903db243
Install library and font necessary for ttf support
2014-12-28 03:38:50 +03:00
Dmitry Marakasov
9a9aa0b05c
Add stub for ttf example
2014-12-28 03:35:38 +03:00