Compare commits

..

No commits in common. "7cf19da3ae76013b7c56853b4ce9f36267421166" and "9d2cca67ebeade7b7860959148142e9b9a85e0ca" have entirely different histories.

3 changed files with 1 additions and 81 deletions

View File

@ -1,5 +1,5 @@
local main = teverse.construct("guiFrame", { local main = teverse.construct("guiFrame", {
parent = teverse.interface, parent = teverse.coreInterface,
backgroundColour = colour.rgb(52, 58, 64), backgroundColour = colour.rgb(52, 58, 64),
size = guiCoord(1, 0, 1, 100), size = guiCoord(1, 0, 1, 100),
position = guiCoord(0, 0, 0, -50) position = guiCoord(0, 0, 0, -50)

View File

@ -1,11 +0,0 @@
local container = teverse.construct("guiFrame", {
parent = teverse.coreInterface,
size = guiCoord(0, 300, 0, 500),
position = guiCoord(0, 20, 0, 20),
backgroundAlpha = 0.7,
zIndex = 1000,
strokeRadius = 2,
visible = false
})
return container

View File

@ -1,69 +0,0 @@
-- This is the main interface loaded into coreinterface
local console = require("tevgit:core/teverseUI/console.lua")
local container = teverse.construct("guiFrame", {
parent = teverse.coreInterface,
size = guiCoord(0, 77, 0, 26),
position = guiCoord(1, -81, 1, -30),
backgroundAlpha = 0.0,
strokeRadius = 13,
zIndex = 1000
})
local homebtn
local ico = teverse.construct("guiIcon", {
parent = container,
size = guiCoord(0, 20, 0, 20),
position = guiCoord(1, -23, 0.5, -10),
iconId = "wrench",
iconType = "faSolid",
iconColour = colour(0, 0, 0),
iconMax = 12,
iconAlpha = 0.75,
strokeRadius = 10,
strokeAlpha = 0.5,
backgroundAlpha = 1
})
local lastClick = 0
ico:on("mouseLeftDown", function()
if os.clock() - lastClick < 0.4 then
-- double click
lastClick = 0
console.visible = not console.visible
else
lastClick = os.clock()
end
end)
if teverse.dev.localTevGit then
ico:on("mouseLeftUp", function()
container.backgroundAlpha = 1.0
homebtn.visible = true
repeat sleep(0.1) until teverse.input.mousePosition.y < container.absolutePosition.y - 25
container.backgroundAlpha = 0.0
homebtn.visible = false
end)
homebtn = teverse.construct("guiTextBox", {
parent = container,
size = guiCoord(0, 40, 0, 14),
position = guiCoord(0, 6, 0.5, -7),
text = "HOME",
textAlign = "middle",
textFont = "tevurl:fonts/openSansLight.ttf",
textColour = colour(0, 0, 0),
textSize = 14,
strokeRadius = 7,
strokeAlpha = 0.5,
backgroundAlpha = 0,
visible = false
})
homebtn:on("mouseLeftUp", function()
teverse.apps:loadDashboard()
end)
end