Cleanup: clang-format

Also add space below file references.
This commit is contained in:
Campbell Barton 2022-04-05 07:51:48 +10:00
parent 744369c114
commit b51d6d5068
2 changed files with 16 additions and 2 deletions

View File

@ -2579,8 +2579,20 @@ static void reroute_node_draw(
const int x = BLI_rctf_cent_x(&node.totr) - (width / 2);
const int y = node.totr.ymax;
uiBut *label_but = uiDefBut(
&block, UI_BTYPE_LABEL, 0, showname, x, y, width, (short)NODE_DY, nullptr, 0, 0, 0, 0, nullptr);
uiBut *label_but = uiDefBut(&block,
UI_BTYPE_LABEL,
0,
showname,
x,
y,
width,
(short)NODE_DY,
nullptr,
0,
0,
0,
0,
nullptr);
UI_but_drawflag_disable(label_but, UI_BUT_TEXT_LEFT);
}

View File

@ -103,6 +103,7 @@ void draw_seq_strip_thumbnail(struct View2D *v2d,
float pixely);
/* sequencer_draw_channels.c */
void draw_channels(const struct bContext *C, struct ARegion *region);
void channel_draw_context_init(const struct bContext *C,
struct ARegion *region,
@ -271,6 +272,7 @@ void SEQUENCER_OT_view_selected(struct wmOperatorType *ot);
void SEQUENCER_OT_view_ghost_border(struct wmOperatorType *ot);
/* sequencer_channels_edit.c */
void SEQUENCER_OT_rename_channel(struct wmOperatorType *ot);
/* sequencer_preview.c */