X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ftrackcanvas.h;h=d6787999d0f0ac1d8fb38cff9b0bfe006776ec3b;hb=3fc547b01e919d3044bacf2a78baddeaed04e3a0;hp=b42660c57bb1a29c26bb0a586bfbd5376b3b3b2f;hpb=230f4fdce9d4b62d8780702bb406a1f5f629a3c3;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/trackcanvas.h b/cinelerra-5.1/cinelerra/trackcanvas.h index b42660c5..d6787999 100644 --- a/cinelerra-5.1/cinelerra/trackcanvas.h +++ b/cinelerra-5.1/cinelerra/trackcanvas.h @@ -43,20 +43,13 @@ #include "resourcepixmap.inc" #include "timelinepane.inc" #include "track.inc" +#include "trackcanvas.inc" #include "tracks.inc" #include "transitionhandles.inc" #include "keyframe.inc" #include -// draw mode: -// 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 NORMAL_DRAW 1 -#define FORCE_REDRAW 2 -#define IGNORE_THREAD 3 - class TrackCanvas : public BC_SubWindow { public: @@ -273,7 +266,7 @@ public: void update_transitions(); void update_keyframe_handles(Track *track); // Draw everything to synchronize with the view. - void draw(int mode = 0, int hide_cursor = 1); + void draw(int mode, int hide_cursor); // Draw resources during index building void draw_indexes(Indexable *indexable); // Get location of edit on screen without boundary checking