Package erogenousbeef.bigreactors.gui

Examples of erogenousbeef.bigreactors.gui.IBeefListBoxEntry.draw()


    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);
        }
      }
View Full Code Here


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