diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-10-17 19:27:38 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-10-17 19:27:38 +0400 |
commit | 4b6b27ea7029a3a79702f1ec8af480aaf473c4d3 (patch) | |
tree | 1081c78b8b3f60409157dcc34aee174e4960bedb /source/blender/src/drawseq.c | |
parent | 8bb97b6efa90ca62289d5798890e55a12f34b638 (diff) |
markers in the sequencer
- added a new redraw type - REDRAWMARKER, at the moment this draws the same windows as REDRAWANIM, but this may not always be true, and it is more explicit whats
happening, This replaced 5 or so draw calls in quite a few places.
Diffstat (limited to 'source/blender/src/drawseq.c')
-rw-r--r-- | source/blender/src/drawseq.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/src/drawseq.c b/source/blender/src/drawseq.c index 7986a6da19a..8159d0fb999 100644 --- a/source/blender/src/drawseq.c +++ b/source/blender/src/drawseq.c @@ -945,7 +945,7 @@ static void draw_extra_seqinfo(void) } } else { /* single image */ if (last_seq->strip) { - sprintf(str, "Single: %s", last_seq->strip->stripdata->name); + sprintf(str, "Single: %s len: %d", last_seq->strip->stripdata->name, last_seq->enddisp-last_seq->startdisp); glRasterPos3f(xco, yco, 0.0); BMF_DrawString(G.font, str); xco += xfac*BMF_GetStringWidth(G.font, str) +30.0*xfac; @@ -1443,6 +1443,9 @@ void drawseqspace(ScrArea *sa, void *spacedata) draw_extra_seqinfo(); + /* Draw markers */ + draw_markers_timespace(); + /* restore viewport */ mywinset(sa->win); |