aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-06 21:52:47 +0100
committerDavid Robillard <d@drobilla.net>2020-03-06 21:52:47 +0100
commite304a519d0d1971716cf1dfacb30b0469cada2e4 (patch)
tree397c632d25b982aa560036c396a47ea742a206b6
parent970ce3152b6935a2c07b475916639d197dc1ae06 (diff)
Move puglSetEventFunc() to init group
-rw-r--r--pugl/pugl.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index 6a8a236..bc168d6 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -592,6 +592,12 @@ PUGL_API PuglHandle
puglGetHandle(PuglView* view);
/**
+ Set the function to call when an event occurs.
+*/
+PUGL_API PuglStatus
+puglSetEventFunc(PuglView* view, PuglEventFunc eventFunc);
+
+/**
Set a hint to configure window properties.
This only has an effect when called before puglCreateWindow().
@@ -783,12 +789,6 @@ puglPostRedisplayRect(PuglView* view, PuglRect rect);
*/
/**
- Set the function to call when an event occurs.
-*/
-PUGL_API PuglStatus
-puglSetEventFunc(PuglView* view, PuglEventFunc eventFunc);
-
-/**
Grab the input focus.
*/
PUGL_API PuglStatus