Removed tools/jarsplice-0.40.jar.
Hasn't been used since the addition of JarSplicePlus. Also, some minor graphical tweaks. Signed-off-by: Jeffrey Han <itdelatrisu@gmail.com>
This commit is contained in:
parent
b5c434a808
commit
c3c1e95053
|
@ -336,7 +336,7 @@ public enum GameImage {
|
||||||
OPTIONS_BG ("options-background", "png|jpg", false, true) {
|
OPTIONS_BG ("options-background", "png|jpg", false, true) {
|
||||||
@Override
|
@Override
|
||||||
protected Image process_sub(Image img, int w, int h) {
|
protected Image process_sub(Image img, int w, int h) {
|
||||||
img.setAlpha(0.5f);
|
img.setAlpha(0.7f);
|
||||||
return img.getScaledCopy(w, h);
|
return img.getScaledCopy(w, h);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -314,10 +314,10 @@ public class ButtonMenu extends BasicGameState {
|
||||||
public void draw(GameContainer container, StateBasedGame game, Graphics g) {
|
public void draw(GameContainer container, StateBasedGame game, Graphics g) {
|
||||||
// draw title
|
// draw title
|
||||||
if (actualTitle != null) {
|
if (actualTitle != null) {
|
||||||
float c = container.getWidth() * 0.02f;
|
float marginX = container.getWidth() * 0.015f, marginY = container.getHeight() * 0.01f;
|
||||||
int lineHeight = Utils.FONT_LARGE.getLineHeight();
|
int lineHeight = Utils.FONT_LARGE.getLineHeight();
|
||||||
for (int i = 0, size = actualTitle.size(); i < size; i++)
|
for (int i = 0, size = actualTitle.size(); i < size; i++)
|
||||||
Utils.FONT_LARGE.drawString(c, c + (i * lineHeight), actualTitle.get(i), Color.white);
|
Utils.FONT_LARGE.drawString(marginX, marginY + (i * lineHeight), actualTitle.get(i), Color.white);
|
||||||
}
|
}
|
||||||
|
|
||||||
// draw buttons
|
// draw buttons
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user