diff options
author | David Robillard <d@drobilla.net> | 2020-03-06 21:52:47 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-03-06 21:52:47 +0100 |
commit | e304a519d0d1971716cf1dfacb30b0469cada2e4 (patch) | |
tree | 397c632d25b982aa560036c396a47ea742a206b6 | |
parent | 970ce3152b6935a2c07b475916639d197dc1ae06 (diff) |
Move puglSetEventFunc() to init group
-rw-r--r-- | pugl/pugl.h | 12 |
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 |