浏览代码

Fixed graph displaying nav buttons

Kenneth van Ewijk 11 年之前
父节点
当前提交
370c2207a4
共有 1 个文件被更改,包括 9 次插入2 次删除
  1. 9 2
      WindDirection.java

+ 9 - 2
WindDirection.java

@@ -1,4 +1,4 @@
-package weerstation;
+ 
 import java.util.ArrayList;
 
 public class WindDirection extends Grootheid{
@@ -30,7 +30,14 @@ public class WindDirection extends Grootheid{
     
     public void displayGraph()
     {
-        GUIboard.writePageToMatrix("", "West        East", "");
+        GUIboard.clearBottom();
+        char[] charray = "   West       East".toCharArray();
+        
+        IO.writeShort(0x40, '\n'); 
+        for(char ch : charray)
+        {
+            IO.writeShort(0x40, ch);
+        }
         
         int x,y;
         int radius = 15;