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:
authorMatt Ebb <matt@mke3.net>2004-01-17 08:51:06 +0300
committerMatt Ebb <matt@mke3.net>2004-01-17 08:51:06 +0300
commitaefe45e9b1683dd8736b5e249f7e53f62b20155c (patch)
tree2f7a50915abe77f8281deae5b2cd5582de75af7c /source/blender/src/header_seq.c
parentf3c5206b717a9b2d6b78344e92277f6f58f24229 (diff)
* Fixed some non-working toolbox entries (Thanks William Reynish for the report)
* Added animation playback menu items to IPO, Sequencer, Sound menus * Added hotkey descriptions to more items in the 3D View menus
Diffstat (limited to 'source/blender/src/header_seq.c')
-rw-r--r--source/blender/src/header_seq.c23
1 files changed, 19 insertions, 4 deletions
diff --git a/source/blender/src/header_seq.c b/source/blender/src/header_seq.c
index 5081955c4f8..aee51a16392 100644
--- a/source/blender/src/header_seq.c
+++ b/source/blender/src/header_seq.c
@@ -77,12 +77,20 @@ extern Sequence *last_seq;
static void do_seq_viewmenu(void *arg, int event)
{
+ extern int play_anim(int mode);
+
switch(event)
{
- case 1:
+ case 1: /* Play Back Animation */
+ play_anim(0);
+ break;
+ case 2: /* Play Back Animation in All */
+ play_anim(1);
+ break;
+ case 3:
do_seq_buttons(B_SEQHOME);
break;
- case 2:
+ case 4:
if(last_seq) {
CFRA= last_seq->startdisp;
G.v2d->cur.xmin= last_seq->startdisp- (last_seq->len/20);
@@ -101,8 +109,15 @@ static uiBlock *seq_viewmenu(void *arg_unused)
block= uiNewBlock(&curarea->uiblocks, "seq_viewmenu", UI_EMBOSSP, UI_HELV, curarea->headwin);
uiBlockSetButmFunc(block, do_seq_viewmenu, NULL);
- uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "View All|Home", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 1, "");
- uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "View Selected|NumPad .", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 2, "");
+ uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Play Back Animation|Alt A", 0, yco-=20,
+ menuwidth, 19, NULL, 0.0, 0.0, 1, 1, "");
+ uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "Play Back Animation in 3D View|Alt Shift A", 0, yco-=20,
+ menuwidth, 19, NULL, 0.0, 0.0, 1, 2, "");
+
+ uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, "");
+
+ uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "View All|Home", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 3, "");
+ uiDefIconTextBut(block, BUTM, 1, ICON_BLANK1, "View Selected|NumPad .", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0, 4, "");
uiDefBut(block, SEPR, 0, "", 0, yco-=6, menuwidth, 6, NULL, 0.0, 0.0, 0, 0, "");
if(!curarea->full) uiDefIconTextBut(block, BUTM, B_FULL, ICON_BLANK1, "Maximize Window|Ctrl UpArrow", 0, yco-=20, menuwidth, 19, NULL, 0.0, 0.0, 0,0, "");