Fixed preview url

This commit is contained in:
Andrea Cavalli 2019-12-16 16:54:10 +01:00
parent 17d1bddbf1
commit 0335dadcea
5 changed files with 14 additions and 14 deletions

View File

@ -9,7 +9,7 @@ Step-by-step algebra calculator for Raspberry PI.
# Live preview # Live preview
This preview has been built using TeaVM: a JVM made in javascript. This preview has been built using TeaVM: a JVM made in javascript.
Obviously it runs slower than the original. Obviously it runs slower than the original.
https://local.cavallium.it/webtests/warppiweb/ https://local.cavallium.it/calculator/
# Keypad PCB # Keypad PCB
https://workspace.circuitmaker.com/Projects/Details/Andrea-Cavalli/Scientific-calculator-Keypad https://workspace.circuitmaker.com/Projects/Details/Andrea-Cavalli/Scientific-calculator-Keypad

View File

@ -134,7 +134,7 @@ public class CalculatorHUD extends HUD {
} else { } else {
r.glColor(0xFF990000); r.glColor(0xFF990000);
} }
r.glDrawStringLeft(0, StaticVars.screenSize[1] - ((currentDebugLine+1) * (r.getCurrentFont().getCharacterHeight()+1)), "[" + String.format("%1$03d", session.debugScreenID) + "] " + title.toUpperCase()); r.glDrawStringLeft(0, StaticVars.screenSize[1] - ((currentDebugLine+1) * (r.getCurrentFont().getCharacterHeight()+1)), "[" + String.format("%1$03d", session.debugScreenID) + "]" + title.toUpperCase());
if (session == Engine.INSTANCE.getHardwareDevice().getDisplayManager().getScreen()) { if (session == Engine.INSTANCE.getHardwareDevice().getDisplayManager().getScreen()) {
r.glColor(0xFF00CC00); r.glColor(0xFF00CC00);
} else { } else {

View File

@ -49,9 +49,9 @@ public class DesktopConsoleUtils implements it.cavallium.warppi.Platform.Console
if (StaticVars.outputLevel >= level) { if (StaticVars.outputLevel >= level) {
final String time = getTimeString(); final String time = getTimeString();
if (StaticVars.outputLevel == 0) if (StaticVars.outputLevel == 0)
println(System.out, "[" + time + "] " + str); println(System.out, "[" + time + "]" + str);
else else
println(System.out, "[" + time + "] " + str); println(System.out, "[" + time + "]" + str);
} }
} }
@ -69,9 +69,9 @@ public class DesktopConsoleUtils implements it.cavallium.warppi.Platform.Console
if (StaticVars.outputLevel >= level) { if (StaticVars.outputLevel >= level) {
final String time = getTimeString(); final String time = getTimeString();
if (StaticVars.outputLevel == 0) if (StaticVars.outputLevel == 0)
println(System.out, "[" + time + "][" + prefix + "] " + str); println(System.out, "[" + time + "][" + prefix + "]" + str);
else else
println(System.out, "[" + time + "][" + prefix + "] " + str); println(System.out, "[" + time + "][" + prefix + "]" + str);
} }
} }

View File

@ -49,9 +49,9 @@ public class HardwareConsoleUtils implements it.cavallium.warppi.Platform.Consol
if (StaticVars.outputLevel >= level) { if (StaticVars.outputLevel >= level) {
final String time = getTimeString(); final String time = getTimeString();
if (StaticVars.outputLevel == 0) if (StaticVars.outputLevel == 0)
println(System.out, "[" + time + "] " + str); println(System.out, "[" + time + "]" + str);
else else
println(System.out, "[" + time + "] " + str); println(System.out, "[" + time + "]" + str);
} }
} }
@ -69,9 +69,9 @@ public class HardwareConsoleUtils implements it.cavallium.warppi.Platform.Consol
if (StaticVars.outputLevel >= level) { if (StaticVars.outputLevel >= level) {
final String time = getTimeString(); final String time = getTimeString();
if (StaticVars.outputLevel == 0) if (StaticVars.outputLevel == 0)
println(System.out, "[" + time + "][" + prefix + "] " + str); println(System.out, "[" + time + "][" + prefix + "]" + str);
else else
println(System.out, "[" + time + "][" + prefix + "] " + str); println(System.out, "[" + time + "][" + prefix + "]" + str);
} }
} }

View File

@ -47,9 +47,9 @@ public class TeaVMConsoleUtils implements it.cavallium.warppi.Platform.ConsoleUt
if (StaticVars.outputLevel >= level) { if (StaticVars.outputLevel >= level) {
final String time = getTimeString(); final String time = getTimeString();
if (StaticVars.outputLevel == 0) if (StaticVars.outputLevel == 0)
println(System.out, "[" + time + "] " + str); println(System.out, "[" + time + "]" + str);
else else
println(System.out, "[" + time + "] " + str); println(System.out, "[" + time + "]" + str);
} }
} }
@ -67,9 +67,9 @@ public class TeaVMConsoleUtils implements it.cavallium.warppi.Platform.ConsoleUt
if (StaticVars.outputLevel >= level) { if (StaticVars.outputLevel >= level) {
final String time = getTimeString(); final String time = getTimeString();
if (StaticVars.outputLevel == 0) if (StaticVars.outputLevel == 0)
println(System.out, "[" + time + "][" + prefix + "] " + str); println(System.out, "[" + time + "][" + prefix + "]" + str);
else else
println(System.out, "[" + time + "][" + prefix + "] " + str); println(System.out, "[" + time + "][" + prefix + "]" + str);
} }
} }