From 686285532be6809aade725d6b4c01f9d56826f7e Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 25 Jul 2010 15:10:38 +0100 Subject: [PATCH] use vessel and other icons from info_cache --- yarrg/where-vessels | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/yarrg/where-vessels b/yarrg/where-vessels index 092e8da..33df7f8 100755 --- a/yarrg/where-vessels +++ b/yarrg/where-vessels @@ -304,14 +304,16 @@ proc vesselclasses-init {} { } proc load-icon {icon} { - image create bitmap icon/$icon -file icons/$icon.xbm + global info_cache + image create bitmap icon/$icon -file $info_cache/$icon.xbm } proc load-icon-combine {args} { + global info_cache set cmd {} set delim "pnmcat -lr " foreach icon $args { - append cmd $delim " <(xbmtopbm icons/$icon.xbm)" + append cmd $delim " <(xbmtopbm $info_cache/$icon.xbm)" set delim " <(pbmmake -white 1 1)" } append cmd " | pbmtoxbm" -- 2.30.2