From 0427ab89f1753a44b30cbc35ce021cbbdc845109 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Thu, 10 Aug 2017 18:52:45 +0300 Subject: fix missing source folder --- .../cpw/mods/fml/client/config/GuiButtonExt.html | 349 +++++++++++++++++++++ 1 file changed, 349 insertions(+) create mode 100644 javadoc/cpw/mods/fml/client/config/GuiButtonExt.html (limited to 'javadoc/cpw/mods/fml/client/config/GuiButtonExt.html') diff --git a/javadoc/cpw/mods/fml/client/config/GuiButtonExt.html b/javadoc/cpw/mods/fml/client/config/GuiButtonExt.html new file mode 100644 index 0000000..efb681c --- /dev/null +++ b/javadoc/cpw/mods/fml/client/config/GuiButtonExt.html @@ -0,0 +1,349 @@ + + + + + +GuiButtonExt (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.client.config
+

Class GuiButtonExt

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    GuiSlider, GuiUnicodeGlyphButton
    +
    +
    +
    +
    public class GuiButtonExt
    +extends GuiButton
    +
    This class provides a button that fixes several bugs present in the vanilla GuiButton drawing code. + The gist of it is that it allows buttons of any size without gaps in the graphics and with the + borders drawn properly. It also prevents button text from extending out of the sides of the button by + trimming the end of the string and adding an ellipsis.

    + + The code that handles drawing the button is in GuiUtils.
    +
  • +
+
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GuiButtonExt

        +
        public GuiButtonExt(int id,
        +            int xPos,
        +            int yPos,
        +            java.lang.String displayString)
        +
      • +
      + + + +
        +
      • +

        GuiButtonExt

        +
        public GuiButtonExt(int id,
        +            int xPos,
        +            int yPos,
        +            int width,
        +            int height,
        +            java.lang.String displayString)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        drawButton

        +
        public void drawButton(Minecraft mc,
        +              int mouseX,
        +              int mouseY)
        +
        Draws this button to the screen.
        +
        +
        Overrides:
        +
        drawButton in class GuiButton
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3