summaryrefslogtreecommitdiff
path: root/pugl/pugl_win.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-29 03:27:05 +0000
committerDavid Robillard <d@drobilla.net>2012-04-29 03:27:05 +0000
commit94b9e452ebd9438a917b825d8d01137ddaa9e398 (patch)
treeace1acc489c42311d94f91346ff289127ed339b6 /pugl/pugl_win.cpp
parent4e6368d019e2543e6bf792f182486732d6f5a3f5 (diff)
Implement resizable and non-resizable windows.
Diffstat (limited to 'pugl/pugl_win.cpp')
-rw-r--r--pugl/pugl_win.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/pugl/pugl_win.cpp b/pugl/pugl_win.cpp
index 50f42f0..63c6051 100644
--- a/pugl/pugl_win.cpp
+++ b/pugl/pugl_win.cpp
@@ -29,7 +29,11 @@ struct PuglPlatformDataImpl {
};
PuglWindow*
-puglCreate(PuglNativeWindow parent, const char* title, int width, int height)
+puglCreate(PuglNativeWindow parent,
+ const char* title,
+ int width,
+ int height,
+ bool resizable)
{
PuglWindow* win = (PuglWindow*)calloc(1, sizeof(PuglWindow));