From 7fdffd735ff24b570a61faf5620e2c4b2f908be2 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Tue, 16 Apr 2019 14:15:49 +0200 Subject: UI: Refactor View2D number drawing This also fixes alignment issues in many editors. E.g. the frame numbers were badly aligned to the grid lines in the timeline. Checkout the images in D4681 for more examples. Reviewers: brecht Differential Revision: https://developer.blender.org/D4681 --- source/blender/blenlib/BLI_timecode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/blenlib/BLI_timecode.h') diff --git a/source/blender/blenlib/BLI_timecode.h b/source/blender/blenlib/BLI_timecode.h index 80f4a2d1927..97851a5af90 100644 --- a/source/blender/blenlib/BLI_timecode.h +++ b/source/blender/blenlib/BLI_timecode.h @@ -27,7 +27,7 @@ #include "BLI_compiler_attrs.h" size_t BLI_timecode_string_from_time( - char *str, const size_t len, const int power, const float time_seconds, + char *str, const size_t len, const int brevity_level, const float time_seconds, const double scene_fps, const short timecode_style) ATTR_NONNULL(); @@ -36,7 +36,7 @@ size_t BLI_timecode_string_from_time_simple( ATTR_NONNULL(); size_t BLI_timecode_string_from_time_seconds( - char *str, const size_t len, const int power, const float time_seconds) + char *str, const size_t len, const int brevity_level, const float time_seconds) ATTR_NONNULL(); #endif /* __BLI_TIMECODE_H__ */ -- cgit v1.2.3