| Package | Description |
|---|---|
| com.mindlin.clientBridge.api |
| Modifier and Type | Field and Description |
|---|---|
ArrayList<DrawCommand> |
CustomGUI.backgroundCommands
A list of DrawCommands that are drawn first.
|
ArrayList<DrawCommand> |
CustomGUI.initCommands
A list of DrawCommands that are drawn second.
|
| Modifier and Type | Method and Description |
|---|---|
static DrawCommand |
DrawCommand.compileButton(int x,
int y,
int w,
int id,
String s)
Generates a DrawCommand for drawing a button.
Use in the gui.initCommands only, or you get wierd results. |
static DrawCommand |
DrawCommand.compileRect(int x1,
int y1,
int x2,
int y2,
int c)
Generates a DrawCommand for drawing a rectangle.
|
static DrawCommand |
DrawCommand.compileText(String text,
int x,
int y,
int c)
Generates a DrawCommand for drawing a string.
|
static DrawCommand |
DrawCommand.compileTexturedRect(int x,
int y,
int w,
int h,
int c)
Generates a DrawCommand for drawing a textured rectangle.
|
| Modifier and Type | Method and Description |
|---|---|
static ArrayList<DrawCommand> |
DrawCommand.parseJSON(JSONArray commands)
Parses a JSONArray to generate an ArrayList of DrawCommands.
|
| Modifier and Type | Method and Description |
|---|---|
static JSONArray |
DrawCommand.serialize(ArrayList<DrawCommand> arr,
boolean compress) |