/// <summary> /// Adds the buttons (and other controls) to the screen in question. /// </summary> public override void InitGui() { StatsTitle = StatCollector.TranslateToLocal("gui.stats"); SlotGeneral = new GuiSlotStatsGeneral(this); SlotGeneral.RegisterScrollButtons(ControlList, 1, 1); SlotItem = new GuiSlotStatsItem(this); SlotItem.RegisterScrollButtons(ControlList, 1, 1); SlotBlock = new GuiSlotStatsBlock(this); SlotBlock.RegisterScrollButtons(ControlList, 1, 1); SelectedSlot = SlotGeneral; AddHeaderButtons(); }
public SorterStatsBlock(GuiSlotStatsBlock par1GuiSlotStatsBlock, GuiStats par2GuiStats) { SlotStatsBlockGUI = par1GuiSlotStatsBlock; StatsGUI = par2GuiStats; }