From 7a4ca6a36dbcd48721f09801195075e2a01f1dcc Mon Sep 17 00:00:00 2001 From: Andrea Weikert Date: Sun, 27 Feb 2011 17:50:12 +0000 Subject: == UI icons == * Moved two #defines out of the enum to make code more readable. --- source/blender/editors/include/UI_resources.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/blender') diff --git a/source/blender/editors/include/UI_resources.h b/source/blender/editors/include/UI_resources.h index 5b486e31a39..04cf8cd35bf 100644 --- a/source/blender/editors/include/UI_resources.h +++ b/source/blender/editors/include/UI_resources.h @@ -43,12 +43,14 @@ #define DEF_VICO(name) VICO_##name, typedef enum { -#define BIFICONID_FIRST (ICON_NONE) /* ui */ #include "UI_icons.h" BIFICONID_LAST -#define BIFNICONIDS (BIFICONID_LAST-BIFICONID_FIRST + 1) } BIFIconID; + +#define BIFICONID_FIRST (ICON_NONE) +#define BIFNICONIDS (BIFICONID_LAST-BIFICONID_FIRST + 1) + #undef DEF_ICON #undef DEF_VICO -- cgit v1.2.3