From dc3df3edd5843bde0c1335d6a8e460b2c832aa48 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Sat, 17 Jun 2017 08:12:18 +0300 Subject: full project files --- javadoc/cpw/mods/fml/client/config/GuiUtils.html | 529 +++++++++++++++++++++++ 1 file changed, 529 insertions(+) create mode 100644 javadoc/cpw/mods/fml/client/config/GuiUtils.html (limited to 'javadoc/cpw/mods/fml/client/config/GuiUtils.html') diff --git a/javadoc/cpw/mods/fml/client/config/GuiUtils.html b/javadoc/cpw/mods/fml/client/config/GuiUtils.html new file mode 100644 index 0000000..829c221 --- /dev/null +++ b/javadoc/cpw/mods/fml/client/config/GuiUtils.html @@ -0,0 +1,529 @@ + + + + + +GuiUtils (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
cpw.mods.fml.client.config
+

Class GuiUtils

+
+
+ +
+
    +
  • +
    +
    +
    public class GuiUtils
    +extends java.lang.Object
    +
    This class provides several methods and constants used by the Config GUI classes.
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Field Summary

      + + + + + + + + + + + + + + + + + + + + + + +
      Fields 
      Modifier and TypeField and Description
      static java.lang.StringINVALID 
      static java.lang.StringRESET_CHAR 
      static java.lang.StringUNDO_CHAR 
      static java.lang.StringVALID 
      +
    • +
    + +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      GuiUtils() 
      +
    • +
    + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      static voiddrawContinuousTexturedBox(int x, + int y, + int u, + int v, + int width, + int height, + int textureWidth, + int textureHeight, + int borderSize, + float zLevel) +
      Draws a textured box of any size (smallest size is borderSize * 2 square) based on a fixed size textured box with continuous borders + and filler.
      +
      static voiddrawContinuousTexturedBox(int x, + int y, + int u, + int v, + int width, + int height, + int textureWidth, + int textureHeight, + int topBorder, + int bottomBorder, + int leftBorder, + int rightBorder, + float zLevel) +
      Draws a textured box of any size (smallest size is borderSize * 2 square) based on a fixed size textured box with continuous borders + and filler.
      +
      static voiddrawContinuousTexturedBox(ResourceLocation res, + int x, + int y, + int u, + int v, + int width, + int height, + int textureWidth, + int textureHeight, + int borderSize, + float zLevel) +
      Draws a textured box of any size (smallest size is borderSize * 2 square) based on a fixed size textured box with continuous borders + and filler.
      +
      static voiddrawContinuousTexturedBox(ResourceLocation res, + int x, + int y, + int u, + int v, + int width, + int height, + int textureWidth, + int textureHeight, + int topBorder, + int bottomBorder, + int leftBorder, + int rightBorder, + float zLevel) +
      Draws a textured box of any size (smallest size is borderSize * 2 square) based on a fixed size textured box with continuous borders + and filler.
      +
      static voiddrawTexturedModalRect(int x, + int y, + int u, + int v, + int width, + int height, + float zLevel) 
      static intgetColorCode(char c, + boolean isLighter) 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + + + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        GuiUtils

        +
        public GuiUtils()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getColorCode

        +
        public static int getColorCode(char c,
        +               boolean isLighter)
        +
      • +
      + + + +
        +
      • +

        drawContinuousTexturedBox

        +
        public static void drawContinuousTexturedBox(int x,
        +                             int y,
        +                             int u,
        +                             int v,
        +                             int width,
        +                             int height,
        +                             int textureWidth,
        +                             int textureHeight,
        +                             int borderSize,
        +                             float zLevel)
        +
        Draws a textured box of any size (smallest size is borderSize * 2 square) based on a fixed size textured box with continuous borders + and filler. It is assumed that the desired texture ResourceLocation object has been bound using + Minecraft.getMinecraft().getTextureManager().bindTexture(resourceLocation).
        +
        Parameters:
        x - x axis offset
        y - y axis offset
        u - bound resource location image x offset
        v - bound resource location image y offset
        width - the desired box width
        height - the desired box height
        textureWidth - the width of the box texture in the resource location image
        textureHeight - the height of the box texture in the resource location image
        borderSize - the size of the box's borders
        zLevel - the zLevel to draw at
        +
      • +
      + + + +
        +
      • +

        drawContinuousTexturedBox

        +
        public static void drawContinuousTexturedBox(ResourceLocation res,
        +                             int x,
        +                             int y,
        +                             int u,
        +                             int v,
        +                             int width,
        +                             int height,
        +                             int textureWidth,
        +                             int textureHeight,
        +                             int borderSize,
        +                             float zLevel)
        +
        Draws a textured box of any size (smallest size is borderSize * 2 square) based on a fixed size textured box with continuous borders + and filler. The provided ResourceLocation object will be bound using + Minecraft.getMinecraft().getTextureManager().bindTexture(resourceLocation).
        +
        Parameters:
        res - the ResourceLocation object that contains the desired image
        x - x axis offset
        y - y axis offset
        u - bound resource location image x offset
        v - bound resource location image y offset
        width - the desired box width
        height - the desired box height
        textureWidth - the width of the box texture in the resource location image
        textureHeight - the height of the box texture in the resource location image
        borderSize - the size of the box's borders
        zLevel - the zLevel to draw at
        +
      • +
      + + + +
        +
      • +

        drawContinuousTexturedBox

        +
        public static void drawContinuousTexturedBox(ResourceLocation res,
        +                             int x,
        +                             int y,
        +                             int u,
        +                             int v,
        +                             int width,
        +                             int height,
        +                             int textureWidth,
        +                             int textureHeight,
        +                             int topBorder,
        +                             int bottomBorder,
        +                             int leftBorder,
        +                             int rightBorder,
        +                             float zLevel)
        +
        Draws a textured box of any size (smallest size is borderSize * 2 square) based on a fixed size textured box with continuous borders + and filler. The provided ResourceLocation object will be bound using + Minecraft.getMinecraft().getTextureManager().bindTexture(resourceLocation).
        +
        Parameters:
        res - the ResourceLocation object that contains the desired image
        x - x axis offset
        y - y axis offset
        u - bound resource location image x offset
        v - bound resource location image y offset
        width - the desired box width
        height - the desired box height
        textureWidth - the width of the box texture in the resource location image
        textureHeight - the height of the box texture in the resource location image
        topBorder - the size of the box's top border
        bottomBorder - the size of the box's bottom border
        leftBorder - the size of the box's left border
        rightBorder - the size of the box's right border
        zLevel - the zLevel to draw at
        +
      • +
      + + + +
        +
      • +

        drawContinuousTexturedBox

        +
        public static void drawContinuousTexturedBox(int x,
        +                             int y,
        +                             int u,
        +                             int v,
        +                             int width,
        +                             int height,
        +                             int textureWidth,
        +                             int textureHeight,
        +                             int topBorder,
        +                             int bottomBorder,
        +                             int leftBorder,
        +                             int rightBorder,
        +                             float zLevel)
        +
        Draws a textured box of any size (smallest size is borderSize * 2 square) based on a fixed size textured box with continuous borders + and filler. It is assumed that the desired texture ResourceLocation object has been bound using + Minecraft.getMinecraft().getTextureManager().bindTexture(resourceLocation).
        +
        Parameters:
        x - x axis offset
        y - y axis offset
        u - bound resource location image x offset
        v - bound resource location image y offset
        width - the desired box width
        height - the desired box height
        textureWidth - the width of the box texture in the resource location image
        textureHeight - the height of the box texture in the resource location image
        topBorder - the size of the box's top border
        bottomBorder - the size of the box's bottom border
        leftBorder - the size of the box's left border
        rightBorder - the size of the box's right border
        zLevel - the zLevel to draw at
        +
      • +
      + + + +
        +
      • +

        drawTexturedModalRect

        +
        public static void drawTexturedModalRect(int x,
        +                         int y,
        +                         int u,
        +                         int v,
        +                         int width,
        +                         int height,
        +                         float zLevel)
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3