Commit d99a25f8 authored by Danny SMc's avatar Danny SMc

Added a few updates

parent 8324c2c3
{
["version"] = 1.9;
["build"] = 119;
}
\ No newline at end of file
--[[
This stores all program execution files paths.
This stores all program execution files paths and any extra settings.
]]
main = {
......
{
{
["name"] = "xPlore";
["path"] = ".eclipse/apps/xplore.lua";
["icon"] = {{"14:14: ","14:14: ","14:14: ",},{"14:14: ","14:14: ","14:14: ","14:14: ","14:14: ","14:14: ",},{"14:11:>","14:11:f","14:11:i","14:11:l","14:11:e","14:11:/",},};
},
{
["name"] = "AppStore";
["path"] = ".eclipse/apps/discover.lua";
["icon"] = {{"18:24:1","18:24:.","18:10:N","18:10:a","18:10:m","18:10:e",},{"18:15:D","18:15:e","18:15:s","18:15:c","18:15:.","18:15:.",},{"18:15:A","18:15:u","18:15:t","18:15:h","18:15:o","18:15:r",},};
},
}
\ No newline at end of file
{
["username"] = nil;
["password"] = nil;
}
\ No newline at end of file
......@@ -547,6 +547,32 @@ function ec.core.desktop()
col.screen("white")
ec.draw.bar("Desktop")
local function drawicons()
local intxy = {{4,14,25,34,44,4,14,25,34,44,4,14,25,34,44},{3,3,3,3,3,8,8,8,8,8,13,13,13,13,13}}
tiles = config.load(".eclipse/settings/tiles.lua")
if type(tiles) == "table" then
for i, tile in ipairs(tiles) do
draw.texta(tile.name, intxy[1][i]-1, intxy[2][i]+3, false, "grey", "white")
image.draw(tile.icon, intxy[1][i], intxy[2][i])
end
end
end
drawicons()
while true do
local args = { os.pullEvent() }
if args[1] == "timer" then
ec.draw.bar("Desktop")
elseif args[1] == "mouse_click" then
if args[2] == 1 then
-- Stuff here
end
end
end
end
--[[ Icons have to be 6 x 3, OVERALL: 5 x 3 ]]
--[[###################################################
......@@ -569,21 +595,6 @@ function ec.core.desktop()
###################################################
###################################################]]
while true do
local args = { os.pullEvent() }
if args[1] == "timer" then
ec.draw.bar("Desktop")
elseif args[1] == "mouse_click" then
if args[2] == 1 then
if (args[3] >= 1 and args[3] <= 2) and (args[4] == 19) then
drawgomenu("main")
end
end
end
end
end
--[[
TODO:
+ Desktop
......
os.run({}, "eclipse.lua")
\ No newline at end of file
os.run({}, "eclipse.lua")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment