Examples of OptionButton


Examples of com.mojang.minecraft.gui.OptionButton

      this.settings = var2;
   }

   public final void onOpen() {
      for(int var1 = 0; var1 < this.settings.bindings.length; ++var1) {
         this.buttons.add(new OptionButton(var1, this.width / 2 - 155 + var1 % 2 * 160, this.height / 6 + 24 * (var1 >> 1), this.settings.getBinding(var1)));
      }

      this.buttons.add(new Button(200, this.width / 2 - 100, this.height / 6 + 168, "Done"));
   }
View Full Code Here

Examples of com.mojang.minecraft.gui.OptionButton

      this.settings = var2;
   }

   public final void onOpen() {
      for(int var1 = 0; var1 < this.settings.settingCount; ++var1) {
         this.buttons.add(new OptionButton(var1, this.width / 2 - 155 + var1 % 2 * 160, this.height / 6 + 24 * (var1 >> 1), this.settings.getSetting(var1)));
      }

      this.buttons.add(new Button(100, this.width / 2 - 100, this.height / 6 + 120 + 12, "Controls..."));
      this.buttons.add(new Button(200, this.width / 2 - 100, this.height / 6 + 168, "Done"));
   }
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.