A basic graphics package for the LPC4088 Display Module.

Dependents:   lpc4088_displaymodule_demo_sphere sampleGUI sampleEmptyGUI lpc4088_displaymodule_fs_aid ... more

Fork of DMBasicGUI by EmbeddedArtists AB

Revision:
1:46c8df4608c8
Parent:
0:4977187e90c7
Child:
5:f4de114c31c3
--- a/Application/Image.cpp	Thu Dec 11 11:03:57 2014 +0000
+++ b/Application/Image.cpp	Thu Dec 11 18:15:52 2014 +0000
@@ -1,3 +1,18 @@
+/*
+ *  Copyright 2014 Embedded Artists AB
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ */
 
 #include "mbed.h"
 #include "Image.h"
@@ -83,10 +98,6 @@
                     a |= (*p++) <<  8;  // green
                     a |= (*p++) <<  0;  // blue
                     *pConverted++ = a;
-//                    *pConverted++ = 0;    // alpha
-//                    *pConverted++ = *p++; // red
-//                    *pConverted++ = *p++; // green
-//                    *pConverted++ = *p++; // blue
                 }
             }
         } else {
@@ -185,4 +196,3 @@
   fseek(f, pos, SEEK_SET);
   return size;
 }
-