From 9f1b759e2fac0b15a7ef5a7a527ba66dbdc319b6 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 9 Jul 2009 00:32:30 +0000 Subject: Enable drawing progres bars in the background. --- tests/tests.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/tests.h') diff --git a/tests/tests.h b/tests/tests.h index bedc215..19111c8 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -61,7 +61,11 @@ void dmnsn_display_flush(dmnsn_display *display); */ /* Print a progress bar of the progress of `progress' */ -void progressbar(const char *str, const dmnsn_progress *progress); +void dmnsn_progressbar(const char *str, const dmnsn_progress *progress); +/* Print a progress bar asynchronously, convienently guaranteed to succeed if + it returns so our tests don't get cluttered up */ +dmnsn_progress *dmnsn_progressbar_async(const char *str, + const dmnsn_progress *progress); #ifdef __cplusplus } -- cgit v1.2.3