247 Commits

Author SHA1 Message Date
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
Dmitry Marakasov
f698d8cffa Add ttf-related includes to the main header 2014-12-28 03:35:01 +03:00
Dmitry Marakasov
48e5332f02 Add option and check for SDL_ttf support, add ttf files to build 2014-12-28 03:33:24 +03:00
Dmitry Marakasov
31d948b944 Add stub for Font class 2014-12-28 03:32:38 +03:00
Dmitry Marakasov
4fff7d6cf9 Add SDLTTF class for SDL_ttf init/deinit 2014-12-28 03:32:13 +03:00
Dmitry Marakasov
9e4bdac8cf Add cmake module to find SDL_ttf 2014-12-28 03:31:37 +03:00
Dmitry Marakasov
79300dea2b Use surface in example 2014-12-27 21:46:07 +03:00
Dmitry Marakasov
fff166becd Allow to create Texture from Surface 2014-12-27 21:45:53 +03:00
Dmitry Marakasov
6e90301ba1 Add SDL_image surface loaders 2014-12-27 21:30:59 +03:00
Dmitry Marakasov
6db6d0c1bc Implement most Surface functions 2014-12-27 21:21:51 +03:00
Dmitry Marakasov
a1d01e89d4 Add Point/Rect constructors taking SDL_Point/SDL_Rect 2014-12-27 21:21:29 +03:00
Dmitry Marakasov
057804e814 Fix copypasta 2014-12-27 19:01:30 +03:00
Dmitry Marakasov
607e9e09d0 Implement surface locking 2014-12-27 19:01:28 +03:00
Dmitry Marakasov
7b9f951eff Document Surface class 2014-12-27 00:00:18 +03:00
Dmitry Marakasov
f1fa69a4ce Add Surface class stub 2014-12-26 23:00:12 +03:00
Dmitry Marakasov
1c7159c39a Bump version for the next release 2014-12-26 22:50:35 +03:00
Dmitry Marakasov
bdc5b11e48 Call doxygen from cmake
Among other things, this allows to substitude project version into
Doxyfile
2014-12-26 22:49:41 +03:00
Dmitry Marakasov
7cb91249cd Merge branch 'doxygen' 2014-12-26 22:48:13 +03:00
Dmitry Marakasov
78e985719e Add references to SDL docs and exception info 2014-12-26 22:36:29 +03:00
Dmitry Marakasov
f28cd56337 Fix typo 2014-12-26 22:03:53 +03:00
Dmitry Marakasov
3671b60c1f Fix typo 2014-12-26 22:02:49 +03:00
Dmitry Marakasov
00d57f8867 Member variable documentation consistency 2014-12-26 22:02:40 +03:00
Dmitry Marakasov
8caddb4b39 Fix param documentation 2014-12-26 22:02:00 +03:00
Dmitry Marakasov
0d29b03306 Fix copypasta 2014-12-26 22:01:37 +03:00
Dmitry Marakasov
2e57ed81c7 Add references to SDL docs and exception info 2014-12-26 21:54:53 +03:00
Dmitry Marakasov
28a08d9071 Document new Window methods 2014-12-26 21:51:16 +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
9f65195972 Better description for bool returns 2014-12-26 21:42:36 +03:00
Dmitry Marakasov
7d11af7005 Fix case of param/returns descriptions 2014-12-26 21:41:18 +03:00
Dmitry Marakasov
5cd3ea5157 Update version 2014-12-26 21:35:12 +03:00
Dmitry Marakasov
f53f95718a Document remaining Texture methods 2014-12-26 21:32:34 +03:00
Dmitry Marakasov
baf0e7c98a Update version 0.5.0 2014-12-26 21:19:47 +03:00
Dmitry Marakasov
9e7482c154 Document Optional 2014-12-26 20:54:22 +03:00
Dmitry Marakasov
d6d272a35d Fix typo 2014-12-26 20:44:13 +03:00
Dmitry Marakasov
5bac274b58 Fix documentation errors 2014-12-26 20:43:58 +03:00
Dmitry Marakasov
debdf051f8 Document missing bits of AudioDevice 2014-12-26 20:36:54 +03:00
Dmitry Marakasov
af577836eb Fix header filename 2014-12-26 20:33:42 +03:00
Dmitry Marakasov
d6c070633c Document Point and Rect 2014-12-26 20:33:22 +03:00
Dmitry Marakasov
6ed23c44aa Exclude external headers 2014-12-26 19:45:48 +03:00
Dmitry Marakasov
5a0623f08e Add bunch of Window functions 2014-12-26 19:32:40 +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
538b1944f5 Bump .so version after incompatible changes 2014-12-26 17:13:43 +03:00
Dmitry Marakasov
69c4e14424 Fix remaining references to Rect::Null 2014-12-26 16:37:30 +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