aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h8
1 files changed, 5 insertions, 3 deletions
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.