Commit Graph
180 Commits
Author SHA1 Message Date
Chris Thrasher 843deb2f6b Use (void) for function prototypes with no parameters
This is required when compiling these headers as C code. These were
omitted becuase before the addition of examples these headers were
only compiled locally as C++ files where adding the void keyword is
not needed.
2023-12-20 15:33:35 -06:00
Lukas Dürrenberger a7e7ea4ccf Fix Vulkan type declaration 2023-12-20 01:34:56 +01:00
Chris Thrasher e2401417ef Add API for sf::WindowBase 2023-11-19 13:23:39 +01:00
kimci86andChris Thrasher 725811baa9 Implement sf::Image::saveToMemory
https://github.com/SFML/SFML/pull/1669

Co-authored-by: Chris Thrasher <chrisjthrasher@gmail.com>
2023-09-09 23:36:24 +02:00
kimci86 39dd578d45 Add sfBuffer structure to wrap a vector of bytes 2023-09-09 23:36:24 +02:00
mgrojo a80542d67d Update \see documentation with the new sfTexture_createSrgb functions
Delete reference to deleted `sfTexture_setSrgb`

See #177
2023-08-07 12:36:07 +01:00
Chris Thrasher d536b3d2cc Use SFML 2.6's set of compiler warnings
Some minor tweaks were made to remove Android-specific workarounds
that CSFML doesn't need and removing a few warnings that are not
feasible to fix at the moment.
2023-07-08 11:01:11 -06:00
kimci86 e8776bc80d Keyboard documentation fixes 2023-07-07 22:18:31 +02:00
Chris Thrasher 920ff4d072 Implement isSrgb()
https://github.com/SFML/SFML/pull/1757
2023-07-07 00:33:01 -06:00
Chris Thrasher 1d56c6ed0f Implement scancodes
https://github.com/SFML/SFML/pull/1235
2023-07-07 00:32:18 -06:00
Chris Thrasher 2a20bc7209 Implement sf::Vulkan functions
https://github.com/SFML/SFML/pull/1557
2023-07-06 15:57:23 -06:00
Shane Whitmire df0040791e Implement fetching bold kerning
C doesn't have function overloading, so I had to resort to function name
signature changes to resemble overloading. I think this is an ok way to
do this
2023-07-04 14:49:45 -06:00
Chris Thrasher cc8c7fc4de Implement directional arrow resize cursors
https://github.com/SFML/SFML/pull/1688
2023-07-04 14:46:53 -06:00
Chris Thrasher 7e2f6d4af8 Document MP3 support 2023-07-04 14:46:44 -06:00
Chris Thrasher 4c15108233 Implement sf::Rect<T>::getPosition() and sf::Rect<T>::getSize() 2023-07-04 13:09:46 -06:00
Chris Thrasher 1667644e3d Implement min and max blend modes
https://github.com/SFML/SFML/pull/1756
2023-07-03 15:55:02 -06:00
Shane Whitmire 7d2ebaf265 PR 1641 Added method to get the current read position of sf::Packet 2023-06-26 21:20:24 +02:00
Shane Whitmire e606b52c39 PR 1690 Add font enable / disable smoothing
Also added a check for whether the font is smoothing
2023-06-26 21:20:24 +02:00
Lukas Dürrenberger d270e9a513 Update CSFML version to 2.5.2 2023-06-09 19:48:52 +02:00
Lukas Dürrenberger a2418218a6 Update copyright year 2023-02-18 11:13:43 +01:00
Noé Lopez ac4f02c4ac Add function for default RenderState (#178) 2023-02-18 10:56:48 +01:00
EnokViking e40235ffb0 Add functions for creating sRGB enabled textures from file, memory, etc. (#177)
* Add functions for creating sRGB enabled textures from file / memory / stream / image
* Remove unused functions
* Remove redundant sfTexture_createFromFile declaration
2022-12-25 22:47:16 +01:00
Luhrel 8d14b53047 Implements sfContext_getFunction 2022-10-27 22:11:25 +02:00
Luhrel 47cf45ad54 Rename _drawVertexBufferWithIndex to _drawVertexBufferRange & Implements sfRender[Window/Texture]_drawVertexBufferWithIndex 2022-10-27 22:11:25 +02:00
Luhrel 30dbf80507 Implements sfTextureCoordinateType with sfTexture_bind 2022-10-27 22:11:25 +02:00
Luhrel c27917ebf9 Implements sfContext_isExtensionAvailable 2022-10-27 22:11:25 +02:00
Lukas Dürrenberger f84ff413a1 Update CSFML version to 2.5.1
- Add macOS build script
- Update existing nuget build script
2021-07-11 16:54:41 +02:00
crumblingstatue cdc9bc6a21 Fix incorrect sfRenderTexture_createWithSettings header signature 2019-07-17 16:05:43 +02:00
DJMaster 1c75ff0546 Update RenderTexture.h
CSFML_GRAPHICS_API is missing
2019-03-23 18:22:42 +01:00
Demo Xin 93c8f8ee21 * Corrected Text.h getLineSpacing to the proper name sfText_getLineSpacing 2018-11-10 09:08:40 -05:00
spacechase0 eb4a9cfe1d Update copyright year 2018-06-05 14:05:52 -04:00
spacechase0 7ef69e3b1c Update for 2.5.0 2018-06-05 14:05:52 -04:00
DJMaster fed0b38279 Comments fixed 2017-08-27 19:49:18 +02:00
Mika Attila b4163081ba Add missing const qualifiers to sfFont methods 2017-03-11 11:42:07 +01:00
Mika Attila 55be7dbfd6 Add setVirtualKeyboardVisible 2016-11-09 18:47:33 +01:00
Mika Attila aed28415ed Add sRgbCapable field to sfContextSettings 2016-10-31 14:05:21 +01:00
Mika Attila 57eda5f923 Add missing sfContext_getSettings 2016-10-25 15:28:22 +02:00
Mika Attila b56ca39562 Update docs for sfContext_setActive 2016-10-25 13:53:41 +02:00
Mika Attila 52c7de16f0 Have sfContext_setActive return sfBool instead of void
Return the result of sf::Context::setActive instead of discarding it.
2016-10-25 13:50:09 +02:00
Marco Antognini 16c3b6936a Bump version number in Config.h 2016-10-09 17:00:14 +02:00
DJMaster 94558cdb63 Added missing headers separator 2016-10-03 23:03:12 +02:00
DJMaster d78a8bfa33 Typo fix 2016-10-01 13:29:56 +02:00
Alec Iverson 4e269cf863 Correct sfGlslBVec* members to sfBool from bool.
Corrected sfShader_setBvec*Uniform()s accordingly.

Fixes #105.
2016-09-30 09:11:52 -07:00
Mika Attila 45fe62b7ed Strip trailing whitespace in Shader.h 2016-09-29 13:31:19 +02:00
Mika Attila a192e85345 Add missing header for size_t in Shader.h
This fixes a build error with GCC 6
2016-09-29 13:30:25 +02:00
Alec Iverson 9df98d8c17 Merge 'djmaster/shader-patch' into 2.4
Fixes shader loading.
2016-08-13 01:04:38 -07:00
Alec Iverson ac9b33dd1a Merge pull request #1 from DJMaster/audio-patch
Added return value to function sfSoundBufferRecorder_start
2016-08-12 17:03:04 -07:00
Alec Iverson 470bf3d190 Correctly deprecated sfMouseWheelEvent.
Corrected some spacing/alignment.
2016-08-12 16:57:01 -07:00
Alec Iverson 41fa94478a Added address arg to listen/bind on (sockets) 2016-08-12 16:29:42 -07:00
Alec Iverson 3c70f99028 Added stereo recording support to sfSoundRecorder. 2016-08-12 16:04:24 -07:00