mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-27 21:36:13 +01:00
Give a name to window style enum
Window style sfUint32 enum was unnanmed, which made it hard to find in the documentation.
This commit is contained in:
1 parent
2a1a11ca4b
commit
ed44d9e0db
1 file changed
+2
-2
@@ -40,7 +40,7 @@
|
|||||||
/// \brief Enumeration of window creation styles
|
/// \brief Enumeration of window creation styles
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
enum
|
typedef enum
|
||||||
{
|
{
|
||||||
sfNone = 0, ///< No border / title bar (this flag and all others are mutually exclusive)
|
sfNone = 0, ///< No border / title bar (this flag and all others are mutually exclusive)
|
||||||
sfTitlebar = 1 << 0, ///< Title bar + fixed border
|
sfTitlebar = 1 << 0, ///< Title bar + fixed border
|
||||||
@@ -48,7 +48,7 @@ enum
|
|||||||
sfClose = 1 << 2, ///< Titlebar + close button
|
sfClose = 1 << 2, ///< Titlebar + close button
|
||||||
sfFullscreen = 1 << 3, ///< Fullscreen mode (this flag and all others are mutually exclusive)
|
sfFullscreen = 1 << 3, ///< Fullscreen mode (this flag and all others are mutually exclusive)
|
||||||
sfDefaultStyle = sfTitlebar | sfResize | sfClose ///< Default window style
|
sfDefaultStyle = sfTitlebar | sfResize | sfClose ///< Default window style
|
||||||
};
|
} sfWindowStyle;
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Reference in new issue
Block a user