Updated DevTools plugin to contain a Widget tree
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user