diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-04-22 19:56:06 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-04-22 20:54:26 +0300 |
commit | 8733ad4d2a68f31332b38a1a10391cc273579e8b (patch) | |
tree | f4ea827dc0b0aecb8255bf81dbb48d3951991437 /source/blender/editors/include/UI_interface.h | |
parent | 90068773dbf5f7556b983151544e29742dac6364 (diff) |
UI: Draw round corners between the editors
This makes easier to distinguish between different editors
(as oppose to an editor and its regions).
Note action zones look a bit strange with this. I recommend we do next:
* Make sure all 4 corners can be used as action zones.
* Remove their drawing code (or show them only on mouse hover).
Diffstat (limited to 'source/blender/editors/include/UI_interface.h')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 9f542b9c66c..ee27a244fa5 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -317,6 +317,7 @@ typedef enum { * 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_anti_fan(float tri_array[][2], unsigned int length, 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]); |