Examples of attachWidget()


Examples of org.spoutcraft.api.gui.GenericScrollArea.attachWidget()

    button = new ReturnToMainMenu().setText("Return to Main Menu");
    button.setHeight(20).setWidth(200);
    button.setX((int) (width / 2 - button.getWidth() / 2));
    button.setY(top);
    button.setAlign(WidgetAnchor.TOP_CENTER);
    screen.attachWidget("Spoutcraft", button);
    top += 26;
  }

  @Override
  public void drawScreen(int var1, int var2, float var3) {
View Full Code Here

Examples of org.spoutcraft.api.gui.GenericScrollArea.attachWidget()

    control.setWidth(150).setHeight(20).setX(left).setY(top);
    screen.attachWidget("Spoutcraft", control);

    control = new ClearWaterToggleButton().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);
    top += 22;

    control = new ViewBobbingButton().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(left).setY(top);
    screen.attachWidget("Spoutcraft", control);
View Full Code Here

Examples of org.spoutcraft.api.gui.GenericScrollArea.attachWidget()

    screen.attachWidget("Spoutcraft", control);
    top += 22;

    control = new ViewBobbingButton().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(left).setY(top);
    screen.attachWidget("Spoutcraft", control);

    control = new VoidFogButton().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);
    top += 22;
View Full Code Here

Examples of org.spoutcraft.api.gui.GenericScrollArea.attachWidget()

    control.setWidth(150).setHeight(20).setX(left).setY(top);
    screen.attachWidget("Spoutcraft", control);

    control = new VoidFogButton().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);
    top += 22;

    control = new DelayedTooltipCheckbox().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(left).setY(top);
    screen.attachWidget("Spoutcraft", control);
View Full Code Here

Examples of org.spoutcraft.api.gui.GenericScrollArea.attachWidget()

    screen.attachWidget("Spoutcraft", control);
    top += 22;

    control = new DelayedTooltipCheckbox().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(left).setY(top);
    screen.attachWidget("Spoutcraft", control);

    control = new WaterBiomeColorsButton().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);
View Full Code Here

Examples of org.spoutcraft.api.gui.GenericScrollArea.attachWidget()

    control.setWidth(150).setHeight(20).setX(left).setY(top);
    screen.attachWidget("Spoutcraft", control);

    control = new WaterBiomeColorsButton().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);

    top += 22;

    control = new Anaglyph3DButton().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(left).setY(top);
View Full Code Here

Examples of org.spoutcraft.api.gui.GenericScrollArea.attachWidget()

    top += 22;

    control = new Anaglyph3DButton().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(left).setY(top);
    screen.attachWidget("Spoutcraft", control);

    control = new ServerTexturesButton().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);
   
View Full Code Here

Examples of org.spoutcraft.api.gui.GenericScrollArea.attachWidget()

    control.setWidth(150).setHeight(20).setX(left).setY(top);
    screen.attachWidget("Spoutcraft", control);

    control = new ServerTexturesButton().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);
   
    top +=22;
   
    control = new HotbarTextButton().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(left).setY(top);
View Full Code Here

Examples of org.spoutcraft.api.gui.GenericScrollArea.attachWidget()

   
    top +=22;
   
    control = new HotbarTextButton().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(left).setY(top);
    screen.attachWidget("Spoutcraft", control);
   
    control = new ChatColorAssistButton().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);
View Full Code Here

Examples of org.spoutcraft.api.gui.GenericScrollArea.attachWidget()

    control.setWidth(150).setHeight(20).setX(left).setY(top);
    screen.attachWidget("Spoutcraft", control);
   
    control = new ChatColorAssistButton().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);

    top += 22;

    control = new SmoothLightingSlider().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(left).setY(top);
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.