Package erogenousbeef.bigreactors.gui

Examples of erogenousbeef.bigreactors.gui.IBeefListBoxEntry


  }

  @Override
  public void drawForeground(TextureManager renderEngine, int mouseX, int mouseY) {
    int drawnY = 0;
    IBeefListBoxEntry entry;
    for(int i = displayTop; i < entries.size(); i++) {
      entry = entries.get(i);
      if(entry.getHeight() + drawnY > this.height) { break; }
      else {
        if(this.selectedEntryIdx == i) {
          entry.draw(this.guiContainer.getFontRenderer(), relativeX+margin, relativeY+margin+drawnY, selectedLineColor, selectedTextColor);
        }
        else {
          entry.draw(this.guiContainer.getFontRenderer(), relativeX+margin, relativeY+margin+drawnY, backgroundColor, textColor);
        }
      }
      if(drawnY >= this.height) { break; }
    }
  }
View Full Code Here

TOP

Related Classes of erogenousbeef.bigreactors.gui.IBeefListBoxEntry

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.