From 91b20350f77ea7be7df53a5e9da56b49dd40ff35 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sun, 26 Oct 2008 21:05:44 +0000 Subject: [PATCH] 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. --- xwords4/wince/Makefile | 11 +++++++---- xwords4/wince/xwords4.ico | Bin 0 -> 1550 bytes 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 xwords4/wince/xwords4.ico diff --git a/xwords4/wince/Makefile b/xwords4/wince/Makefile index fd1d731f9..7be817501 100644 --- a/xwords4/wince/Makefile +++ b/xwords4/wince/Makefile @@ -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]'" diff --git a/xwords4/wince/xwords4.ico b/xwords4/wince/xwords4.ico new file mode 100644 index 0000000000000000000000000000000000000000..5dc8fc1d0258a5250ad2b331ce8a365b3743fd34 GIT binary patch literal 1550 zcmchXu}%Xq42GSw5(`6a=^SN19gw*~20FXP?ss_dWQh zIk8h6(sU9H&PU~bomV2i?!DPQR{SZL@)c*4ohEc(Gf>9m{w14BnQ~;Shg!$yUH8O~ z`2KU7nv;LY*2-~hEiitDer;1rJ~mRzR%jFb{5t}qERPL#j49$UPea5+_&uaNcm6{js)QyGDdD#xti zyx1g>wCJJgJLNj4#9NPEcgBz77wV}Wm234b@tXUc-+qhj0K>b5;g#oe1^TvVS@U0M K#Y4OnH^Ud+qjG`( literal 0 HcmV?d00001