diff options
author | Ton Roosendaal <ton@blender.org> | 2005-10-20 18:41:10 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-10-20 18:41:10 +0400 |
commit | 7a7dadc107452063db1aa4a47ce9899211c17b1c (patch) | |
tree | 683da314cfc31b41899e6a2c73bfa326d726115c /source/blender/makesdna/DNA_view2d_types.h | |
parent | 89597ed362052510ffe4c6c6db39fcccf41721c0 (diff) |
New option; "Lock Time to Other Windows" for Ipo, Action, NLA and Time
windows. If set (in View pulldown), it synchronizes the horizontal scale of
the current window with the other Windows with this option set. That way
you always have these windows showing an identical part of the time you
work on.
Also added because Action Window now displays its content relative to
NLA strips.
Diffstat (limited to 'source/blender/makesdna/DNA_view2d_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_view2d_types.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_view2d_types.h b/source/blender/makesdna/DNA_view2d_types.h index 797df42c5a3..cfd6f682e71 100644 --- a/source/blender/makesdna/DNA_view2d_types.h +++ b/source/blender/makesdna/DNA_view2d_types.h @@ -44,12 +44,20 @@ typedef struct View2D { short scroll, keeptot; short keepaspect, keepzoom; short oldwinx, oldwiny; - int pad; + int flag; } View2D; +/* v2d->keepzoom */ #define V2D_KEEPZOOM 0x0001 #define V2D_LOCKZOOM_X 0x0100 #define V2D_LOCKZOOM_Y 0x0200 +/* event codes for locking function */ +#define V2D_LOCK_COPY 1 +#define V2D_LOCK_REDRAW 2 + +/* v2d->flag */ +#define V2D_VIEWLOCK 1 + #endif |