summary refs log tree commit diff stats
path: root/src/com/fourisland/fourpuzzle/window/SystemGraphic.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/fourisland/fourpuzzle/window/SystemGraphic.java')
-rwxr-xr-xsrc/com/fourisland/fourpuzzle/window/SystemGraphic.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/fourisland/fourpuzzle/window/SystemGraphic.java b/src/com/fourisland/fourpuzzle/window/SystemGraphic.java index 24e0104..99941d9 100755 --- a/src/com/fourisland/fourpuzzle/window/SystemGraphic.java +++ b/src/com/fourisland/fourpuzzle/window/SystemGraphic.java
@@ -6,6 +6,7 @@
6package com.fourisland.fourpuzzle.window; 6package com.fourisland.fourpuzzle.window;
7 7
8import com.fourisland.fourpuzzle.util.ObjectLoader; 8import com.fourisland.fourpuzzle.util.ObjectLoader;
9import com.fourisland.fourpuzzle.window.Window.SystemArea;
9import java.awt.Color; 10import java.awt.Color;
10import java.awt.Rectangle; 11import java.awt.Rectangle;
11import java.awt.image.BufferedImage; 12import java.awt.image.BufferedImage;
@@ -35,7 +36,7 @@ public class SystemGraphic {
35 36
36 public static BufferedImage getSelectionBackground() 37 public static BufferedImage getSelectionBackground()
37 { 38 {
38 return systemGraphic.getSubimage(79, 15, 1, 1); 39 return systemGraphic.getSubimage(Window.Selector.getX(SystemArea.TOP_LEFT)+15, 15, 1, 1);
39 } 40 }
40 41
41 public static BufferedImage getChoiceArea(Rectangle sca) 42 public static BufferedImage getChoiceArea(Rectangle sca)