Package org.getspout.spoutapi.gui

Examples of org.getspout.spoutapi.gui.GenericPopup.attachWidget()


    container.setX(x).setY(y);
    container.setWidth(370).setHeight(20);
    container.setAuto(false);
    container.setLayout(ContainerType.HORIZONTAL);

    popup.attachWidget(plugin, container);
    player.getMainScreen().attachPopupScreen(popup);

  }

}
View Full Code Here


        button2.setAnchor(WidgetAnchor.CENTER_CENTER);
        button2.setWidth(100).setHeight(20);
        button2.shiftXPos(5).shiftYPos(button1.getHeight()/2);
  
      
        popup.attachWidget(plugin, button1);
        popup.attachWidget(plugin, button2);
        player.getMainScreen().attachPopupScreen(popup);
       
    }
View Full Code Here

        button2.setWidth(100).setHeight(20);
        button2.shiftXPos(5).shiftYPos(button1.getHeight()/2);
  
      
        popup.attachWidget(plugin, button1);
        popup.attachWidget(plugin, button2);
        player.getMainScreen().attachPopupScreen(popup);
       
    }

}
View Full Code Here

    // popup.setX(10).setY(10);

    // SkillGUI sk = new SkillGUI(player, "Skills", "https://github.com/LimeByte/SpoutHelp/raw/master/images/background.png");
    // player.getMainScreen().attachPopupScreen(sk);

    popup.attachWidget(plugin, container);
    player.getMainScreen().attachPopupScreen(popup);

  }

  /**
 
View Full Code Here

    // layer3Skills.setX(x).setY(y);
    layer4Skills.setWidth(400).setHeight(25);
    layer4Skills.setLayout(ContainerType.HORIZONTAL);
    layer4Skills.setAuto(false);

    popup.attachWidget(plugin, container);
    player.getMainScreen().attachPopupScreen(popup);

  }

  /**
 
View Full Code Here

    // layer3Skills.setX(x).setY(y);
    layer4Skills.setWidth(400).setHeight(25);
    layer4Skills.setLayout(ContainerType.HORIZONTAL);
    layer4Skills.setAuto(false);

    popup.attachWidget(plugin, container);
    player.getMainScreen().attachPopupScreen(popup);

  }

  /**
 
View Full Code Here

    // layer3Skills.setX(x).setY(y);
    layer3Skills.setWidth(400).setHeight(25);
    layer3Skills.setLayout(ContainerType.HORIZONTAL);
    layer3Skills.setAuto(false);

    popup.attachWidget(plugin, container);
    player.getMainScreen().attachPopupScreen(popup);

  }

}
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.