    001    package net.minecraft.client.gui;
    002
    003    import cpw.mods.fml.relauncher.Side;
    004    import cpw.mods.fml.relauncher.SideOnly;
    005    import net.minecraft.client.settings.EnumOptions;
    006
    007    @SideOnly(Side.CLIENT)
    008    public class GuiSmallButton extends GuiButton
    009    {
    010        private final EnumOptions enumOptions;
    011
    012        public GuiSmallButton(int par1, int par2, int par3, String par4Str)
    013        {
    014            this(par1, par2, par3, (EnumOptions)null, par4Str);
    015        }
    016
    017        public GuiSmallButton(int par1, int par2, int par3, int par4, int par5, String par6Str)
    018        {
    019            super(par1, par2, par3, par4, par5, par6Str);
    020            this.enumOptions = null;
    021        }
    022
    023        public GuiSmallButton(int par1, int par2, int par3, EnumOptions par4EnumOptions, String par5Str)
    024        {
    025            super(par1, par2, par3, 150, 20, par5Str);
    026            this.enumOptions = par4EnumOptions;
    027        }
    028
    029        public EnumOptions returnEnumOptions()
    030        {
    031            return this.enumOptions;
    032        }
    033    }