* Fixed that card name text was covered by next card beneath if cards are displayed close together (library search).

This commit is contained in:
LevelX2 2015-04-16 16:29:54 +02:00
parent b2fe13c8c8
commit d245ce1ad2
4 changed files with 23 additions and 1 deletions

View file

@ -17,6 +17,8 @@ public abstract class MageCard extends JPanel {
public abstract void setAlpha(float transparency);
public abstract float getAlpha();
public abstract CardView getOriginal();
// sets the vertical text offset for the card name on the image
public abstract void setTextOffset(int yOffset);
public abstract void setCardBounds(int x, int y, int width, int height);
public abstract void update(CardView card);
public abstract void updateImage();