forked from FOSS/BangleApps
parent
94f8b4bca7
commit
69c6a34ead
|
@ -249,10 +249,10 @@ function plotTrack(info) {
|
||||||
g.fillCircle(ox,oy,5);
|
g.fillCircle(ox,oy,5);
|
||||||
if (info.qOSTM) g.setColor(0, 0, 0);
|
if (info.qOSTM) g.setColor(0, 0, 0);
|
||||||
else g.setColor(1,1,1);
|
else g.setColor(1,1,1);
|
||||||
g.drawString(require("locale").distance(dist),120,220);
|
g.drawString(require("locale").distance(dist),g.getWidth() / 2, g.getHeight() - 20);
|
||||||
g.setFont("6x8",2);
|
g.setFont("6x8",2);
|
||||||
g.setFontAlign(0,0,3);
|
g.setFontAlign(0,0,3);
|
||||||
g.drawString("Back",230,200);
|
g.drawString("Back",g.getWidth() - 10, g.getHeight() - 40);
|
||||||
setWatch(function() {
|
setWatch(function() {
|
||||||
viewTrack(info.fn, info);
|
viewTrack(info.fn, info);
|
||||||
}, global.BTN3||BTN1);
|
}, global.BTN3||BTN1);
|
||||||
|
@ -336,7 +336,7 @@ function plotGraph(info, style) {
|
||||||
});
|
});
|
||||||
g.setFont("6x8",2);
|
g.setFont("6x8",2);
|
||||||
g.setFontAlign(0,0,3);
|
g.setFontAlign(0,0,3);
|
||||||
g.drawString("Back",230,200);
|
g.drawString("Back",g.getWidth() - 10, g.getHeight() - 40);
|
||||||
setWatch(function() {
|
setWatch(function() {
|
||||||
viewTrack(info.fn, info);
|
viewTrack(info.fn, info);
|
||||||
}, global.BTN3||BTN1);
|
}, global.BTN3||BTN1);
|
||||||
|
|
|
@ -304,10 +304,10 @@ function plotTrack(info) {
|
||||||
g.fillCircle(ox,oy,5);
|
g.fillCircle(ox,oy,5);
|
||||||
if (info.qOSTM) g.setColor("#000");
|
if (info.qOSTM) g.setColor("#000");
|
||||||
else g.setColor(g.theme.fg);
|
else g.setColor(g.theme.fg);
|
||||||
g.drawString(require("locale").distance(dist),120,220);
|
g.drawString(require("locale").distance(dist),g.getWidth() / 2, g.getHeight() - 20);
|
||||||
g.setFont("6x8",2);
|
g.setFont("6x8",2);
|
||||||
g.setFontAlign(0,0,3);
|
g.setFontAlign(0,0,3);
|
||||||
g.drawString("Back",230,200);
|
g.drawString("Back",g.getWidth() - 10, g.getHeight() - 40);
|
||||||
setWatch(function() {
|
setWatch(function() {
|
||||||
viewTrack(info.fn, info);
|
viewTrack(info.fn, info);
|
||||||
}, global.BTN3||BTN1);
|
}, global.BTN3||BTN1);
|
||||||
|
@ -402,7 +402,7 @@ function plotGraph(info, style) {
|
||||||
});
|
});
|
||||||
g.setFont("6x8",2);
|
g.setFont("6x8",2);
|
||||||
g.setFontAlign(0,0,3);
|
g.setFontAlign(0,0,3);
|
||||||
g.drawString("Back",230,200);
|
g.drawString("Back",g.getWidth() - 10, g.getHeight() - 40);
|
||||||
setWatch(function() {
|
setWatch(function() {
|
||||||
viewTrack(info.filename, info);
|
viewTrack(info.filename, info);
|
||||||
}, global.BTN3||BTN1);
|
}, global.BTN3||BTN1);
|
||||||
|
|
Loading…
Reference in New Issue