mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 13:06:13 +01:00
Updated to the new graphics API
This commit is contained in:
1 parent
06997db9e8
commit
44670984af
51 files changed
+4607
-2573
No files matched your search
@@ -119,7 +119,7 @@ CSFML_API void sfWindow_Destroy(sfWindow* window);
|
||||
/// After calling this function, the sfWindow object remains
|
||||
/// valid, you must call sfWindow_Destroy to actually delete it.
|
||||
/// All other functions such as sfWindow_PollEvent or sfWindow_Display
|
||||
/// will still work (i.e. you don't have to test sfWindow_IsOpened
|
||||
/// will still work (i.e. you don't have to test sfWindow_IsOpen
|
||||
/// every time), and will have no effect on closed windows.
|
||||
///
|
||||
/// \param window Window object
|
||||
@@ -139,7 +139,7 @@ CSFML_API void sfWindow_Close(sfWindow* window);
|
||||
/// \return sfTrue if the window is opened, sfFalse if it has been closed
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
CSFML_API sfBool sfWindow_IsOpened(const sfWindow* window);
|
||||
CSFML_API sfBool sfWindow_IsOpen(const sfWindow* window);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Get the width of the rendering region of a window
|
||||
@@ -356,21 +356,6 @@ CSFML_API void sfWindow_Display(sfWindow* window);
|
||||
////////////////////////////////////////////////////////////
|
||||
CSFML_API void sfWindow_SetFramerateLimit(sfWindow* window, unsigned int limit);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Get the duration of the last frame
|
||||
///
|
||||
/// This function returns the time elapsed between the last
|
||||
/// two calls to sfWindow_Display.
|
||||
/// This can be useful for calculating the framerate, or for
|
||||
/// updating the application's objects.
|
||||
///
|
||||
/// \param window Window object
|
||||
///
|
||||
/// \return Time elapsed in last frame, in milliseconds
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
CSFML_API sfUint32 sfWindow_GetFrameTime(const sfWindow* window);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Change the joystick threshold
|
||||
///
|
||||
|
||||
Reference in new issue
Block a user