aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail/types.h')
-rw-r--r--pugl/detail/types.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/pugl/detail/types.h b/pugl/detail/types.h
index 4ac224b..d018be5 100644
--- a/pugl/detail/types.h
+++ b/pugl/detail/types.h
@@ -89,22 +89,22 @@ typedef void PuglSurface;
/** Graphics backend interface. */
struct PuglBackendImpl {
/** Get visual information from display and setup view as necessary. */
- int (*configure)(PuglView*);
+ PuglStatus (*configure)(PuglView*);
/** Create surface and drawing context. */
- int (*create)(PuglView*);
+ PuglStatus (*create)(PuglView*);
/** Destroy surface and drawing context. */
- int (*destroy)(PuglView*);
+ PuglStatus (*destroy)(PuglView*);
/** Enter drawing context, for drawing if parameter is true. */
- int (*enter)(PuglView*, bool);
+ PuglStatus (*enter)(PuglView*, bool);
/** Leave drawing context, after drawing if parameter is true. */
- int (*leave)(PuglView*, bool);
+ PuglStatus (*leave)(PuglView*, bool);
/** Resize drawing context to the given width and height. */
- int (*resize)(PuglView*, int, int);
+ PuglStatus (*resize)(PuglView*, int, int);
/** Return the puglGetContext() handle for the application, if any. */
void* (*getContext)(PuglView*);