diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-05-20 13:49:41 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-05-20 13:49:41 -0600 |
commit | ad716acc7fa7fd151ff96fe6d17f0ba1a3a66379 (patch) | |
tree | 810d04a5e8892aaa5f82c486b272d93f6cfd50b4 /libdimension/dimension/scene.h | |
parent | 5770d22635a63fb745bc0f3cd3dee573a6b356b6 (diff) | |
download | dimension-ad716acc7fa7fd151ff96fe6d17f0ba1a3a66379.tar.xz |
Add a refcount to canvases.
Diffstat (limited to 'libdimension/dimension/scene.h')
-rw-r--r-- | libdimension/dimension/scene.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libdimension/dimension/scene.h b/libdimension/dimension/scene.h index c182d85..ffe5fb3 100644 --- a/libdimension/dimension/scene.h +++ b/libdimension/dimension/scene.h @@ -93,6 +93,15 @@ void dmnsn_delete_scene(dmnsn_scene *scene); void dmnsn_initialize_scene(dmnsn_scene *scene); /** + * Set the output canvas for a scene. + * @param[in,out] scene The scene for which to set the canvas. + * @param[in] canvas The canvas to set. + */ +void dmnsn_scene_set_canvas(dmnsn_scene *scene, dmnsn_canvas *canvas); + +/** * Add an object to a scene. + * @param[in,out] scene The scene to which to add the object. + * @param[in] object The object to add. */ void dmnsn_scene_add_object(dmnsn_scene *scene, dmnsn_object *object); |