/// <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 SorterStatsItem(GuiSlotStatsItem par1GuiSlotStatsItem, GuiStats par2GuiStats)
 {
     SlotStatsItemGUI = par1GuiSlotStatsItem;
     StatsGUI         = par2GuiStats;
 }