Package org.spoutcraft.api.gui

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


    screen.attachWidget("Spoutcraft", control);
    graphicCheckboxes.add((CheckBox) control);

    control = new FancyWeatherButton(fancyGraphics).setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);
    graphicCheckboxes.add((CheckBox) control);

    top += 22;

    control = new SmoothFPSButton().setAlign(WidgetAnchor.TOP_CENTER);
View Full Code Here


    top += 22;

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

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

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

    control = new FancyParticlesButton(fancyGraphics).setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);
    graphicCheckboxes.add((CheckBox) control);

    ((FancyGraphicsButton)screen.getWidget(fancyGraphics)).setLinkedButtons(graphicCheckboxes);

    top += 22;
View Full Code Here

    top += 22;

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

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

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

    control = new FancyItemsButton(fancyGraphics).setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);
    graphicCheckboxes.add((CheckBox) control);

    top += 22;

    control = new RandomMobTextureButton().setAlign(WidgetAnchor.TOP_CENTER);
View Full Code Here

    top += 22;

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

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

    top += 22;

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

    top += 22;

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

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

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

    screen.attachWidget("Spoutcraft", control);

    top += 22;
    control = new ServerLightButton().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(left).setY(top);
    screen.attachWidget("Spoutcraft", control);
   
    control = new DisplayEntityNamesinRangeButton().setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(right).setY(top);
    screen.attachWidget("Spoutcraft", control);
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.