Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/astro/mymoon/files/patch-grapher.h
16461 views
1
--- grapher.h.orig 2003-07-16 11:24:46 UTC
2
+++ grapher.h
3
@@ -13,15 +13,14 @@ memset(&arrow, 0, sizeof(arrow));
4
for (z=0;z<=progress;z++) {arrow[z]=bar;}for (k=z;k<=max/4;k++) {arrow[k]=empty;}
5
6
mvprintw(row/4,0,
7
-"
8
- Moon's situation at: %d/%d/%d %d:%d:%d
9
- Age: +- %d days
10
- Rise: %d/%d/%d %d:%d:%d
11
- Set: %d/%d/%d %d:%d:%d
12
- Illuminated: %.4f%%
13
- Moon->Earth distance: %.3f Km
14
- Distance meter: %s (%d%%)
15
-",
16
+ "Moon's situation at: %02d/%02d/%02d %02d:%02d:%02d\n"
17
+ "Age: +- %d days\n"
18
+ "Rise: %02d/%02d/%02d %02d:%02d:%02d\n"
19
+ "Set: %02d/%02d/%02d %02d:%02d:%02d\n"
20
+ "Illuminated: %.4f%% \n"
21
+ "Moon->Earth distance: %.3f Km\n"
22
+ "Distance meter: %s (%d%%)\n"
23
+,
24
date3.days,date3.months,date3.years,date3.hours,date3.minutes,(int)date3.seconds,(int)age,
25
date1.days,date1.months,date1.years,date1.hours,date1.minutes,(int)date1.seconds,
26
date2.days,date2.months,date2.years,date2.hours,date2.minutes,(int)date2.seconds,light,distance,arrow,progress*4);
27
28