Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2010-06-03 11:27:55 +0400
committerMatt Ebb <matt@mke3.net>2010-06-03 11:27:55 +0400
commit21d112c36f661f3ce8648f4eadfe1325929e9184 (patch)
tree0f880b11d750b7d5800154faa67e9920012e8b83 /source/blender/makesdna/DNA_windowmanager_types.h
parent3b6aa5b6a588b76e1ed6f25f11ae77dd07ecfa46 (diff)
Reworked the non-blocking reports display in the info header:
* Now it displays the last report from the global list, not just from operators * Rather than disappearing when a new operator is run, it stays until it times out or a new report is added * Fun animated transitions ;) http://mke3.net/blender/devel/2.5/reports_header.mov Now need to investigate report usage with popups. Ideally we can have most reports non-blocking, so they're less intrusive, only popping up for dire errors. Problem is many things in Blender right now are marked as RPT_ERROR when probably RPT_WARNING is more appropriate. Should probably keep RPT_ERROR for things that demand immediate attention.
Diffstat (limited to 'source/blender/makesdna/DNA_windowmanager_types.h')
-rw-r--r--source/blender/makesdna/DNA_windowmanager_types.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_windowmanager_types.h b/source/blender/makesdna/DNA_windowmanager_types.h
index e1c3dcf82c4..ed52316990e 100644
--- a/source/blender/makesdna/DNA_windowmanager_types.h
+++ b/source/blender/makesdna/DNA_windowmanager_types.h
@@ -96,7 +96,16 @@ typedef struct ReportList {
int printlevel; /* ReportType */
int storelevel; /* ReportType */
int flag, pad;
+ struct wmTimer *reporttimer;
} ReportList;
+
+/* timer customdata to control reports display */
+typedef struct ReportTimerInfo {
+ float col[3];
+ float greyscale;
+ float widthfac;
+} ReportTimerInfo;
+
/* reports need to be before wmWindowManager */