texture replacements for app icons in launcher
This commit is contained in:
parent
fdc7098b9d
commit
8bf534866b
@ -41,7 +41,7 @@ laptop.register_app("launcher", {
|
||||
for i, e in ipairs(appslist_sorted) do
|
||||
local x = math.floor((i-1) / c_row_count)*2 + 1
|
||||
local y = ((i-1) % c_row_count)*2 + 1
|
||||
out = out .. mtos.theme:get_image_button(x..','..y..';1,1', 'desktop_icon', e.name, (e.def.app_icon or 'logo.png'), "", (e.def.app_info or e.name))..
|
||||
out = out .. mtos.theme:get_image_button(x..','..y..';1,1', 'desktop_icon', e.name, mtos.theme:get_texture(e.def.app_icon or 'logo.png'), "", (e.def.app_info or e.name))..
|
||||
mtos.theme:get_button((x-.5)..','..(y+1.08)..';2,.5', 'desktop_icon_label', e.name, e.def.app_name)
|
||||
end
|
||||
out = out..mtos.theme:get_button(mtos.theme.taskbar_clock_position_and_size, "major", "os_clock", os.date("%c"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user