aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorSfan5 <sfan5@live.de>2013-07-06 10:32:58 +0200
committerSfan5 <sfan5@live.de>2013-07-06 10:32:58 +0200
commit307c57dcc494161d019d7ee394e7cdb1912ca11f (patch)
treec17ebed96fd762abff6f87657f6ebbcc81e3bd28 /builtin
parent18d7bc7fa1f2621eb593969b7bcccfeb4918c05f (diff)
downloadminetest-307c57dcc494161d019d7ee394e7cdb1912ca11f.tar.gz
minetest-307c57dcc494161d019d7ee394e7cdb1912ca11f.tar.bz2
minetest-307c57dcc494161d019d7ee394e7cdb1912ca11f.zip
Use hexadecimal RRGGBB instead of colorkeys, rename getColor to parseColor
Diffstat (limited to 'builtin')
-rw-r--r--builtin/mainmenu.lua2
-rw-r--r--builtin/modstore.lua8
2 files changed, 5 insertions, 5 deletions
diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua
index 56143e700..12747c8c9 100644
--- a/builtin/mainmenu.lua
+++ b/builtin/mainmenu.lua
@@ -389,7 +389,7 @@ end
--------------------------------------------------------------------------------
function menubar.refresh()
- menubar.formspec = "box[-2,7.625;15.75,1.75;BLK]"
+ menubar.formspec = "box[-2,7.625;15.75,1.75;000000]"
menubar.buttons = {}
local button_base = -1.8
diff --git a/builtin/modstore.lua b/builtin/modstore.lua
index 73afc3899..1890da138 100644
--- a/builtin/modstore.lua
+++ b/builtin/modstore.lua
@@ -187,9 +187,9 @@ function modstore.getmodlist(list)
" of " .. (list.pagecount +1) .. "]"
retval = retval .. "button[11.6,-0.1;0.5,0.5;btn_modstore_page_up;^]"
- retval = retval .. "box[11.6,0.35;0.28,8.6;BLK]"
+ retval = retval .. "box[11.6,0.35;0.28,8.6;000000]"
local scrollbarpos = 0.35 + (8.1/list.pagecount) * list.page
- retval = retval .. "box[11.6," ..scrollbarpos .. ";0.28,0.5;LIM]"
+ retval = retval .. "box[11.6," ..scrollbarpos .. ";0.28,0.5;32CD32]"
retval = retval .. "button[11.6,9.0;0.5,0.5;btn_modstore_page_down;v]"
@@ -210,7 +210,7 @@ function modstore.getmodlist(list)
if details ~= nil then
local screenshot_ypos = (i-1 - (list.page * modstore.modsperpage))*1.9 +0.2
- retval = retval .. "box[0," .. screenshot_ypos .. ";11.4,1.75;WHT]"
+ retval = retval .. "box[0," .. screenshot_ypos .. ";11.4,1.75;FFFFFF]"
--screenshot
if details.screenshot_url ~= nil and
@@ -272,4 +272,4 @@ function modstore.get_details(modid)
local retval = engine.get_modstore_details(tostring(modid))
modstore.details_cache[modid] = retval
return retval
-end \ No newline at end of file
+end