Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <mail@jlucke.com>2019-04-16 15:15:49 +0300
committerJacques Lucke <mail@jlucke.com>2019-04-16 15:19:06 +0300
commit7fdffd735ff24b570a61faf5620e2c4b2f908be2 (patch)
treef4c020179dfe197edddf28422f1f0c44bca15d07 /source/blender/blenlib/BLI_timecode.h
parent45055199a2e515400ad5027edf9f8e72bfb8a948 (diff)
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
Diffstat (limited to 'source/blender/blenlib/BLI_timecode.h')
-rw-r--r--source/blender/blenlib/BLI_timecode.h4
1 files changed, 2 insertions, 2 deletions
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__ */