From: Niki Roo Date: Thu, 23 Feb 2017 07:31:16 +0000 (+0100) Subject: Change the "cached" marker to make it look 3D-like X-Git-Tag: fanfix-1.2.2~2 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=c39a3e30976167764868a1a4bb3f6e87c4d20386;p=fanfix.git Change the "cached" marker to make it look 3D-like --- diff --git a/libs/nikiroo-utils-1.1.1-sources.jar b/libs/nikiroo-utils-1.2.1-sources.jar similarity index 77% rename from libs/nikiroo-utils-1.1.1-sources.jar rename to libs/nikiroo-utils-1.2.1-sources.jar index 2a6164a..0b9eac3 100644 Binary files a/libs/nikiroo-utils-1.1.1-sources.jar and b/libs/nikiroo-utils-1.2.1-sources.jar differ diff --git a/src/be/nikiroo/fanfix/reader/LocalReaderBook.java b/src/be/nikiroo/fanfix/reader/LocalReaderBook.java index 2c6d28b..7dd41b6 100644 --- a/src/be/nikiroo/fanfix/reader/LocalReaderBook.java +++ b/src/be/nikiroo/fanfix/reader/LocalReaderBook.java @@ -20,6 +20,7 @@ import javax.swing.JPanel; import be.nikiroo.fanfix.data.MetaData; import be.nikiroo.fanfix.data.Story; +import be.nikiroo.utils.ui.UIUtils; /** * A book item presented in a {@link LocalReaderFrame}. @@ -324,8 +325,8 @@ class LocalReaderBook extends JPanel { g.fillRect(clip.x, clip.y, clip.width, clip.height); if (cached) { - g.setColor(Color.green); - g.fillOval(COVER_WIDTH + HOFFSET + 30, 10, 20, 20); + UIUtils.drawEllipse3D(g, Color.green.darker(), COVER_WIDTH + + HOFFSET + 30, 10, 20, 20); } } }