diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-02-15 02:45:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-02-15 02:45:46 +0300 |
commit | fa4ab69abf5750857e0b79295b13efa73aef0766 (patch) | |
tree | 90f81a992f006eb470a9c01033f740ae6e065c2e /source/blender/editors/interface/interface_draw.c | |
parent | 92a56bbe6a985905ab748c29f57ab89977e83f9f (diff) |
Cleanup: mixed camel/snake case
Diffstat (limited to 'source/blender/editors/interface/interface_draw.c')
-rw-r--r-- | source/blender/editors/interface/interface_draw.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/source/blender/editors/interface/interface_draw.c b/source/blender/editors/interface/interface_draw.c index 0250900759f..b6351ac74af 100644 --- a/source/blender/editors/interface/interface_draw.c +++ b/source/blender/editors/interface/interface_draw.c @@ -80,14 +80,14 @@ int UI_draw_roundbox_corner_get(void) } #endif -void UI_draw_roundbox_3ubAlpha(bool filled, - float minx, - float miny, - float maxx, - float maxy, - float rad, - const uchar col[3], - uchar alpha) +void UI_draw_roundbox_3ub_alpha(bool filled, + float minx, + float miny, + float maxx, + float maxy, + float rad, + const uchar col[3], + uchar alpha) { float colv[4]; colv[0] = ((float)col[0]) / 255; @@ -97,14 +97,14 @@ void UI_draw_roundbox_3ubAlpha(bool filled, UI_draw_roundbox_4fv(filled, minx, miny, maxx, maxy, rad, colv); } -void UI_draw_roundbox_3fvAlpha(bool filled, - float minx, - float miny, - float maxx, - float maxy, - float rad, - const float col[3], - float alpha) +void UI_draw_roundbox_3fv_alpha(bool filled, + float minx, + float miny, + float maxx, + float maxy, + float rad, + const float col[3], + float alpha) { float colv[4]; colv[0] = col[0]; @@ -1740,7 +1740,7 @@ void ui_draw_but_UNITVEC(uiBut *but, const uiWidgetColors *wcol, const rcti *rec /* backdrop */ UI_draw_roundbox_corner_set(UI_CNR_ALL); - UI_draw_roundbox_3ubAlpha( + UI_draw_roundbox_3ub_alpha( true, rect->xmin, rect->ymin, rect->xmax, rect->ymax, 5.0f, wcol->inner, 255); glCullFace(GL_BACK); |