Updated DevTools plugin to contain a Widget tree

This commit is contained in:
Kronos
2017-04-28 13:56:53 +10:00
parent 0ba4dc0b13
commit b5cc159fa3
4 changed files with 262 additions and 101 deletions

View File

@@ -58,6 +58,11 @@ public class Widget
return widget.getType();
}
public int getContentType()
{
return widget.getContentType();
}
public Widget getParent()
{
int id = getParentId();
@@ -107,6 +112,26 @@ public class Widget
return widget.getText();
}
public int getTextColor()
{
return widget.getTextColor();
}
public String getName()
{
return widget.getName();
}
public int getModelId()
{
return widget.getModelId();
}
public int getTextureId()
{
return widget.getTextureId();
}
public boolean isHidden()
{
Widget parent = getParent();