[UI] Phases new Look and Feel

This commit is contained in:
magenoxx 2012-07-24 19:40:09 +04:00
parent 5c58edced6
commit 0d20e954dc
16 changed files with 113 additions and 21 deletions

View file

@ -42,6 +42,12 @@ public class HoverButton extends JPanel implements MouseListener {
final static Font textSetFontBold = new Font("Arial", Font.BOLD, 14);
private boolean useMiniFont = false;
public HoverButton(String text, Image image, Rectangle size) {
this(text, image, image, null, image, size);
if (image == null)
throw new IllegalArgumentException("Image can't be null");
}
public HoverButton(String text, Image image, Image hover, Image disabled, Rectangle size) {
this(text, image, hover, null, disabled, size);
}