diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-04-22 20:02:17 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-04-22 20:54:26 +0300 |
commit | 90068773dbf5f7556b983151544e29742dac6364 (patch) | |
tree | 6a72068d51eebf29ca41c7caf0fc82fed6291cd6 /source/blender/editors/include/UI_interface.h | |
parent | 2d0c1f324c4dbe26906a5da886e20f35d19813a6 (diff) |
UI: Move ui_draw_anti_tria to UI_interface.h
Using extern makes too easy to get a crash if the original
function definition changed.
Diffstat (limited to 'source/blender/editors/include/UI_interface.h')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 191c34fc7f2..9f542b9c66c 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -316,6 +316,8 @@ typedef enum { * Functions to draw various shapes, taking theme settings into account. * Used for code that draws its own UI style elements. */ +void UI_draw_anti_tria(float x1, float y1, float x2, float y2, float x3, float y3, const float color[4]); + void UI_draw_roundbox_corner_set(int type); void UI_draw_roundbox_aa(bool filled, float minx, float miny, float maxx, float maxy, float rad, const float color[4]); void UI_draw_roundbox_4fv(bool filled, float minx, float miny, float maxx, float maxy, float rad, const float col[4]); |