Skip to content

Commit

Permalink
refactor: ♻️ change chat namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
iLPdev committed Feb 24, 2022
1 parent e5176d9 commit a27b0a0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions PRS.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PRSchat.tabs()
PRSstats.stats()
13 changes: 7 additions & 6 deletions prs-chat.lua
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
MDKExample = MDKExample or {}
function MDKExample.exampleEMCO()
PRSchat = PRSchat or {}
function PRSchat.tabs()
local EMCO = require("MDK.emco")
MDKExample.UW = Geyser.UserWindow:new({name = "Chat", titleText ="Procedural Realms", docked = true})
PRSchat.UW = Geyser.UserWindow:new({name = "Chat", titleText ="Procedural Realms", docked = true})
stylesheet = [[background-color: rgb(80,80,80,255); border-width: 1px; border-style: solid; border-color: black; border-radius: 0px;]]
istylesheet = [[background-color: rgb(60,60,60,255); border-width: 1px; border-style: solid; border-color: black; border-radius: 0px;]]
MDKExample.EMCO = EMCO:new({
name = "MDKExampleEMCO",
PRSchat.EMCO = EMCO:new({
name = "PRSchatTabs",
x = "0",
y = "0",
width = "100%",
Expand All @@ -27,5 +27,6 @@ function MDKExample.exampleEMCO()
activeTabCSS = stylesheet,
inactiveTabCSS = istylesheet,
preserveBackground = true,
}, MDKExample.UW)
}, PRSchat.UW)
end

0 comments on commit a27b0a0

Please sign in to comment.