widget: add setItemQuantity
This commit is contained in:
@@ -357,6 +357,13 @@ public interface Widget
|
||||
*/
|
||||
int getItemQuantity();
|
||||
|
||||
/**
|
||||
* Sets the item quantity displayed by the widget.
|
||||
*
|
||||
* @param quantity the quantity of the item
|
||||
*/
|
||||
void setItemQuantity(int quantity);
|
||||
|
||||
/**
|
||||
* Checks whether or not the drawn area of this widget contains
|
||||
* a point on the canvas.
|
||||
|
||||
Reference in New Issue
Block a user