diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pugl_cairo_demo.c | 2 | ||||
-rw-r--r-- | examples/pugl_embed_demo.c | 2 | ||||
-rw-r--r-- | examples/pugl_window_demo.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/pugl_cairo_demo.c b/examples/pugl_cairo_demo.c index 67bc13c..1d998a8 100644 --- a/examples/pugl_cairo_demo.c +++ b/examples/pugl_cairo_demo.c @@ -124,7 +124,7 @@ postButtonRedisplay(PuglView* view) } static void -onDisplay(PuglTestApp* app, PuglView* view, const PuglEventExpose* event) +onDisplay(PuglTestApp* app, PuglView* view, const PuglExposeEvent* event) { cairo_t* cr = (cairo_t*)puglGetContext(view); diff --git a/examples/pugl_embed_demo.c b/examples/pugl_embed_demo.c index 677b94f..311ab3b 100644 --- a/examples/pugl_embed_demo.c +++ b/examples/pugl_embed_demo.c @@ -112,7 +112,7 @@ swapFocus(PuglTestApp* app) } static void -onKeyPress(PuglView* view, const PuglEventKey* event, const char* prefix) +onKeyPress(PuglView* view, const PuglKeyEvent* event, const char* prefix) { PuglTestApp* app = (PuglTestApp*)puglGetHandle(view); PuglRect frame = puglGetFrame(view); diff --git a/examples/pugl_window_demo.c b/examples/pugl_window_demo.c index f7d5b2c..1e38aa1 100644 --- a/examples/pugl_window_demo.c +++ b/examples/pugl_window_demo.c @@ -72,7 +72,7 @@ onDisplay(PuglView* view) } static void -onKeyPress(PuglView* view, const PuglEventKey* event) +onKeyPress(PuglView* view, const PuglKeyEvent* event) { PuglWorld* world = puglGetWorld(view); PuglTestApp* app = (PuglTestApp*)puglGetWorldHandle(world); |