From 27c0d291382b74fe784c4799a01d255de8729e07 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 17 May 2021 15:12:41 +1000 Subject: Cleanup: clang-format --- source/blender/editors/armature/pose_slide.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'source/blender/editors/armature') diff --git a/source/blender/editors/armature/pose_slide.c b/source/blender/editors/armature/pose_slide.c index edac5dc61c9..55c2204b4ab 100644 --- a/source/blender/editors/armature/pose_slide.c +++ b/source/blender/editors/armature/pose_slide.c @@ -292,7 +292,7 @@ static void draw_ticks(const float start_percentage, } } -static void draw_main_line(const struct rctf main_line_rect, +static void draw_main_line(const struct rctf main_line_rect, const float percentage, const bool overshoot, const uint8_t color_overshoot[4], @@ -390,7 +390,7 @@ static void pose_slide_draw_2d_slider(const struct bContext *UNUSED(C), ARegion const float line_width = 1.5 * U.pixelsize; const float base_tick_height = 12.0 * U.pixelsize; const float line_y = region->winy / 2; - + struct rctf main_line_rect = {.xmin = (region->winx / 2) - (SLIDE_PIXEL_DISTANCE / 2), .xmax = (region->winx / 2) + (SLIDE_PIXEL_DISTANCE / 2), .ymin = line_y - line_width / 2, @@ -448,7 +448,7 @@ static void pose_slide_draw_2d_slider(const struct bContext *UNUSED(C), ARegion sizeof(percentage_string), &percentage_pixel_size[0], &percentage_pixel_size[1]); - + BLF_position(fontid, main_line_rect.xmin - 24.0 * U.pixelsize - percentage_pixel_size[0] / 2, (region->winy / 2) - percentage_pixel_size[1] / 2, @@ -1196,14 +1196,14 @@ static void pose_slide_draw_status(bContext *C, tPoseSlideOp *pso) } else { BLI_snprintf(status_str, - sizeof(status_str), - "%s: %s | %s | %s | %s | %s", - mode_str, - limits_str, - overshoot_str, - precision_str, - increments_str, - bone_vis_str); + sizeof(status_str), + "%s: %s | %s | %s | %s | %s", + mode_str, + limits_str, + overshoot_str, + precision_str, + increments_str, + bone_vis_str); } ED_workspace_status_text(C, status_str); -- cgit v1.2.3