Cleanup: comment line length (editors)
Prevents clang-format wrapping text before comments.
This commit is contained in:
@@ -547,7 +547,8 @@ void UI_draw_text_underline(int pos_x, int pos_y, int len, int height, const flo
|
||||
|
||||
/* ************** SPECIAL BUTTON DRAWING FUNCTIONS ************* */
|
||||
|
||||
/* based on UI_draw_roundbox_gl_mode, check on making a version which allows us to skip some sides */
|
||||
/* based on UI_draw_roundbox_gl_mode,
|
||||
* check on making a version which allows us to skip some sides */
|
||||
void ui_draw_but_TAB_outline(const rcti *rect, float rad, uchar highlight[3], uchar highlight_fade[3])
|
||||
{
|
||||
GPUVertFormat *format = immVertexFormat();
|
||||
@@ -892,7 +893,8 @@ void ui_draw_but_WAVEFORM(ARegion *UNUSED(ar), uiBut *but, const uiWidgetColors
|
||||
int scissor[4];
|
||||
float colors[3][3];
|
||||
float colorsycc[3][3] = {{1, 0, 1}, {1, 1, 0}, {0, 1, 1}};
|
||||
float colors_alpha[3][3], colorsycc_alpha[3][3]; /* colors pre multiplied by alpha for speed up */
|
||||
/* colors pre multiplied by alpha for speed up */
|
||||
float colors_alpha[3][3], colorsycc_alpha[3][3];
|
||||
float min, max;
|
||||
|
||||
if (scopes == NULL) return;
|
||||
|
||||
Reference in New Issue
Block a user