Package net.machinemuse.general.gui.clickable

Examples of net.machinemuse.general.gui.clickable.ClickableButton


        this.targetItem = targetItem;
        this.targetModule = targetModule;
        double sizex = border.right() - border.left();
        double sizey = border.bottom() - border.top();

        this.installButton = new ClickableButton("Install", new MusePoint2D(
                border.right() - sizex / 2.0, border.bottom() - sizey
                / 4.0),
                true);
        this.salvageButton = new ClickableButton("Salvage", new MusePoint2D(
                border.left() + sizex / 2.0, border.top() + sizey / 4.0),
                true);

    }
View Full Code Here


        this.gui = gui;
        this.ul = ul;
        this.br = br;
        this.player = player;
        MusePoint2D center = br.plus(ul).times(0.5);
        newKeybindButton = new ClickableButton("New", center.plus(new MusePoint2D(0, -8)), true);
        trashKeybindButton = new ClickableButton("Trash", center.plus(new MusePoint2D(0, 8)), true);
    }
View Full Code Here

TOP

Related Classes of net.machinemuse.general.gui.clickable.ClickableButton

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.