mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-27 05:26:13 +01:00
Merge pull request #39 from ResponSySS/patch-1
Give a name to window style enum
This commit is contained in:
commit
42c2fb1f5c
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