20 lines
254 B
Go
20 lines
254 B
Go
package ui
|
|
|
|
type OverlayProxy struct {
|
|
Proxy
|
|
}
|
|
|
|
func (p *OverlayProxy) Shown() {
|
|
overlay, ok := p.Content.(Overlay)
|
|
if ok {
|
|
overlay.Shown()
|
|
}
|
|
}
|
|
|
|
func (p *OverlayProxy) Hidden() {
|
|
overlay, ok := p.Content.(Overlay)
|
|
if ok {
|
|
overlay.Hidden()
|
|
}
|
|
}
|