From b86c9235c58393f3499f1d9fdeb278251cca5a13 Mon Sep 17 00:00:00 2001 From: xolatile Date: Sun, 19 May 2024 04:52:43 -0400 Subject: [PATCH] Fixed borders in fill bars... --- source/main.adb | 6 ++++-- ui/goblin/fill_bar_right.png | Bin 365 -> 334 bytes ui/goblin/tiny_fill_bar_left.png | Bin 416 -> 502 bytes ui/goblin/tiny_fill_bar_right.png | Bin 385 -> 354 bytes ui/main/fill_bar_left.png | Bin 412 -> 413 bytes ui/main/tiny_fill_bar_left.png | Bin 362 -> 382 bytes 6 files changed, 4 insertions(+), 2 deletions(-) diff --git a/source/main.adb b/source/main.adb index e4df73a..a54371e 100644 --- a/source/main.adb +++ b/source/main.adb @@ -315,8 +315,10 @@ begin end loop; -- resource.draw_points (player.resources, (preview_width - 4 * icon * resource.count) / 2, (if view_list (map_preview_panel) then icon else 0)); - --~ui.draw_fill_bar ((preview_width - 320) / 2, 4 * (if view_list (map_preview_panel) then icon else 0), 320, 0.6); - --~ui.draw_tiny_fill_bar ((preview_width - 160) / 2, 5 * (if view_list (map_preview_panel) then icon else 0), 160, 0.8); + --~ui.draw_fill_bar ((preview_width - 320) / 2, 4 * (if view_list (map_preview_panel) then icon else 0), 320, 0.0); + --~ui.draw_tiny_fill_bar ((preview_width - 160) / 2, 5 * (if view_list (map_preview_panel) then icon else 0), 160, 0.0); + --~ui.draw_fill_bar ((preview_width - 320) / 2 + 400, 4 * (if view_list (map_preview_panel) then icon else 0), 320, 1.0); + --~ui.draw_tiny_fill_bar ((preview_width - 160) / 2 + 400, 5 * (if view_list (map_preview_panel) then icon else 0), 160, 1.0); -- signal_list (signal_mode).all; -- diff --git a/ui/goblin/fill_bar_right.png b/ui/goblin/fill_bar_right.png index 23995d37817892e7faacd5a0a25b6c0d9b22cd38..539e94098c5ced7d53319a86b4eb29f97c1b3c09 100644 GIT binary patch delta 286 zcmV+(0pb4b0?q=EIe!32L_t(Y$IX@94TCTYgfEB%vVvF03O7q;=n7qd6}m!JUS;I6L6X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|j&QZH6!mgb$PjSivi>!p)Ky{uTZevO-tz3asE2 z7=b>}prX)1f~7tbOT6LSXZs8Rp7`(4$$+Ic$!2t303nX`Nom631<}Q^z5_AYB7cYo06h^d-^hI?C5UL82Ac+{GD@1?T z;sc26jqe`ufG7aW3}$v{$RmT=q*-hSaCIxf6>*YK)$JXU>u5d_;#gMy^<3J9aHaAL zu`{KE_%?zw@k(MNoWubjWbs_#*>@nlUvA<}{{m0(rVELu_&S2QEzv{#)`i4FytxBj j;&%YtZpBYL@#pagQ9A+tBvQsk00000NkvXXu0mjfn8Kc? diff --git a/ui/main/fill_bar_left.png b/ui/main/fill_bar_left.png index 713cfa2043c19a8edc6318f5d0dc9982f3e565e7..718b784a74c757d04b79fe740bb22d2eac2d2c8f 100644 GIT binary patch delta 365 zcmV-z0h0cl1DykqIe$+{L_t(o!|j*dZi6rkMn6Kk?b`ACwp7zzHb1wk)|KoABr6LL zLSQ$ugapEHP8=`+_>T?Yy${~|{?Fh50)XQsB>ZrR6kJGzL*c_SaE!zR=nCMvMWV@t z6OlXy5p_|{CC;fLkOQBSkjJY9*1$_8nwszuiKaGu?K9Er0e@epL?_Rwz2E>qM4cQt z5y5+ZNmigXJZC!M3hdiPMf83D826PZkCGiMRjwMNcg{VT`Qw+sDB+yzYe}TwTI+Y2 zqvDIS)@==m#Jq{r%;!``TMJKq3zmYJU#ztcS&6OfyD4cf*4jHWzeXcE z>`y2F2*#MtXc1bpWiLwOxds4Z%)M>fx21L8Za*S5wo|6WZUg)Qdq}9_u3LFr00000 LNkvXXu0mjfqCTpo delta 364 zcmV-y0h9in1DpepIe$(`L_t(o!|j*LZo?oDMK3sMyB_9$6Gv5lmdCbH)0l1?2~iva z26xkuys$jt9L6xlz<+EA=bU%WO@9Ul-~sF}5yE$uNWlXMzbkxR1N%rUfX)EUTO>p- zoQT4E5YZUroZ_4&0y*$!65)NZKnc87LbQa}NQl<((lsG^z<*aNF^11&FE{`Y(HPF0 zh~S(%g*mbpJXa#DK;JeR#57H}UjjrV!w!}zSBrIEt-UkzN2&rKB5AFiT1lkfN~!nc z8hC_KYG@&m*a1FwGzbxg;XM-uF4%XW5T#2>DQ!Fq` z9CIXU;8_AW5@ogU>;uUoj4@x#e2hOZTfUmIM1YxJj4`*c5?kB1sA(|9m@6~CMzh)N zPsjuCTIo5#&Yv;ahKO!xzL#9Nx3H|`~L8$lw+x`In0000< KMNUMnLSTYaRimT; diff --git a/ui/main/tiny_fill_bar_left.png b/ui/main/tiny_fill_bar_left.png index 1c595eeddb2e5bd76782da06a753b0ac1b6c147a..0017889e0eeec4cb3857031d47309c5aa678106f 100644 GIT binary patch delta 334 zcmV-U0kQt-0{#M!Ie#!oL_t(o!|j*dZo?o9MvYf#_lEaP`@Dhgw$s*z-DDDCf$+CP znrexgD9Jenn-HQ`bi_Q*cL4r0I1zaw@;wr&n$R;s0Jnxsjdk%0)L*9*t?f^;Ez%`5s`@8 z!pud4thG~)!5R2dYyDOVPe~YK$T>Gv39N9gg{LI6)=3E-4X>5ps4$ih@SFsIX|oFe zEFz*t!An{+?gB+81P9Zl;ueahYgG2(%yP75LnTT!Cf+EVArhs#A}6Z1OQL2==1dDU zNz}lz0xc4?@JHg-1K{^w-1<4LDJuUL2a;}y!;WMriQYr0YF&d=t?ysev;Qg=+%W5PyFKG57A%x&`r1uQ&hz z5e>EHLZXS zRAq|`Ng86eD>K;~MD|jOt?8)qU4iY_&TDVY?0(4K(W3^A5&tvx4e!vr6#*cp82|tP M07*qoM6N<$f_OrXng9R*