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:
ResponSyS committed 2014-06-22 15:23:15 +02:00
1 parent 2a1a11ca4b
commit ed44d9e0db
1 file changed
+2 -2
+2 -2
View File
@@ -40,7 +40,7 @@
/// \brief Enumeration of window creation styles
///
////////////////////////////////////////////////////////////
enum
typedef enum
{
sfNone = 0, ///< No border / title bar (this flag and all others are mutually exclusive)
sfTitlebar = 1 << 0, ///< Title bar + fixed border
@@ -48,7 +48,7 @@ enum
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;
////////////////////////////////////////////////////////////