Make much smaller .ico file by hand using GIMP, and check it in. png

files are inputs to that process but not used in the build until I
figure out how to script building the .ico.
This commit is contained in:
ehouse 2008-10-26 21:05:44 +00:00
parent 76c0a7becf
commit 3e4fe7c795
2 changed files with 7 additions and 4 deletions

View file

@ -66,7 +66,7 @@ CFLAGS += -D_WIN32_WCE=0x0400 -D_WIN32_IE=0x0400 -DUNDER_CE \
-fdollars-in-identifiers -D__W32API_USE_DLLIMPORT__
# back key should raise focus on main board and backspace in edit controls
CFLAGS += -DOVERRIDE_BACKKEY
RESFLAGS += -D_WIN32_WCE=400
RESFLAGS += -D_WIN32_WCE=0x0400
LFLAGS += -Wl,--major-subsystem-version,4,--minor-subsystem-version,20
ifdef HAVE_COMMCTRL
CELIBS += -lcommctrl -laygshell
@ -202,8 +202,11 @@ $(OBJDIR)/%.o : ../common/%.c $(INCLUDES)
$(OBJDIR)/xwords4.rc.o : xwords4.rc $(INCLUDES) xwords4.ico
$(WINDRES) -v $(MINGW_INC_PATH) $(RESFLAGS) -o $@ $<
xwords4.ico: $(WINCEICONS)
icotool -c -o $@ $^
# Checking in xwords4.ico for now. Hand-built using GIMP and layers
# it's 1/4 the size (because it has only two colors). Should figure
# out how to script GIMP and replace the below.
# xwords4.ico:
# $(WINCEICONS) icotool -c -o $@ $^
CAB: $(TARGET)
$(STRIP) $<
@ -221,7 +224,7 @@ test:
echo $(COMMONOBJ)
clean :
rm -rf $(OBJDIR) $(TARGET) xwords4.ico
rm -rf $(OBJDIR) $(TARGET)
help:
@echo "try 'make TARGET_OS=wince [DEBUG=TRUE]'"

BIN
wince/xwords4.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB