Package com.pointcliki.ui

Examples of com.pointcliki.ui.TextBox.position()


        i += 26;
       
        String[] choices = s.choices();
        if (choices == null) {
          TextBox box = new TextBox(s.value().equals("") ? s.name() : s.value(), s.name());
          box.position(new Vector2f(0, i)).resize(new Vector2f(155, 24));
          box.setChangedMinion(new Minion<IEvent>() {
            @Override
            public long run(Dispatcher<IEvent> dispatcher, String type, IEvent event) {
              s.value(type);
              editLogic(l);
View Full Code Here


      };
    });
   
    final TextBox author = new TextBox(scene(EditorScene.class).map().author(), "author");
    author.resize(new Vector2f(155, 24));
    author.position(new Vector2f(0, 26));
    addChild(author, 1);
    author.setChangedMinion(new Minion<IEvent> () {
      public long run(Dispatcher<IEvent> dispatcher, String type, IEvent event) {
        scene(EditorScene.class).map().author(author.value());
        return Minion.CONTINUE;
View Full Code Here

      };
    });
   
    TextBox dimensions = new TextBox(scene(EditorScene.class).map().width() + " " + scene(EditorScene.class).map().height(), "dimensions");
    dimensions.resize(new Vector2f(155, 24));
    dimensions.position(new Vector2f(0, 52));
    addChild(dimensions, 1);
   
    TextBox test4 = new TextBox("camera location");
    test4.resize(new Vector2f(155, 24));
    test4.position(new Vector2f(0, 78));
View Full Code Here

    dimensions.position(new Vector2f(0, 52));
    addChild(dimensions, 1);
   
    TextBox test4 = new TextBox("camera location");
    test4.resize(new Vector2f(155, 24));
    test4.position(new Vector2f(0, 78));
    addChild(test4, 1);
   
    final TextBox quirks = new TextBox(scene(EditorScene.class).map().quirks(), "quirkz mode");
    quirks.resize(new Vector2f(155, 24));
    quirks.position(new Vector2f(0, 104));
View Full Code Here

    test4.position(new Vector2f(0, 78));
    addChild(test4, 1);
   
    final TextBox quirks = new TextBox(scene(EditorScene.class).map().quirks(), "quirkz mode");
    quirks.resize(new Vector2f(155, 24));
    quirks.position(new Vector2f(0, 104));
    addChild(quirks, 1);
    quirks.setChangedMinion(new Minion<IEvent> () {
      public long run(Dispatcher<IEvent> dispatcher, String type, IEvent event) {
        scene(EditorScene.class).map().quirks(quirks.value());
        return Minion.CONTINUE;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.