aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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