Package org.spoutcraft.api.gui

Examples of org.spoutcraft.api.gui.GenericCheckBox


    control = new ResetButton(parent).setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(left).setY(height - 25);
    getScreen().attachWidget("Spoutcraft", control);

    switchToSimpleCheck = new GenericCheckBox("Advanced");
    switchToSimpleCheck.setChecked(true);
    switchToSimpleCheck.setAlign(WidgetAnchor.CENTER_CENTER);
    switchToSimpleCheck.setX(5).setY(3).setWidth(100).setHeight(20);
    switchToSimpleCheck.setPriority(RenderPriority.Low);
    getScreen().attachWidget("Spoutcraft", switchToSimpleCheck);
View Full Code Here


    control = new ResetButton(parent).setAlign(WidgetAnchor.TOP_CENTER);
    control.setWidth(150).setHeight(20).setX(left).setY(height - 25);
    getScreen().attachWidget("Spoutcraft", control);

    switchToAdvancedCheck = new GenericCheckBox("Advanced");
    switchToAdvancedCheck.setChecked(false);
    switchToAdvancedCheck.setX(5).setY(3).setWidth(100).setHeight(20);
    switchToAdvancedCheck.setPriority(RenderPriority.Low);
    getScreen().attachWidget("Spoutcraft", switchToAdvancedCheck);
View Full Code Here

    buttonZoomIn = new GenericButton("+");
    buttonZoomOut = new GenericButton("-");
    buttonShowPlayer = new GenericButton("Player");
    buttonReset = new GenericButton("Reset View");
    buttonSave = new GenericButton("Save to Desktop");
    buttonDeathpoints = new GenericCheckBox("Deathpoints");
    ((GenericCheckBox)buttonDeathpoints).setChecked(MinimapConfig.getInstance().isDeathpoints());
    map = new MapWidget(this);
    map.setGeometry(0, 0, width, height);
    map.scrollTo(map.getPlayerPosition(), false, 0);
View Full Code Here

TOP

Related Classes of org.spoutcraft.api.gui.GenericCheckBox

Copyright © 2018 www.massapicom. 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.