forked from External/mage
Sending user data. Sending avatar to server on connect.
This commit is contained in:
parent
32d4d854f4
commit
bf1a49dd0b
27 changed files with 202 additions and 38 deletions
|
|
@ -209,4 +209,14 @@ public class HoverButton extends JPanel implements MouseListener {
|
|||
public void drawSet() {
|
||||
this.drawSet = true;
|
||||
}
|
||||
|
||||
public void update(String text, Image image, Image hover, Image selected, Image disabled, Rectangle size) {
|
||||
this.image = image;
|
||||
this.hoverImage = hover;
|
||||
this.selectedImage = selected;
|
||||
this.disabledImage = disabled;
|
||||
this.imageSize = size;
|
||||
this.text = text;
|
||||
repaint();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue