summaryrefslogtreecommitdiffstats
path: root/tests/tests.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-07-02 18:12:32 +0000
committerTavian Barnes <tavianator@gmail.com>2009-07-02 18:12:32 +0000
commitb6b0a35495383b64a92e9d4c9391b4a4683a7b7e (patch)
tree885d7664cd84bd60ff7841dde1bae01849ba29a8 /tests/tests.h
parent634bb3ca825dc6659f03a3013694c5c7b64460e8 (diff)
downloaddimension-b6b0a35495383b64a92e9d4c9391b4a4683a7b7e.tar.xz
New dmnsn_new_default_scene() function in libdimension-tests.
Diffstat (limited to 'tests/tests.h')
-rw-r--r--tests/tests.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/tests.h b/tests/tests.h
index fa088fc..288f339 100644
--- a/tests/tests.h
+++ b/tests/tests.h
@@ -23,6 +23,17 @@
#include <GL/gl.h>
#include <stdio.h>
+/*
+ * Convenience
+ */
+
+dmnsn_scene *dmnsn_new_default_scene();
+void dmnsn_delete_default_scene(dmnsn_scene *scene);
+
+/*
+ * Windowing
+ */
+
typedef struct {
Display *dpy;
Window win;
@@ -40,5 +51,9 @@ void dmnsn_delete_display(dmnsn_display *display);
/* Flush the GL buffers */
void dmnsn_display_frame(dmnsn_display *display);
+/*
+ * Asynchronicity
+ */
+
/* Print a progress bar of the progress of `progress' */
void progressbar(const char *str, const dmnsn_progress *progress);