[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35229] trunk/blender/source/blender/ editors/include/UI_resources.h: == UI icons ==

Andrea Weikert elubie at gmx.net
Sun Feb 27 18:50:12 CET 2011


Revision: 35229
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35229
Author:   elubie
Date:     2011-02-27 17:50:12 +0000 (Sun, 27 Feb 2011)
Log Message:
-----------
== UI icons ==
* Moved two #defines out of the enum to make code more readable.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/include/UI_resources.h

Modified: trunk/blender/source/blender/editors/include/UI_resources.h
===================================================================
--- trunk/blender/source/blender/editors/include/UI_resources.h	2011-02-27 17:27:00 UTC (rev 35228)
+++ trunk/blender/source/blender/editors/include/UI_resources.h	2011-02-27 17:50:12 UTC (rev 35229)
@@ -43,12 +43,14 @@
 #define DEF_VICO(name) VICO_##name,
 
 typedef enum {
-#define BIFICONID_FIRST		(ICON_NONE)
 	/* ui */
 #include "UI_icons.h"
 	BIFICONID_LAST
+} BIFIconID;
+
+#define BIFICONID_FIRST		(ICON_NONE)
 #define BIFNICONIDS			(BIFICONID_LAST-BIFICONID_FIRST + 1)
-} BIFIconID;
+
 #undef DEF_ICON
 #undef DEF_VICO
 




More information about the Bf-blender-cvs mailing list