Added support for desktop_icon_label_button
This commit is contained in:
parent
7e46231c5f
commit
0462876f00
@ -40,7 +40,7 @@ laptop.register_app("launcher", {
|
|||||||
local x = math.floor((i-1) / c_row_count)*2 + 1
|
local x = math.floor((i-1) / c_row_count)*2 + 1
|
||||||
local y = ((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', 'app', 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', 'app', e.name, (e.def.app_icon or 'logo.png'), "", (e.def.app_info or e.name))..
|
||||||
mtos.theme:get_label((x-0.3)..','..(y+1), e.def.app_name, "app")
|
mtos.theme:get_image_button((x-.5)..','..(y+1.08)..';2,.4', 'app', e.name, mtos.theme.desktop_icon_label_button , e.def.app_name)
|
||||||
end
|
end
|
||||||
out = out..mtos.theme:get_button(mtos.theme.taskbar_clock_position_and_size, "major", "os_clock", os.date("%c"))
|
out = out..mtos.theme:get_button(mtos.theme.taskbar_clock_position_and_size, "major", "os_clock", os.date("%c"))
|
||||||
return out
|
return out
|
||||||
|
Loading…
x
Reference in New Issue
Block a user