mirror of
https://github.com/felixangell/phi.git
synced 2024-10-26 17:18:31 +03:00
26 lines
374 B
Go
26 lines
374 B
Go
package gui
|
|
|
|
import (
|
|
"github.com/felixangell/strife"
|
|
)
|
|
|
|
type Panel struct {
|
|
BaseComponent
|
|
}
|
|
|
|
func NewPanel(input *InputHandler) *Panel {
|
|
panel := &Panel{}
|
|
panel.SetInputHandler(input)
|
|
return panel
|
|
}
|
|
|
|
func (p *Panel) OnDispose() {}
|
|
|
|
func (p *Panel) OnInit() {}
|
|
|
|
func (p *Panel) OnUpdate() bool {
|
|
return false
|
|
}
|
|
|
|
func (p *Panel) OnRender(ctx *strife.Renderer) {}
|