diff dw.h @ 1190:76262040ed5f

Added DW_PERCENT_INDETERMINATE which can be passed to dw_percent_set_pos() to show a rotating or otherwise indeterminate percent bar on supported platforms. Platforms which don't support it will either show no progress or potentially growing and contracting progress in the future if that doesn't look too weird. Committed from Windows so may be fixes coming for the other platforms soon.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 28 Sep 2011 08:22:48 +0000
parents cef7400dcaba
children 39a5f5fc7628
line wrap: on
line diff
--- a/dw.h	Tue Sep 27 22:38:25 2011 +0000
+++ b/dw.h	Wed Sep 28 08:22:48 2011 +0000
@@ -1390,6 +1390,8 @@
 #define DW_MENU_SEPARATOR ""
 #define DW_NOMENU 0
 
+#define DW_PERCENT_INDETERMINATE ((unsigned int)-1)
+
 /* Return value error codes */
 #define DW_ERROR_NONE      0
 #define DW_ERROR_GENERAL   1