diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-12-02 12:43:23 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-12-02 12:43:23 +0300 |
commit | 628d7013e2c0236894d329abfde705d023833092 (patch) | |
tree | 12378e2d5618f02ebef21153618eb376b0c819bb /source/blender/makesdna/DNA_view2d_types.h | |
parent | f8d5883a5bcc7be575b1b9a2ca3ef0bfee9360d5 (diff) |
View2D - Some more tweaks...
* Improved scrollbar drawing a bit more - only cosmetic lines
* Added new view2d view-matrix api method to only use 'cur' coordinates on one axis, for use when drawing markers, etc. that need to be glued to a certain time but stay fixed in space in another dimension. This should improve the sitation for drawing markers
* To aid testing, adding markers now sets the marker to have frame number as it's "name". This will need to be removed later...
Diffstat (limited to 'source/blender/makesdna/DNA_view2d_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_view2d_types.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_view2d_types.h b/source/blender/makesdna/DNA_view2d_types.h index 683a40a3682..263b2718136 100644 --- a/source/blender/makesdna/DNA_view2d_types.h +++ b/source/blender/makesdna/DNA_view2d_types.h @@ -94,11 +94,14 @@ typedef struct View2D { /* special hacks for outliner hscroll - prevent hanging older versions of Blender */ #define B_SCROLLO (1<<4) #define HOR_SCROLLO (T_SCROLL|B_SCROLLO) - /* scale markings */ + /* scale markings - vertical */ #define LGRID_SCROLL (1<<5) #define RGRID_SCROLL (1<<6) +#define VERT_SCROLLGRID (LGRID_SCROLL|RGRID_SCROLL) + /* scale markings - horizontal */ #define BGRID_SCROLL (1<<7) #define TGRID_SCROLL (1<<8) +#define HOR_SCROLLGRID (BGRID_SCROLL|TGRID_SCROLL) #endif |