BookLine: fixed size and highlight colour for the *
[fanfix.git] / src / be / nikiroo / fanfix_swing / gui / book / BookCoverImager.java
index 9d3aa9f363ff91a4c79398e68e923412393cc964..84a4f944417f5b7a30f02e262a0e8839812f5677 100644 (file)
@@ -39,6 +39,8 @@ class BookCoverImager {
        static final Color SPINE_COLOR_RIGHT = new Color(100, 100, 100);
        static final Color BORDER = Color.black;
 
+       public static final Color UNCACHED_ICON_COLOR = new Color(0, 80, 220);
+
        public static final int TEXT_HEIGHT = 50;
        public static final int TEXT_WIDTH = COVER_WIDTH + 40;
 
@@ -105,7 +107,7 @@ class BookCoverImager {
                g.fillRect(clip.x, clip.y, clip.width, clip.height);
 
                if (!cached) {
-                       UIUtils.drawEllipse3D(g, new Color(0, 80, 220), COVER_WIDTH + HOFFSET + 30, 10, 20, 20);
+                       UIUtils.drawEllipse3D(g, UNCACHED_ICON_COLOR, COVER_WIDTH + HOFFSET + 30, 10, 20, 20);
                }
        }