aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-08-04 18:17:30 +0200
committerDavid Robillard <d@drobilla.net>2019-09-03 08:34:39 +0200
commitd015bf0d762b40c6c0d5a7af71add8710d3792ad (patch)
treeecd84c0caf9e8dee69071155f492a51329514d95 /pugl/pugl.h
parente4446d0939156cf542f4c6455bdef36cff69c00d (diff)
downloadpugl-d015bf0d762b40c6c0d5a7af71add8710d3792ad.tar.gz
pugl-d015bf0d762b40c6c0d5a7af71add8710d3792ad.tar.bz2
pugl-d015bf0d762b40c6c0d5a7af71add8710d3792ad.zip
Add puglGetWorld()
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index ee83af7..6b60f69 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -534,6 +534,12 @@ PUGL_API void
puglFreeView(PuglView* view);
/**
+ Return the world that `view` is a part of.
+*/
+PUGL_API PuglWorld*
+puglGetWorld(PuglView* view);
+
+/**
Set a hint before creating a window.
*/
PUGL_API void