[Pixelle-commit] SF.net SVN: pixelle:[201] trunk/pixelle/src/com/mebigfatguy/pixelle/ PixelleCompon
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2008-11-20 06:18:22
|
Revision: 201
http://pixelle.svn.sourceforge.net/pixelle/?rev=201&view=rev
Author: dbrosius
Date: 2008-11-20 06:18:19 +0000 (Thu, 20 Nov 2008)
Log Message:
-----------
split out to RGB and GS
Removed Paths:
-------------
trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleComponent.java
Deleted: trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleComponent.java
===================================================================
--- trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleComponent.java 2008-11-20 06:16:41 UTC (rev 200)
+++ trunk/pixelle/src/com/mebigfatguy/pixelle/PixelleComponent.java 2008-11-20 06:18:19 UTC (rev 201)
@@ -1,51 +0,0 @@
-/*
- * pixelle - Graphics algorithmic editor
- * Copyright (C) 2008 Dave Brosius
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-package com.mebigfatguy.pixelle;
-
-/**
- * an enum that represents a part of a bitmap
- */
-public enum PixelleComponent {
- /** the red component of a pixel */
- RED('r', 0),
- /** the green component of a pixel */
- GREEN('g', 1),
- /** the blue component of a pixel */
- BLUE('b', 2),
- /** the transparency component of a pixel */
- TRANSPARENCY('t', 3),
- /** the selection status of a pixel */
- SELECTION('s', -1);
-
- private char pixelSpec;
- private int compOffset;
-
- PixelleComponent(char c, int offset) {
- pixelSpec = c;
- compOffset = offset;
- }
-
- public char getPixelSpec() {
- return pixelSpec;
- }
-
- public int getComponentOffset() {
- return compOffset;
- }
-}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|