diff --git a/src/gui.lua b/src/gui.lua index 051d39d..ff1d9b8 100644 --- a/src/gui.lua +++ b/src/gui.lua @@ -1355,14 +1355,15 @@ local function get_items_fs(fs, data, player, full_height) if #items == 0 then local lbl = ES"No item to show" + local icon, width, offset = PNG.no_result, 4, 2 if next(i3.recipe_filters) and #i3.init_items > 0 and data.filter == "" then lbl = ES"Collect items to reveal more recipes" -- Progressive mode, etc. - else - image(data.inv_width + 2, 4.5, 4, 4, "i3_no_result.png") + icon, width, offset = PNG.find_more, 2.5, 2.75 end - button(data.inv_width + 0.1, 3, 8, 1, "no_item", lbl) + image(data.inv_width + offset, 3.5, width, width, icon) + button(data.inv_width + 0.1, 7, 8, 1, "no_item", lbl) else local first_item = (data.pagenum - 1) * ipp diff --git a/src/styles.lua b/src/styles.lua index 26961f3..082ff97 100644 --- a/src/styles.lua +++ b/src/styles.lua @@ -42,6 +42,8 @@ local PNG = { home = "i3_home.png", flag = "i3_flag.png", edit = "i3_edit.png", + no_result = "i3_no_result.png", + find_more = "i3_find_more.png", cancel_hover = "i3_cancel.png^\\[brighten", search_hover = "i3_search.png^\\[brighten", diff --git a/textures/i3_find_more.png b/textures/i3_find_more.png new file mode 100644 index 0000000..e4ddbe9 Binary files /dev/null and b/textures/i3_find_more.png differ diff --git a/textures/i3_no_result.png b/textures/i3_no_result.png index 96592c8..f4ce4d1 100644 Binary files a/textures/i3_no_result.png and b/textures/i3_no_result.png differ