From ed44d9e0db2e65f49ce6eb2f1dc0de755066e24b Mon Sep 17 00:00:00 2001 From: ResponSyS Date: Sun, 22 Jun 2014 15:23:15 +0200 Subject: [PATCH] Give a name to window style enum Window style sfUint32 enum was unnanmed, which made it hard to find in the documentation. --- include/SFML/Window/Window.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SFML/Window/Window.h b/include/SFML/Window/Window.h index 624bd6d..1cdf946 100644 --- a/include/SFML/Window/Window.h +++ b/include/SFML/Window/Window.h @@ -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; ////////////////////////////////////////////////////////////