mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
[CLEANUP] Moved title and slogan to Configuration
This commit is contained in:
@@ -26,4 +26,7 @@ public class Configuration {
|
||||
public static final String BUGSNAG_API = "d79752cf94dd4beb24c3d312a8609f53";
|
||||
|
||||
public static final Version BOT_VERSION = ProjectProperties.getProjectVersion();
|
||||
|
||||
public static final String BOT_TITLE = "Parabot";
|
||||
public static final String BOT_SLOGAN = "The best RuneScape private server bot";
|
||||
}
|
||||
|
||||
@@ -32,8 +32,6 @@ public class VerboseLoader extends JPanel implements ProgressListener {
|
||||
public static final int STATE_LOADING = 1;
|
||||
private static final int STATE_SERVER_SELECT = 2;
|
||||
private int currentState;
|
||||
private static final String titleName = "Parabot";
|
||||
private static final String sloganText = "The best RuneScape private server bot";
|
||||
|
||||
private static AccountManager manager;
|
||||
|
||||
@@ -216,11 +214,11 @@ public class VerboseLoader extends JPanel implements ProgressListener {
|
||||
|
||||
g.setFont(Fonts.getResource("leelawadee.ttf", 30));
|
||||
g.getFont().deriveFont(Font.BOLD);
|
||||
g.drawString(titleName, 20, 50);
|
||||
g.drawString(Configuration.BOT_TITLE, 20, 50);
|
||||
|
||||
g.setFont(Fonts.getResource("leelawadee.ttf", 15));
|
||||
g.getFont().deriveFont(Font.ITALIC);
|
||||
g.drawString(sloganText, 20, 85);
|
||||
g.drawString(Configuration.BOT_SLOGAN, 20, 85);
|
||||
|
||||
if (fontMetrics == null) {
|
||||
fontMetrics = g.getFontMetrics();
|
||||
|
||||
Reference in New Issue
Block a user