fixes for full timeline updates, replace nums with syms for update interface
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / trackcanvas.inc
index 8d31d86a9f4ea56f17cb0de0e3ab7565a47cbca1..96c6c8c5146f095c0e3411b2714a482182485aad 100644 (file)
@@ -27,4 +27,14 @@ class TrackCanvas;
 #define HANDLE_W 8
 #define HANDLE_H 8
 
+// draw mode:
+// NO_DRAW used in MWindowGUI/TimelinePane update to disable canvas update
+// NORMAL_DRAW causes incremental drawing of pixmaps.  Used for navigation and index refresh.
+// FORCE_REDRAW causes all resource pixmaps to be redrawn from scratch.  Used by editing.
+// IGNORE_THREAD causes resource pixmaps to ignore picon thread.  Used by Piconthread.
+#define NO_DRAW 0
+#define NORMAL_DRAW 1
+#define FORCE_REDRAW 2
+#define IGNORE_THREAD 3
+
 #endif