Pane demo

by Dj dovis
Just a library on panes,winshow and winset
ID:251600
 
A library showing how to utilise winshow and winset to show panes in a child.
winset(src,"WindowName.ChildName","left=PaneName")

//not sure why you would have a pane hidden, but:
winset(src,"PaneName","is-visible=true")
mob/verb/showstats()
set hidden = 1

mob/verb/showchat()
set hidden = 1

:)

maybe you can add a statpanel instead of the verbs ;)
mob
Stat()
statpanel("panelName")
stat("statpane :3")

The verbs confused me.
kk. I will add in the set hidden and a stat panel instead of the verbs. Kinda made it so it shows only the panes since I used to struggle with them. Gonna polish this some more.