mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 08:39:04 +00:00
Added Screenshots (#656)
* Added ability to take screenshots Since we have a screenshots folder in the 2006Scape folder in the home path, we might as well make use of it. * Removed duplicate screenshot warning message We don't need a warning message for duplicate screenshots, if it takes screenshots that's good enough. * Added subfolders option for screenshots This allows for much more flexibility when it comes to screenshots because we can choose any number of levels of subfolders. * Removed unused code * Added check for screenshots * Fixed screenshots NPE when logged out * Added Local to titlebar when running locally * Added sendMessage param for screenshots * Default to send messages for screenshots * Use the sendMessage variable Oops lol * Added ability to take screenshots Since we have a screenshots folder in the 2006Scape folder in the home path, we might as well make use of it. * Removed duplicate screenshot warning message We don't need a warning message for duplicate screenshots, if it takes screenshots that's good enough. * Added subfolders option for screenshots This allows for much more flexibility when it comes to screenshots because we can choose any number of levels of subfolders. * Removed unused code * Added check for screenshots * Fixed screenshots NPE when logged out * Added Local to titlebar when running locally * Added sendMessage param for screenshots * Default to send messages for screenshots * Use the sendMessage variable Oops lol * Added screenshots QOL option * Use server name var for screenshots
This commit is contained in:
@@ -9,7 +9,7 @@ final class RSFrame extends Frame {
|
||||
public RSFrame(RSApplet applet) {
|
||||
rsApplet = applet;
|
||||
|
||||
setTitle(ClientSettings.SERVER_NAME + " World: " + ClientSettings.SERVER_WORLD);
|
||||
setTitle(ClientSettings.SERVER_NAME + " World: " + ClientSettings.SERVER_WORLD + ((ClientSettings.SERVER_IP.equals("localhost") || ClientSettings.SERVER_IP.equals("127.0.0.1")) ? " [Local]" : ""));
|
||||
this.setResizable(false);
|
||||
this.setBackground(Color.BLACK);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user