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:
authorPeter Schlaile <peter@schlaile.de>2006-02-05 22:30:37 +0300
committerPeter Schlaile <peter@schlaile.de>2006-02-05 22:30:37 +0300
commit90f0e372637178de107dbe161f1e24561ef9513d (patch)
treef7721f0c52eaef89e306f53514a35500d576015e /source/blender/src/header_seq.c
parentf17bdcb2e4da09caaeb53b0ca7d8e881d79f901e (diff)
* Adds configuration buttons for ffmpeg-output
* Large sequencer rewrite to support: - Audio-tracks, which are not completely loaded into memory (hdaudio) but kept on disk instead. - A dependency tree, that builds only the Imbufs, that are really needed - Cleaner sequencer code - Per instance data in sequencer plugins (without this, the Dynamic Noise Reduction plugin would be impossible) - A Luma Waveform display - A U/V scatter plot display - Memcache limiting in sequencer - Buttons changed according to the boosted framecount limit
Diffstat (limited to 'source/blender/src/header_seq.c')
-rw-r--r--source/blender/src/header_seq.c34
1 files changed, 28 insertions, 6 deletions
diff --git a/source/blender/src/header_seq.c b/source/blender/src/header_seq.c
index 444beda38e8..8346cafe15c 100644
--- a/source/blender/src/header_seq.c
+++ b/source/blender/src/header_seq.c
@@ -248,9 +248,12 @@ static void do_seq_addmenu(void *arg, int event)
add_sequence(SEQ_MOVIE);
break;
case 2:
- add_sequence(SEQ_SOUND);
+ add_sequence(SEQ_RAM_SOUND);
break;
case 3:
+ add_sequence(SEQ_HD_SOUND);
+ break;
+ case 4:
add_sequence(SEQ_SCENE);
break;
}
@@ -268,8 +271,9 @@ static uiBlock *seq_addmenu(void *arg_unused)
uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, "");
- uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Audio", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 2, "");
- uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Scene", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 3, "");
+ uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Audio (RAM)", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 2, "");
+ uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Audio (HD)", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 3, "");
+ uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Scene", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 4, "");
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Images", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 0, "");
uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Movie", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 1, "");
@@ -479,16 +483,34 @@ void seq_buttons()
uiBlockSetEmboss(block, UI_EMBOSS);
}
- /* IMAGE */
- uiDefIconButS(block, TOG, B_REDR, ICON_IMAGE_COL, xco,0,XIC,YIC, &sseq->mainb, 0, 0, 0, 0, "Shows the sequence output image preview");
+ /* CHANNEL shown in 3D preview */
+ uiDefButS(block, NUM, B_REDR, "C",
+ xco += XIC, 0, 3.5 * XIC,YIC,
+ &sseq->chanshown, 0, MAXSEQ, 0, 0,
+ "Channel shown in 3D preview. Click to change.");
- /* ZOOM and BORDER */
xco+= 8;
+ xco += 3.5*XIC;
+
+ /* IMAGE */
+ uiDefIconTextButS(block, ICONTEXTROW,B_REDR, ICON_SEQ_SEQUENCER,
+ "Image Preview: %t"
+ "|Sequence %x0"
+ "|Image Preview %x1"
+ "|Luma Waveform %x2"
+ "|Chroma Vectorscope %x3",
+ xco,0,XIC+10,YIC, &sseq->mainb, 0.0, 3.0,
+ 0, 0,
+ "Shows the sequence output image preview");
+ xco+=10;
+ /* ZOOM and BORDER */
+ xco+= 16;
uiBlockBeginAlign(block);
uiDefIconButI(block, TOG, B_VIEW2DZOOM, ICON_VIEWZOOM, xco+=XIC,0,XIC,YIC, &viewmovetemp, 0, 0, 0, 0, "Zooms view in and out (Ctrl MiddleMouse)");
uiDefIconBut(block, BUT, B_IPOBORDER, ICON_BORDERMOVE, xco+=XIC,0,XIC,YIC, 0, 0, 0, 0, 0, "Zooms view to fit area");
uiBlockEndAlign(block);
+
/* CLEAR MEM */
xco+= 8;
uiDefBut(block, BUT, B_SEQCLEAR, "Refresh", xco+=XIC,0,3*XIC,YIC, 0, 0, 0, 0, 0, "Clears all buffered images in memory");