forked from FOSS/BangleApps
fonts change
parent
3ee3ddc403
commit
2eea84f01d
|
@ -32,3 +32,6 @@
|
||||||
* Bugfix in map display (last segment was missing + wrong colors).
|
* Bugfix in map display (last segment was missing + wrong colors).
|
||||||
* Waypoint detections using OSM + sharp angles
|
* Waypoint detections using OSM + sharp angles
|
||||||
* New algorith for direction detection
|
* New algorith for direction detection
|
||||||
|
|
||||||
|
0.11:
|
||||||
|
* Better fonts (more free space, still readable).
|
||||||
|
|
|
@ -174,8 +174,12 @@ class Status {
|
||||||
let hours = now.getHours().toString();
|
let hours = now.getHours().toString();
|
||||||
g.setFont("6x8:2")
|
g.setFont("6x8:2")
|
||||||
.setColor(g.theme.fg)
|
.setColor(g.theme.fg)
|
||||||
.drawString(hours + ":" + minutes, 0, g.getHeight() - 49);
|
.drawString(hours + ":" + minutes, g.getWidth() - 50, g.getHeight() - 15);
|
||||||
g.drawString("d. " + rounded_distance + "/" + total, 0, g.getHeight() - 32);
|
g.setFont("6x15").drawString(
|
||||||
|
"d. " + rounded_distance + "/" + total,
|
||||||
|
0,
|
||||||
|
g.getHeight() - 32
|
||||||
|
);
|
||||||
g.drawString(
|
g.drawString(
|
||||||
"seg." +
|
"seg." +
|
||||||
(this.current_segment + 1) +
|
(this.current_segment + 1) +
|
||||||
|
@ -191,13 +195,13 @@ class Status {
|
||||||
if (this.distance_to_next_point <= 20) {
|
if (this.distance_to_next_point <= 20) {
|
||||||
if (this.path.is_waypoint(this.reaching)) {
|
if (this.path.is_waypoint(this.reaching)) {
|
||||||
g.setColor(0.0, 1.0, 0.0)
|
g.setColor(0.0, 1.0, 0.0)
|
||||||
.setFont("6x8:2")
|
.setFont("6x15")
|
||||||
.drawString("turn", g.getWidth() - 55, 35);
|
.drawString("turn", g.getWidth() - 55, 35);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!this.on_path) {
|
if (!this.on_path) {
|
||||||
g.setColor(1.0, 0.0, 0.0)
|
g.setColor(1.0, 0.0, 0.0)
|
||||||
.setFont("6x8:2")
|
.setFont("6x15")
|
||||||
.drawString("lost", g.getWidth() - 55, 35);
|
.drawString("lost", g.getWidth() - 55, 35);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "gipy",
|
"id": "gipy",
|
||||||
"name": "Gipy",
|
"name": "Gipy",
|
||||||
"shortName": "Gipy",
|
"shortName": "Gipy",
|
||||||
"version": "0.10",
|
"version": "0.11",
|
||||||
"description": "Follow gpx files",
|
"description": "Follow gpx files",
|
||||||
"allow_emulator":false,
|
"allow_emulator":false,
|
||||||
"icon": "gipy.png",
|
"icon": "gipy.png",
|
||||||
|
|
Loading…
Reference in New Issue