From 449860a8806bc183a7f8be3c412ef293949cfbd6 Mon Sep 17 00:00:00 2001 From: Eric House Date: Sat, 7 Jan 2017 14:48:31 -0800 Subject: [PATCH] make Dbg variant's icons upside down The write-red-on-it thing doesn't work for the notify.png file used in notifications (I think because I can't find a color Android doesn't strip out.) So use a rotation transform instead. Users will never see this anyway. --- xwords4/android/scripts/Variant.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xwords4/android/scripts/Variant.mk b/xwords4/android/scripts/Variant.mk index bdf7c3924..cd58f03e9 100644 --- a/xwords4/android/scripts/Variant.mk +++ b/xwords4/android/scripts/Variant.mk @@ -7,7 +7,10 @@ $(DEST_PATH)/%.java : $(SRC_PATH)/%.java < $< > $@ $(DEST_PATH)/icon48x48.png : $(SRC_PATH)/icon48x48.png - convert $< -fill red -gravity Center -annotate +0+5 ' Dbg ' $@ + convert $< -rotate 180 -gravity Center $@ + +$(DEST_PATH)/notify.png : $(SRC_PATH)/notify.png + convert $< -rotate 180 -gravity Center $@ $(DEST_PATH)/%.png : $(SRC_PATH)/%.png @cp $< $@