[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48355] branches/soc-2012-swiss_cheese/ source/blender/gpu/GPU_colors.h: forgot to add the color dictionary for the color readability commit

Jason Wilkins Jason.A.Wilkins at gmail.com
Thu Jun 28 06:06:45 CEST 2012


Revision: 48355
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48355
Author:   jwilkins
Date:     2012-06-28 04:06:44 +0000 (Thu, 28 Jun 2012)
Log Message:
-----------
forgot to add the color dictionary for the color readability commit

Added Paths:
-----------
    branches/soc-2012-swiss_cheese/source/blender/gpu/GPU_colors.h

Added: branches/soc-2012-swiss_cheese/source/blender/gpu/GPU_colors.h
===================================================================
--- branches/soc-2012-swiss_cheese/source/blender/gpu/GPU_colors.h	                        (rev 0)
+++ branches/soc-2012-swiss_cheese/source/blender/gpu/GPU_colors.h	2012-06-28 04:06:44 UTC (rev 48355)
@@ -0,0 +1,41 @@
+/*
+ * ***** BEGIN GPL LICENSE BLOCK *****
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * The Original Code is Copyright (C) 2012 Blender Foundation.
+ * All rights reserved.
+ *
+ * The Original Code is: all of this file.
+ *
+ * Contributor(s): Jason Wilkins
+ *
+ * ***** END GPL LICENSE BLOCK *****
+ */
+
+/** \file blender/gpu/GPU_colors.h
+ *  \ingroup gpu
+ */
+
+#define CPACK_BLACK   0x000000
+#define CPACK_WHITE   0xFFFFFF
+
+#define CPACK_RED     0xFF0000
+#define CPACK_GREEN   0x00FF00
+#define CPACK_BLUE    0x0000FF
+
+#define CPACK_YELLOW  0xFFFF00
+#define CPACK_CYAN    0x00FFFF
+#define CPACK_MAGENTA 0xFF00FF




More information about the Bf-blender-cvs mailing list