From c39a3e30976167764868a1a4bb3f6e87c4d20386 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Thu, 23 Feb 2017 08:31:16 +0100 Subject: [PATCH] Change the "cached" marker to make it look 3D-like --- ...es.jar => nikiroo-utils-1.2.1-sources.jar} | Bin 46014 -> 46799 bytes .../fanfix/reader/LocalReaderBook.java | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename libs/{nikiroo-utils-1.1.1-sources.jar => nikiroo-utils-1.2.1-sources.jar} (77%) 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 2a6164af1ee44985975a4a5432173c01e82ec388..0b9eac3f3d1fa00ddc8d4c9c099577fe1641ed34 100644 GIT binary patch delta 2690 zcmZWr2UHVT7oH?2gd|D{H7rsjQlys^2qH~^M3xRNWi7vl7z`qZDv*dSK~P|IK(HV} zu+d@&D6Yt&Mp@ujnxax2C07Y0WP=g^2(s+1*1O3mHSzjg(`-8A6 z$`p|iK}KY-C?AAE;)&&Ift!d}fgO4a;u1_kfyjgiy9Fdx$_hXQNetpJY<=3wpgqF| z@htcQtdstp3>@Qz%!KvdeLgn}0R65QBSK}rYYA>$sY4@vW4YdvxYZ@jcM1UMMW*Z; zf98=ME19Lk%Nb7F@lm5qdsOk54#gPIV(wyzO9$S7Q*`wjD7;9vJezTV_;vcewqXz} z+%y^|*I1W0H9vE2$nBadS!tLvG|GPmSE-j|& zVEs*JeXsjp92s{zLln*U3wFE0dg|GBO%Zg1qI&)iVS;FI>*LSEcP1qhPJK8-5%rC^ z(`~+eOE@3OoIF>NAF67uGV#f>*oN(TJGz7JZXG{cg8Sv4E}ATh>smXqWA9uENI&p- zwx8;C|B-LQw~k|NhLikr*v;;NxHztD7pXql_A>vmUVF-M8ck+Hb>ytNgRCTb-htL4 z|M#gz)PHi?6r_r`>gDbA&@k7{tcfab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cxNZuov6xRM zi%`@}bc#S8y|ZvZL9CZcdyc>*5|US_8w&Zv0&zf#x0Ut z?jM-U{g-3SX{DfPiymBWQD4q4Fj0*!ta#p*71=+MHx;guNmrbsUnX+H_qE*h4}58t zuU05W8!C7zZ~HTM!})2#Ych>L?Ml6<`1ahyf*DurKXC0k!MOTo#~Hq`WuiZ9J%zRN z?B*Bmk=U7bidRWZJK}6ef{**&6W{J~{Ji@|U)aa`TlL9#ldPP!ZoFyXU3KU2*GY_V zXLe1CePR{0JB9zhe)ZFL_paoBinGpqH}#N2{^?VH_Dr#71Z59{g7(S-j0_A3%#iE> zPhOK>7AZ~U+a|O*d#W5eFC&u(13dRlezw+v7nuFL;CXAZ_Bzu5U}i!|=RgyYz#$+z zDOEqfn~{l&0iFp_G;kv+XJB|ddBZv>aQZvDPMV2_aq`A)5k4f{p!_1eNt(%;aq`7Y z5|aZq@hE^2dIZ*vsE4(Lde+*7)VGU odLdYE{5EN@-g`j3nTx?feA`4sSb@RMz#t2RkASt+u~i@*0D~nva{vGU diff --git a/src/be/nikiroo/fanfix/reader/LocalReaderBook.java b/src/be/nikiroo/fanfix/reader/LocalReaderBook.java index 2c6d28bd..7dd41b6c 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); } } } -- 2.27.0