77 Commits
Author SHA1 Message Date
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
Mika Attila b4163081ba Add missing const qualifiers to sfFont methods 2017-03-11 11:42:07 +01:00
Mika Attila 2e47e5dbda Deduplicate code for sfContextSettings (#116)
Deduplicate code for sfContextSettings
2016-10-31 13:32:34 +01: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
Alec Iverson 9df98d8c17 Merge 'djmaster/shader-patch' into 2.4
Fixes shader loading.
2016-08-13 01:04:38 -07:00
Alec Iverson 962a685570 Added mipmaps to sfRenderTexture and sfTexture. 2016-08-12 16:01:46 -07:00
Alec Iverson 784b20038f Added sRGB support to sfTexture. 2016-08-12 15:43:15 -07:00
Alec Iverson 864d7b822a Merged zsbzsb's outlined text branch. 2016-08-12 15:17:51 -07:00
Alec Iverson 16ea259e04 Implemented new setUniform API for shaders.
Deprecated old setParameter API.
2016-08-12 15:11:54 -07:00
Alec Iverson 36430b11c7 Added geometry shader support. 2016-08-12 14:02:18 -07:00
Alec Iverson ce5e3a3891 Deprecated capture(), added mouse grabbing API.
Deprecated: sfImage* sfRenderWindow_capture(const sfRenderWindow*);

Added: sfRenderWindow_setMouseCursorGrabbed(sfRenderWindow*, sfBool);
Added: sfWindow_setMouseCursorGrabbed(sfWindow*, sfBool);

Also reordered some functions according to order in SFML.
2016-08-10 11:34:51 -07:00
DJMaster bf46c5386a Modified sfShader_createFromFile, sfShader_createFromMemory and sfShader_createFromStream functions to allow loading of all three vertex + geometry + fragment shaders 2016-08-08 20:23:22 +02:00
DJMaster da9cce8350 Added missing sfShader_isGeometryAvailable(void) function 2016-08-08 19:57:17 +02:00
Zachariah Brown 068bb14937 Added support for outlined text 2015-09-26 10:09:28 -04:00
Laurent Gomila 9f4c4abaca Merge pull request #77 from Gyscos/master
Use size_t instead of unsigned int to follow SFML change
2015-05-02 10:12:59 +02:00
Alexandre Bury 4720e109b6 Use size_t instead of unsigned int in Graphics
Also use sfUint64 for sampleCount in sfSoundBuffer_createFromSamples
2015-05-01 13:20:43 -07:00
Oleh Prypin 1d0d7164c8 Added subtract function for Colors 2015-05-01 21:09:52 +03:00
Zachariah Brown 88a59374bc Added support for context creation flags and texture/shader native handles 2015-03-31 08:14:32 -04:00
Zachariah Brown 2d9ae6cd04 Added the ctor to create a sfColor from an sfUint32 2015-03-22 14:48:16 -04:00
Zachariah Brown 109a02c829 Added sfTouch_getPositionRenderWindow(...) function 2015-02-26 21:30:37 -05:00
Zachariah Brown 6ca48631aa Fixed a few last old copyright years and email 2015-02-25 11:56:03 -05:00
Zachariah Brown f532c0dc98 Updated copyright year and email 2015-02-24 18:17:39 -05:00
Laurent Gomila e10f7caecb Merge pull request #58 from zsbzsb/feature/fontinfo_struct
Added support for the Font::Info struct
2015-02-24 16:56:10 +01:00
Zachariah Brown 9f4120faf4 Added support for the Font::Info struct 2015-02-24 10:41:32 -05:00
Zachariah Brown 62188c38ec Added missing get underline thickness and position functions 2015-02-23 21:01:39 -05:00
Zachariah Brown 6667deca6f Removed excessive documentation to remain more consistant with the rest of the code base 2015-02-23 20:59:55 -05:00
Laurent Gomila 8de6cde2d1 Merge pull request #48 from zsbzsb/feature/window_focus
Added methods to check and request window focus
2014-10-09 22:48:24 +02:00
Zachariah Brown 766398d86e Added methods to check and request window focus 2014-10-09 15:23:25 -04:00
Laurent Gomila d105eded16 Merge pull request #47 from zsbzsb/update/font_metrics
Changed the font metrics to return floats instead of ints
2014-10-09 17:30:19 +02:00
Zachariah Brown 1f8b022d17 Changed the font metrics to return floats instead of ints 2014-10-09 09:35:37 -04:00
Zachariah Brown fdf58188ca Updated copyright year 2014-09-08 08:19:33 -04:00
Zachariah Brown d6849a3d57 Updated CSFML to match the blending mode changes 2014-06-09 16:57:44 -04:00
Laurent Gomila 6669a6590a Updated build files to reflect the latest changes in SFML 2013-11-04 22:39:52 +01:00
krepa098 a707c5e0c7 added sfRenderTexture_setRepeated, sfRenderTexture_isRepeated 2013-06-01 18:05:41 +02:00
Laurent Gomila 7535e03679 Updated the year in the copyright notice 2013-04-06 09:37:28 +02:00
Laurent Gomila 85db0634e5 Added functions to set the title of sfWindow/sfRenderWindow with a UTF-32 string 2013-03-24 12:25:09 +01:00
Laurent Gomila 44288a186c Updated sfShader_bind and sfTexture_bind 2013-01-08 22:25:05 +01:00
Laurent Gomila de75c6a122 The Xxx_copy functions now take a const pointer 2012-12-08 13:53:57 +01:00
Laurent Gomila 3277479584 Renamed convertCoords to mapPixelToCoords, and added its inverse mapCoordsToPixel 2012-11-10 10:49:49 +01:00
Laurent Gomila cc8637f65c Removed sfShader_unbind 2012-10-20 23:44:01 +02:00
Laurent Gomila 65c8bfc655 Added overloads of sfMouse_getPosition and sfMouse_setPosition for sfRenderWindow 2012-10-06 00:13:10 +02:00
Laurent Gomila 9ee38bd681 Made SFML global objects "const" 2012-09-29 14:52:01 +02:00
Laurent Gomila d7240abb18 Removed the default font 2012-08-03 23:53:48 +02:00
Laurent Gomila 046d415f98 Fix compiler errors in debug 2012-06-17 09:34:14 +02:00
Laurent Gomila 7e9321e57c Added missing include 2012-05-31 21:43:20 +02:00
Laurent Gomila bfebe0aab4 sfTransform is no longer a wrapper around a sf::Transform*, it is a simple structure 2012-05-22 17:56:01 +02:00
Laurent Gomila bf614690ad Some functions were still using the old naming convention 2012-05-01 20:21:00 +02:00
Laurent Gomila 9554c00851 Fixed compile error in debug mode 2012-03-31 22:46:09 +02:00
Laurent Gomila ad8a1aade0 Replaced getWidth/getHeight with getSize in sfImage and sfTexture 2012-03-31 22:45:37 +02:00