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>2008-02-24 15:12:05 +0300
committerPeter Schlaile <peter@schlaile.de>2008-02-24 15:12:05 +0300
commitf59bbef4b3c83ecd8ce3c9cad3633aaf95a64c69 (patch)
tree07cb87b24ba5fe1795679f484986891520420400 /source/blender/src/header_seq.c
parentd66e9cfdf07d01c35524647d9d48ff931baf34b5 (diff)
== Sequencer ==
Fixes a lot of small things: * zoom in/out in preview is more fine grained (use SHIFT) * zebra scopes don't try to draw the border and fail * lock/unlock now locks/unlocks all selected strips * fix redraw problems of panel on lock/unlock * buttons-panel is redrawn on translate, so that position information is shown * added lock / hide to Strip-Menu * fixed small drawing problems in header TODO: find a good key for lock / unlock (Shift-L | Alt-Shift-L isn't that nice to press...)
Diffstat (limited to 'source/blender/src/header_seq.c')
-rw-r--r--source/blender/src/header_seq.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/source/blender/src/header_seq.c b/source/blender/src/header_seq.c
index a937960036c..6b57a9c5e17 100644
--- a/source/blender/src/header_seq.c
+++ b/source/blender/src/header_seq.c
@@ -434,6 +434,18 @@ static void do_seq_editmenu(void *arg, int event)
case 17:
reload_sequence();
break;
+ case 18:
+ seq_lock_sel(1);
+ break;
+ case 19:
+ seq_lock_sel(0);
+ break;
+ case 20:
+ seq_mute_sel(1);
+ break;
+ case 21:
+ seq_mute_sel(0);
+ break;
}
}
@@ -501,6 +513,11 @@ static uiBlock *seq_editmenu(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, "Reload Strip Data...|Alt R", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 17, "");
+ uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, "");
+ uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Lock Strips...|Shift L", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 18, "");
+ uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Unlock Strips...|Alt-Shift L", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 19, "");
+ uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Mute Strips...|H", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 20, "");
+ uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Unmute Strips...|Alt H", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 21, "");
if(curarea->headertype==HEADERTOP) {
@@ -745,7 +762,7 @@ void seq_buttons()
/* ZOOM and BORDER */
xco+= 8;
uiBlockBeginAlign(block);
- uiDefIconButI(block, TOG, B_VIEW2DZOOM, ICON_VIEWZOOM, xco,0,XIC,YIC, &viewmovetemp, 0, 0, 0, 0, "Zooms view in and out (Ctrl MiddleMouse)");
+ 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);