diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-10-29 18:49:27 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-10-29 18:51:55 +0300 |
commit | 87ac3d14b29d61d74b9aee2296f5b9892e2aa4a0 (patch) | |
tree | de71a6de84c517837a9107253858f85018a4dfd5 /source/blender/editors/include/ED_screen.h | |
parent | aa841e2bd53bf9ed19f4902a36e6a9b483602bea (diff) |
Fix T70905: Image Editor header hides mask, cache and keyframe info if
flipped to bottom
While flipping the header to bottom works in the MCE (because MCE doesnt
allow overlapping UI) we need to take the regions visible rect into
account for the Image Editor.
Also correct clickable scubbing area (poll for frame_change) in the
Image Editor and the MovieClip Editor not taking UI_DPI_FAC into
account.
Maniphest Tasks: T70905
Differential Revision: https://developer.blender.org/D6090
Diffstat (limited to 'source/blender/editors/include/ED_screen.h')
-rw-r--r-- | source/blender/editors/include/ED_screen.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/source/blender/editors/include/ED_screen.h b/source/blender/editors/include/ED_screen.h index c3e61f5f2b2..4ca7c8f96ad 100644 --- a/source/blender/editors/include/ED_screen.h +++ b/source/blender/editors/include/ED_screen.h @@ -404,13 +404,10 @@ void ED_screen_user_menu_register(void); /* Cache display helpers */ -void ED_region_cache_draw_background(const struct ARegion *ar); +void ED_region_cache_draw_background(struct ARegion *ar); void ED_region_cache_draw_curfra_label(const int framenr, const float x, const float y); -void ED_region_cache_draw_cached_segments(const struct ARegion *ar, - const int num_segments, - const int *points, - const int sfra, - const int efra); +void ED_region_cache_draw_cached_segments( + struct ARegion *ar, const int num_segments, const int *points, const int sfra, const int efra); /* area_utils.c */ void ED_region_generic_tools_region_message_subscribe(const struct bContext *C, |