Commit Graph

7 Commits

Author SHA1 Message Date
Vanessa Dannenberg
167dddaa84 Convert over to formspec version 4
I recreated the original layout as best as practical, but by necessity
there are a few minor positioning changes, since the underlying
hard-wired inventory slots are square now and image positioning is now
scaled by exactly 1.250 in both dimensions (as opposed to roughly 1.25
by 1.16).

Backstage, I also needed to fix the aspect ratios of the various
inventory slot elements.  That meant redesigning the single-slot image
from scratch.  It was already blurry/grainy and a little ugly, and
trying to alter it would have only made it worse.

The slot image is now exactly 56x56 pixels square, set on a 64x64
canvas, so there's a 4 pixel empty space around the edges. The full
256px .xcf workfile is included in the UI folder.

I've re-tiled all slot/inv images from the new single slot.

I also re-rendered the trash can icon from it since it was blurry and
oddly-sized. I couldn't find the original upstream image, so since
they're free, I used one of my Linux system's icons which happens to
resemble it.

I also removed a couple more improper uses of `background[]` where
`image[]` is more appropriate.

There are tons of minor tweaks throughout the code to re-align
everything, and I had to rewrite a few sections to avoid code
duplication and to allow for a little more flexibility (mainly to make
"lite" mode look right).
2021-03-09 15:04:11 -05:00
MoNTE48
a70ffb1509 Compress textures (-61 KB!) 2019-05-31 17:30:24 +02:00
ForbiddenJ
7ab8825460 Make trash configurable but preserve default functionality 2017-03-01 16:28:40 -06:00
HybridDog
5aab3640ec adv- and optipng textures
M  screenshot.png
M  textures/bags_large.png
M  textures/bags_medium.png
M  textures/bags_small.png
M  textures/ui_1_icon.png
M  textures/ui_2_icon.png
M  textures/ui_3_icon.png
M  textures/ui_4_icon.png
M  textures/ui_5_icon.png
M  textures/ui_bags_icon.png
M  textures/ui_bags_lg_form.png
M  textures/ui_bags_main_form.png
M  textures/ui_bags_med_form.png
M  textures/ui_bags_sm_form.png
M  textures/ui_blank_image.png
M  textures/ui_blue_icon_background.png
M  textures/ui_circular_arrows_icon.png
M  textures/ui_craft_icon.png
M  textures/ui_craftgrid_icon.png
M  textures/ui_craftguide_form.png
M  textures/ui_craftguide_icon.png
M  textures/ui_crafting_form.png
M  textures/ui_doubleleft_icon.png
M  textures/ui_doubleright_icon.png
M  textures/ui_form_bg.png
M  textures/ui_gohome_icon.png
M  textures/ui_green_icon_background.png
M  textures/ui_group.png
M  textures/ui_home_icon.png
M  textures/ui_left_icon.png
M  textures/ui_main_inventory.png
M  textures/ui_misc_form.png
M  textures/ui_moon_icon.png
M  textures/ui_no.png
M  textures/ui_off_icon.png
M  textures/ui_ok_icon.png
M  textures/ui_on_icon.png
M  textures/ui_pencil_icon.png
M  textures/ui_red_icon_background.png
M  textures/ui_right_icon.png
M  textures/ui_search_icon.png
M  textures/ui_sethome_icon.png
M  textures/ui_skip_backward_icon.png
M  textures/ui_skip_forward_icon.png
M  textures/ui_sun_icon.png
M  textures/ui_trash_icon.png
M  textures/ui_waypoint_set_icon.png
M  textures/ui_waypoints_icon.png
M  textures/ui_xyz_icon.png
M  textures/ui_xyz_off_icon.png
M  textures/ui_xyz_on_icon.png
2016-07-15 09:53:27 +02:00
Vanessa Ezekowitz
2d6a0ed606 split ui_crafting_form
into craft grid/trash image and a single slot image.  The latter is now
used for a refill slot if user has creative priv or server is in
creative mode.
2015-08-05 08:37:25 -04:00
RealBadAngel
aec3cb2fc1 Fix textures aligment problems.
Some other tweaks.
2013-10-05 22:48:45 +02:00
RealBadAngel
e3d391d63f Update mod 2013-09-21 21:40:20 +02:00