Package org.spoutcraft.api.gui

Examples of org.spoutcraft.api.gui.InGameHUD.closePopup()


          if (widget.getId().equals(popup.getId())) {
            if (SpoutClient.getHandle().currentScreen instanceof CustomScreen) {
              ((CustomScreen)SpoutClient.getHandle().currentScreen).update((PopupScreen)widget);
            }
          } else {
            mainScreen.closePopup();
            mainScreen.attachPopupScreen((PopupScreen)widget);
          }
        } else {
          mainScreen.attachPopupScreen((PopupScreen)widget);
        }
View Full Code Here


      w.getScreen().removeWidget(w);
    }

    if (w instanceof PopupScreen && popup.getId().equals(w.getId())) {
      // Determine if this is a popup screen and if we need to update it
      mainScreen.closePopup();
    }

    PacketWidget.allWidgets.remove(widget);
  }
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.