diff options
Diffstat (limited to 'src/com/fourisland/fourpuzzle/window/SystemGraphic.java')
-rwxr-xr-x | src/com/fourisland/fourpuzzle/window/SystemGraphic.java | 3 |
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 @@ | |||
6 | package com.fourisland.fourpuzzle.window; | 6 | package com.fourisland.fourpuzzle.window; |
7 | 7 | ||
8 | import com.fourisland.fourpuzzle.util.ObjectLoader; | 8 | import com.fourisland.fourpuzzle.util.ObjectLoader; |
9 | import com.fourisland.fourpuzzle.window.Window.SystemArea; | ||
9 | import java.awt.Color; | 10 | import java.awt.Color; |
10 | import java.awt.Rectangle; | 11 | import java.awt.Rectangle; |
11 | import java.awt.image.BufferedImage; | 12 | import 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) |