Browse Source

Refixed navigation showing

Kenneth van Ewijk 11 years ago
parent
commit
c9e68a1de5
1 changed files with 8 additions and 1 deletions
  1. 8 1
      WindDirection.java

+ 8 - 1
WindDirection.java

@@ -20,7 +20,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;