Examples of handleMouseClick()


Examples of forestry.core.gui.widgets.Widget.handleMouseClick()

  }

  public void handleMouseClicked(int mouseX, int mouseY, int mouseButton) {
    Widget slot = getAtPosition(mouseX - gui.getGuiLeft(), mouseY - gui.getGuiTop());
    if (slot != null)
      slot.handleMouseClick(mouseX, mouseY, mouseButton);
  }

  public void handleMouseRelease(int mouseX, int mouseY, int eventType) {
    for (Widget slot : widgets) {
      slot.handleMouseRelease(mouseX, mouseY, eventType);
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.