Package org.spoutcraft.api.gui

Examples of org.spoutcraft.api.gui.GenericSlider


    minimapDrag = new GenericGradient();
    minimapDrag.setTopColor(dragColor);
    minimapDrag.setBottomColor(dragColor);
    buttonDone = new GenericButton("Done");
    buttonReset = new GenericButton("Reset to Default");
    sliderScale = new GenericSlider();
    float scale = MinimapConfig.getInstance().getSizeAdjust();
    sliderScale.setSliderPosition(scale / 4);

    getScreen().attachWidgets("Spoutcraft", title, minimapDrag, buttonDone, buttonReset, sliderScale);
  }
View Full Code Here

TOP

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

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.