diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-10-28 20:51:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-10-28 20:51:28 +0300 |
commit | 36da579d122fe49f3db8759e38d6ff1921939ad4 (patch) | |
tree | bad70381af315f67e824f9d23d794c171e122a02 /source/blender/editors/include | |
parent | b2b1d8e2908e5960b700c70a6baf93b9745845bc (diff) |
Markers: show the area that handles marker events
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_markers.h | 3 | ||||
-rw-r--r-- | source/blender/editors/include/UI_view2d.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/include/ED_markers.h b/source/blender/editors/include/ED_markers.h index 76d36623b60..241cd700c20 100644 --- a/source/blender/editors/include/ED_markers.h +++ b/source/blender/editors/include/ED_markers.h @@ -43,7 +43,8 @@ struct TimeMarker; /* flags for drawing markers */ enum { DRAW_MARKERS_LINES = (1 << 0), - DRAW_MARKERS_LOCAL = (1 << 1) + DRAW_MARKERS_LOCAL = (1 << 1), + DRAW_MARKERS_MARGIN = (1 << 2), }; void draw_markers_time(const struct bContext *C, int flag); diff --git a/source/blender/editors/include/UI_view2d.h b/source/blender/editors/include/UI_view2d.h index 0f190bc0afc..4d7446a7a81 100644 --- a/source/blender/editors/include/UI_view2d.h +++ b/source/blender/editors/include/UI_view2d.h @@ -234,5 +234,6 @@ void ED_keymap_view2d(struct wmKeyConfig *keyconf); void UI_view2d_smooth_view(struct bContext *C, struct ARegion *ar, const struct rctf *cur, const int smooth_viewtx); -#endif /* __UI_VIEW2D_H__ */ +#define UI_MARKER_MARGIN_Y (42 * UI_DPI_FAC) +#endif /* __UI_VIEW2D_H__ */ |