/** the element in the slot that was clicked, boolean for wether it was double clicked or not */
 protected void elementClicked(int par1, boolean par2) {
   this.field_82459_a = par1;
   this.flatPresetsGui.func_82296_g();
   GuiFlatPresets.func_82298_b(this.flatPresetsGui)
       .setText(
           ((GuiFlatPresetsItem)
                   GuiFlatPresets.getPresets()
                       .get(GuiFlatPresets.func_82292_a(this.flatPresetsGui).field_82459_a))
               .presetData);
 }
 protected void drawSlot(int par1, int par2, int par3, int par4, Tessellator par5Tessellator) {
   GuiFlatPresetsItem var6 = (GuiFlatPresetsItem) GuiFlatPresets.getPresets().get(par1);
   this.func_82457_a(par2, par3, var6.iconId);
   this.flatPresetsGui.fontRenderer.drawString(var6.presetName, par2 + 18 + 5, par3 + 6, 16777215);
 }
 /** Gets the size of the current slot list. */
 protected int getSize() {
   return GuiFlatPresets.getPresets().size();
 }