runelite-api: Update widget field names

This commit is contained in:
Max Weber
2018-09-09 10:22:59 -06:00
parent 87ad390b94
commit d159bc63b3
4 changed files with 22 additions and 62 deletions

View File

@@ -469,34 +469,6 @@ public interface Widget
*/
void setOriginalWidth(int originalWidth);
/**
* Gets the additional x-axis padding.
*
* @return the x-axis padding
*/
int getPaddingX();
/**
* Sets the x-axis padding.
*
* @param paddingX the new padding
*/
void setPaddingX(int paddingX);
/**
* Gets the additional y-axis padding.
*
* @return the y-axis padding
*/
int getPaddingY();
/**
* Sets the y-axis padding.
*
* @param paddingY the new padding
*/
void setPaddingY(int paddingY);
/**
* Gets the actions available on the widget.
*
@@ -566,14 +538,17 @@ public interface Widget
void setFontId(int id);
/**
* Returns the border thickness of the widget
* Returns the border type of item/sprite on the widget
* 0 - No border
* 1 - 1px black border
* 2 - 1px black under 1px white border (selected item)
*/
int getBorderThickness();
int getBorderType();
/**
* Sets the border thickness of the widget
* @see #getBorderType
*/
void setBorderThickness(int thickness);
void setBorderType(int thickness);
/**
* Returns if text is shadowed