First part of sequencer attack:

Sequencer image preview finally supports zooming out. Yay!
This commit is contained in:
Alexander Ewering
2005-11-07 13:22:23 +00:00
parent 979c28bf06
commit f7c955b18e
2 changed files with 9 additions and 4 deletions

View File

@@ -3462,6 +3462,7 @@ static void winqreadseqspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
case PADPLUSKEY:
if(sseq->mainb) {
sseq->zoom++;
if(sseq->zoom==-1) sseq->zoom= 1;
if(sseq->zoom>8) sseq->zoom= 8;
}
else {
@@ -3487,7 +3488,8 @@ static void winqreadseqspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
case PADMINUS:
if(sseq->mainb) {
sseq->zoom--;
if(sseq->zoom<1) sseq->zoom= 1;
if(sseq->zoom==0) sseq->zoom= -2;
if(sseq->zoom<-8) sseq->zoom= -8;
}
else {
if((G.qual==LR_SHIFTKEY))