mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2024-12-30 12:40:23 +01:00
167dddaa84
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). |
||
---|---|---|
.. | ||
bags_large.png | ||
bags_medium.png | ||
bags_small.png | ||
ui_1_icon.png | ||
ui_2_icon.png | ||
ui_3_icon.png | ||
ui_4_icon.png | ||
ui_5_icon.png | ||
ui_bags_header.png | ||
ui_bags_icon.png | ||
ui_bags_inv_large.png | ||
ui_bags_inv_medium.png | ||
ui_bags_inv_small.png | ||
ui_blank_image.png | ||
ui_blue_icon_background.png | ||
ui_circular_arrows_icon.png | ||
ui_craft_icon.png | ||
ui_craftgrid_icon.png | ||
ui_craftguide_icon.png | ||
ui_crafting_arrow.png | ||
ui_crafting_form.png | ||
ui_doubleleft_icon.png | ||
ui_doubleright_icon.png | ||
ui_form_bg.png | ||
ui_gohome_icon.png | ||
ui_green_icon_background.png | ||
ui_group.png | ||
ui_home_icon.png | ||
ui_left_icon.png | ||
ui_main_inventory.png | ||
ui_misc_form.png | ||
ui_moon_icon.png | ||
ui_no.png | ||
ui_off_icon.png | ||
ui_ok_icon.png | ||
ui_on_icon.png | ||
ui_pencil_icon.png | ||
ui_red_icon_background.png | ||
ui_reset_icon.png | ||
ui_right_icon.png | ||
ui_search_icon.png | ||
ui_sethome_icon.png | ||
ui_single_slot_bright.png | ||
ui_single_slot.png | ||
ui_skip_backward_icon.png | ||
ui_skip_forward_icon.png | ||
ui_sun_icon.png | ||
ui_trash_icon.png | ||
ui_trash_slot.png | ||
ui_waypoint_set_icon.png | ||
ui_waypoints_icon.png | ||
ui_xyz_icon.png | ||
ui_xyz_off_icon.png | ||
ui_xyz_on_icon.png |