VisClient/org/hfbk/vis/visnode/VisWelcome.java

Go to the documentation of this file.
00001 /*
00002  * Created on 09.11.2008
00003  * 
00004  */
00005 package org.hfbk.vis.visnode;
00006 
00007 import org.dronus.graph.Node;
00008 import org.hfbk.vis.Prefs;
00009 import org.lwjgl.util.vector.Vector3f;
00010 
00011 
00018 public class VisWelcome extends VisNode {
00019         public VisWelcome() {
00020                 super(null, new Vector3f());
00021         
00022                 /*add(new VisKeyword("Ja", new Vector3f(10, 9, 21)));
00023                 add(new VisKeyword("jetzt", new Vector3f(20, 7, 20)));
00024                 add(new VisKeyword("geht", new Vector3f(30, 3, 21)));
00025                 add(new VisKeyword("das", new Vector3f(40, 5, 20.5f)));
00026                 add(new VisKeyword("los", new Vector3f(50, 4, 20)));
00027                 add(new VisKeyword("hier.", new Vector3f(60, 8, 20.4f)));*/
00028                 
00029                 add(new VisKeyword(new Node("vis"), new Vector3f(-5, 0, 70)));
00030                 add(new VisKeyword(new Node("/"), new Vector3f(0, -1, 70)));
00031                 add(new VisKeyword(new Node("space"), new Vector3f(5, -2, 70)));
00032 
00033                 add(new VisText(
00034                         new Node("drag mouse on background to navigate.\ntry dragging with different mouse buttons\nclick keywords or enter a word beneath\n\npress the x below to exit."), 
00035                         new Vector3f(15, 8, 65.4f),
00036                         37
00037                 ));
00038 /*              add(new VisText(
00039                         new Node("den hintergrund ziehen zum bewegen.\nworte anklicken oder unten eingeben\n\n\nalt+F4 zum beenden"), 
00040                         new Vector3f(25, -5.5f, 60.4f)
00041                 ));             */
00042                 
00043                 add(new VisKeyword(
00044                                 new Node("v0."+Prefs.current.version), 
00045                                 new Vector3f(5, -8.5f, 63.4f)
00046                         ));
00047                 
00048                 //add(new VisIcal(new Node("default.ics"), new Vector3f()));
00049         }
00050 
00051         boolean fetched=false;
00052         void renderSelf() {
00053                 if (!fetched){
00054                         getRoot().fetch("welcome", Prefs.current.version, null);
00055                         fetched=true;
00056                 }
00057         }
00058 
00059 }

Generated on Tue Apr 7 17:57:22 2009 for visclient by  doxygen 1.5.1