From cea41bcb9be36fdfe9d273133996e1622586f27b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 18 Mar 2013 19:49:48 +0000 Subject: Addition of visible parameter and other minor fixes from FalkTX. --- pugl/pugl.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'pugl/pugl.h') diff --git a/pugl/pugl.h b/pugl/pugl.h index 9be936b..7f68351 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -124,7 +124,7 @@ typedef enum { PUGL_KEY_SHIFT, PUGL_KEY_CTRL, PUGL_KEY_ALT, - PUGL_KEY_SUPER, + PUGL_KEY_SUPER } PuglKey; /** @@ -134,7 +134,7 @@ typedef enum { PUGL_MOD_SHIFT = 1, /**< Shift key */ PUGL_MOD_CTRL = 1 << 1, /**< Control key */ PUGL_MOD_ALT = 1 << 2, /**< Alt/Option key */ - PUGL_MOD_SUPER = 1 << 3, /**< Mod4/Command/Windows key */ + PUGL_MOD_SUPER = 1 << 3 /**< Mod4/Command/Windows key */ } PuglMod; /** @@ -219,13 +219,15 @@ typedef void (*PuglSpecialFunc)(PuglView* view, bool press, PuglKey key); @param width Window width in pixels. @param height Window height in pixels. @param resizable Whether window should be user resizable. + @param visible Whether window should be initially visible. */ PUGL_API PuglView* puglCreate(PuglNativeWindow parent, const char* title, int width, int height, - bool resizable); + bool resizable, + bool visible); /** Set the handle to be passed to all callbacks. -- cgit v1.2.1