Merge pull request #23 from Tectu/master

Merge Tectu changes
ugfx_release_2.6
Andrew Hannam 2013-04-03 04:40:10 -07:00
commit efc9448ea4
11 changed files with 23 additions and 0 deletions

View File

@ -19,6 +19,7 @@ FEATURE: Added gdispDrawPoly() and gdispFillConvexPoly()
FEATURE: Added arrow button style to GWIN buttons
FEATURE: Added the ability to specify a custom button drawing routine
FEATURE: SSD1963 rework by username 'fred'
FEATURE: Added Picture converter tool
*** changes after 1.4 ***

Binary file not shown.

View File

@ -1,6 +1,11 @@
This utility converts a file (of any type) into a c array
so that it can be compiled into your project.
Please note that we don't take any responsibility for the
precompiled binaries at all. They are provided 'as is' without
any warranty.
For example:
file2c -cs test.bmp test-image.h

View File

@ -0,0 +1,15 @@
TARGET = file2c
SRCS = $(shell find -name '*.c')
OBJS = $(addsuffix .o,$(basename $(SRCS)))
CFLAGS = -Wall -p
CC = /usr/bin/gcc
RM = /bin/rm -f
all: clean
$(CC) $(CFLAGS) -o $(TARGET) $(SRCS)
clean:
$(RM) $(TARGET) $(OBJS)

View File

@ -17,6 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
@ -190,3 +191,4 @@ size_t i;
return 0;
}