Browse Source

creative: Use icons for buttons.

Diego Martínez 7 years ago
parent
commit
dfe74948e2

+ 11 - 1
mods/creative/README.txt

@@ -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

+ 4 - 4
mods/creative/inventory.lua

@@ -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]

BIN
mods/creative/textures/creative_clear_icon.png


BIN
mods/creative/textures/creative_next_icon.png


BIN
mods/creative/textures/creative_prev_icon.png


BIN
mods/creative/textures/creative_search_icon.png


BIN
mods/creative/textures/creative_trash_icon.png