Package: wmmoonclock Severity: wishlist Tags: patch
Hi, I am a wmmoonclock user and would like to propose a little modification. At the northern hemisphere the moon "grows" from right to left but at the southern one this apparent growth is from left to right. wmmoonclock shows the moon images ordered as they would be seen from the northern hemisphere. Searching the web I found a modification that allows to change this based in the latitude. It is really very simple: for negative latitudes, instead of showing ImageNumber N it should show ImageNumber (59 - N). The modification in wmMoonClock.c is simply adding one line of code: <code> ImageNumber = (int)(c.MoonPhase * 60.0 + 0.5); if (ImageNumber > 59) ImageNumber = 0; if (Glat < 0) ImageNumber = 59 - ImageNumber; /*** this line added ***/ j = ImageNumber/10; i = ImageNumber%10; copyXPMArea(67+58*i, 2+58*j, 54, 54, 5, 5); </code> Thanks and regards, Alvaro Steiger -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org