[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43508] trunk/blender/source/blender/ editors/include/UI_resources.h: Code cleanup: remove some unused code.

Brecht Van Lommel brechtvanlommel at pandora.be
Wed Jan 18 23:36:16 CET 2012


Revision: 43508
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43508
Author:   blendix
Date:     2012-01-18 22:36:16 +0000 (Wed, 18 Jan 2012)
Log Message:
-----------
Code cleanup: remove some unused code.

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	2012-01-18 22:36:12 UTC (rev 43507)
+++ trunk/blender/source/blender/editors/include/UI_resources.h	2012-01-18 22:36:16 UTC (rev 43508)
@@ -45,79 +45,10 @@
 } BIFIconID;
 
 #define BIFICONID_FIRST		(ICON_NONE)
-#define BIFNICONIDS			(BIFICONID_LAST-BIFICONID_FIRST + 1)
 
 #undef DEF_ICON
 #undef DEF_VICO
 
-
-typedef enum {
-#define BIFCOLORSHADE_FIRST     (COLORSHADE_DARK)
-		COLORSHADE_DARK,
-		COLORSHADE_GREY,
-		COLORSHADE_MEDIUM,
-		COLORSHADE_HILITE,
-		COLORSHADE_LIGHT,
-		COLORSHADE_WHITE
-#define BIFCOLORSHADE_LAST      (COLORSHADE_WHITE)
-#define BIFNCOLORSHADES         (BIFCOLORSHADE_LAST-BIFCOLORSHADE_FIRST + 1)
-} BIFColorShade;
-
-typedef enum {
-#define BIFCOLORID_FIRST	(BUTGREY)
-	BUTGREY = 0,
-	BUTGREEN,
-	BUTBLUE,
-	BUTSALMON,
-	MIDGREY,
-	BUTPURPLE,
-	BUTYELLOW,
-	REDALERT,
-	BUTRUST,
-	BUTWHITE,
-	BUTDBLUE,
-	BUTPINK,
-	BUTDPINK,
-	BUTMACTIVE,
-
-	BUTIPO,
-	BUTAUDIO,
-	BUTCAMERA,
-	BUTRANDOM,
-	BUTEDITOBJECT,
-	BUTPROPERTY,
-	BUTSCENE,
-	BUTMOTION,
-	BUTMESSAGE,
-	BUTACTION,
-	BUTCD,
-	BUTGAME,
-	BUTVISIBILITY,
-	BUTYUCK,
-	BUTSEASICK,
-	BUTCHOKE,
-	BUTIMPERIAL,
-
-	BUTTEXTCOLOR,
-	BUTTEXTPRESSED,
-	BUTSBACKGROUND,
-	
-	VIEWPORTBACKCOLOR,
-	VIEWPORTGRIDCOLOR,
-	VIEWPORTACTIVECOLOR,
-	VIEWPORTSELECTEDCOLOR,
-	VIEWPORTUNSELCOLOR,
-	
-	EDITVERTSEL, 
-	EDITVERTUNSEL, 
-	EDITEDGESEL, 
-	EDITEDGEUNSEL
-	
-#define BIFCOLORID_LAST		(EDITEDGEUNSEL)
-#define BIFNCOLORIDS		(BIFCOLORID_LAST-BIFCOLORID_FIRST + 1)
-
-} BIFColorID;
-
 enum {
 	TH_REDALERT,
 



More information about the Bf-blender-cvs mailing list