Added battery icon

This commit is contained in:
Kenneth van Ewijk
2014-10-27 17:45:39 +01:00
parent 9c4d62736c
commit bee6773ee7
7 changed files with 90 additions and 19 deletions
+4 -4
View File
@@ -124,7 +124,7 @@ public class Grootheid
}
public void display(String periodname, boolean p, boolean s){
public void display(String periodname, boolean p, boolean s, double batt){
GUIboard.clearLeft();
GUIboard.clearRight();
GUIboard.clearTop();
@@ -139,13 +139,13 @@ public class Grootheid
}
if(!(statics_name == "")){
GUIboard.writePageToMatrix(getName(), statics_name + getStatics(), periodname, p, s);
GUIboard.writePageToMatrix(getName(), statics_name + getStatics(), periodname, p, s, batt);
}else if(!(custom == "")){
GUIboard.writePageToMatrix(getName(), custom, periodname, p, s);
GUIboard.writePageToMatrix(getName(), custom, periodname, p, s, batt);
}
if(!(period == null)){
GUIboard.writePageToMatrix(getName(), period.toString(), periodname, p, s);
GUIboard.writePageToMatrix(getName(), period.toString(), periodname, p, s, batt);
}
}