From ccaf475422460bb10870689f6b6ddd09c94aa2af Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 10 Sep 2012 07:03:30 +0000 Subject: code cleanup: use typedef'd enum for block bounds types. --- source/blender/editors/include/UI_interface.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 2b4ee325e46..06fb3b9f7d3 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -397,7 +397,8 @@ void uiBlockBeginAlign(uiBlock *block); void uiBlockEndAlign(uiBlock *block); /* block bounds/position calculation */ -enum { +typedef enum { + UI_BLOCK_BOUNDS_NONE = 0, UI_BLOCK_BOUNDS = 1, UI_BLOCK_BOUNDS_TEXT, UI_BLOCK_BOUNDS_POPUP_MOUSE, -- cgit v1.2.3