Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("/XynSoft/System/SysCC/xs")
- xs.Image("/XynSoft/User/Data/User/Background",1,1)
- function GetWidget(ln)
- local file = fs.open("/XynSoft/Data/User/widgets","r")
- local data = file.readLine()
- return data
- end
- function Color()
- local f = xs.ReadAll("/XynSoft/Data/User/Color")
- return f
- end
- xs.FS(colors.white)
- wt = {}
- w1 = GetWidget(1)
- w2 = GetWidget(2)
- table.insert(w1,wt)
- table.insert(w2,wt)
- for wl in wt do
- if wl == "user_icon::active" then
- local l1 = paintutils.loadImage("/XynSoft/Data/User/Icon")
- paintutils.drawImage(l1,7,6)
- xs.Write("User Icon",7,6,colors.black,colors.white)
- end
- if wl == "button_panel::active" then
- shell.run("/XynSoft/Data/User/WidgetLib/btnpnl")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment