Package ModalGUI

Examples of ModalGUI.GUIWindow.centre()


    float windowHeight = SETTINGS.GUIDE_WINDOW_HEIGHT;

    GUIWindow window = new GUIWindow(0f, 0f, windowWidth, windowHeight,
        GLOBAL.gui);
    window.setLightboxed(true);
    window.centre();
    GLOBAL.gui.add(window);

    float posX = 100;
    float posY = 100;
    float spacingY = 80;
View Full Code Here


    float windowWidth = SETTINGS.GUIDE_WINDOW_WIDTH;
    float windowHeight = SETTINGS.GUIDE_WINDOW_HEIGHT;

    GUIWindow window = new GUIWindow(0f, 0f, windowWidth, windowHeight, gui);
    window.setLightboxed(true);
    window.centre();
    gui.add(window);

    float posX = 100;
    float posY = 100;
    float spacingY = 80;
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.