creative: Use icons for buttons.
authorDiego Martínez <kaeza@users.noreply.github.com>
Sat, 25 Mar 2017 21:26:17 +0000 (18:26 -0300)
committersfan5 <sfan5@live.de>
Fri, 22 Dec 2017 21:57:24 +0000 (22:57 +0100)
mods/creative/README.txt
mods/creative/inventory.lua
mods/creative/textures/creative_clear_icon.png [new file with mode: 0644]
mods/creative/textures/creative_next_icon.png [new file with mode: 0644]
mods/creative/textures/creative_prev_icon.png [new file with mode: 0644]
mods/creative/textures/creative_search_icon.png [new file with mode: 0644]
mods/creative/textures/creative_trash_icon.png

index 82357f30e7dca8bd75e6385e866b150381245d21..a61b5ff041bb992375697e4d30bf3e4ee095f725 100644 (file)
@@ -9,4 +9,14 @@ Jean-Patrick G. (kilbith) <jeanpatrick.guerrero@gmail.com> (MIT)
 
 Author of media (textures)
 --------------------------
-Jean-Patrick G. (kilbith) <jeanpatrick.guerrero@gmail.com> (CC BY-SA 3.0)
+
+Jean-Patrick G. (kilbith) <jeanpatrick.guerrero@gmail.com> (CC BY-SA 3.0):
+
+* creative_trash_icon.png
+
+Diego Martínez (kaeza) (CC BY-SA 3.0):
+
+* creative_prev_icon.png
+* creative_next_icon.png
+* creative_search_icon.png
+* creative_clear_icon.png
index 8b7f0c3ab6fa9f5f55fd7e3570c878b50e4e444d..24e88a68a4ea9c4e68a31e8bca0cf081d4b68679 100644 (file)
@@ -112,10 +112,10 @@ function creative.register_tab(name, title, items)
                                        list[current_player;main;0,5.85;8,3;8]
                                        list[detached:creative_trash;main;4,3.3;1,1;]
                                        listring[]
-                                       button[5.4,3.2;0.8,0.9;creative_prev;<]
-                                       button[7.25,3.2;0.8,0.9;creative_next;>]
-                                       button[2.1,3.4;0.8,0.5;creative_search;?]
-                                       button[2.75,3.4;0.8,0.5;creative_clear;X]
+                                       image_button[5.4,3.25;0.8,0.8;creative_prev_icon.png;creative_prev;]
+                                       image_button[7.2,3.25;0.8,0.8;creative_next_icon.png;creative_next;]
+                                       image_button[2.1,3.25;0.8,0.8;creative_search_icon.png;creative_search;]
+                                       image_button[2.75,3.25;0.8,0.8;creative_clear_icon.png;creative_clear;]
                                        tooltip[creative_search;Search]
                                        tooltip[creative_clear;Reset]
                                        listring[current_player;main]
diff --git a/mods/creative/textures/creative_clear_icon.png b/mods/creative/textures/creative_clear_icon.png
new file mode 100644 (file)
index 0000000..af225c2
Binary files /dev/null and b/mods/creative/textures/creative_clear_icon.png differ
diff --git a/mods/creative/textures/creative_next_icon.png b/mods/creative/textures/creative_next_icon.png
new file mode 100644 (file)
index 0000000..b2fc1d1
Binary files /dev/null and b/mods/creative/textures/creative_next_icon.png differ
diff --git a/mods/creative/textures/creative_prev_icon.png b/mods/creative/textures/creative_prev_icon.png
new file mode 100644 (file)
index 0000000..0d7f8c9
Binary files /dev/null and b/mods/creative/textures/creative_prev_icon.png differ
diff --git a/mods/creative/textures/creative_search_icon.png b/mods/creative/textures/creative_search_icon.png
new file mode 100644 (file)
index 0000000..02c69cf
Binary files /dev/null and b/mods/creative/textures/creative_search_icon.png differ
index e789ad634450a5fa5227e9efd8fe804703d3eece..649945a7f0aea124710709f0b0e39cd390cb5acd 100644 (file)
Binary files a/mods/creative/textures/creative_trash_icon.png and b/mods/creative/textures/creative_trash_icon.png differ