mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-27 21:36:13 +01:00
Add API for sf::WindowBase
This commit is contained in:
1 parent
d90cd6f5ee
commit
e2401417ef
10 files changed
+768
-64
No files matched your search
@@ -31,26 +31,12 @@
|
||||
#include <SFML/Window/Export.h>
|
||||
#include <SFML/Window/Event.h>
|
||||
#include <SFML/Window/VideoMode.h>
|
||||
#include <SFML/Window/WindowBase.h>
|
||||
#include <SFML/Window/WindowHandle.h>
|
||||
#include <SFML/Window/Types.h>
|
||||
#include <SFML/System/Vector2.h>
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Enumeration of window creation styles
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
typedef enum
|
||||
{
|
||||
sfNone = 0, ///< No border / title bar (this flag and all others are mutually exclusive)
|
||||
sfTitlebar = 1 << 0, ///< Title bar + fixed border
|
||||
sfResize = 1 << 1, ///< Titlebar + resizable border + maximize button
|
||||
sfClose = 1 << 2, ///< Titlebar + close button
|
||||
sfFullscreen = 1 << 3, ///< Fullscreen mode (this flag and all others are mutually exclusive)
|
||||
sfDefaultStyle = sfTitlebar | sfResize | sfClose ///< Default window style
|
||||
} sfWindowStyle;
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Enumeration of the context attribute flags
|
||||
///
|
||||
@@ -406,7 +392,7 @@ CSFML_WINDOW_API void sfWindow_setFramerateLimit(sfWindow* window, unsigned int
|
||||
/// \brief Change the joystick threshold
|
||||
///
|
||||
/// The joystick threshold is the value below which
|
||||
/// no JoyMoved event will be generated.
|
||||
/// no JoystickMoved event will be generated.
|
||||
///
|
||||
/// \param window Window object
|
||||
/// \param threshold New threshold, in the range [0, 100]
|
||||
|
||||
Reference in new issue
Block a user