Documentation ¶
Index ¶
- type Button
- type Element
- type MasterPanel
- type Panel
- func (panel *Panel) AddChild(child *Panel)
- func (panel *Panel) AddElement(element Element)
- func (panel *Panel) Children() []*Panel
- func (panel *Panel) Draw()
- func (panel *Panel) Enabled() bool
- func (panel *Panel) NewChildPanel(X, Y, Width, Height float64, Enabled bool) *Panel
- func (panel *Panel) Proportional() bool
- func (panel *Panel) Resize(parentWidth, parentHeight float64)
- func (panel *Panel) SetEnabled(enabled bool)
- func (panel *Panel) SetProportional(proportional bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MasterPanel ¶
type MasterPanel struct {
Panel
}
func (*MasterPanel) Resize ¶
func (panel *MasterPanel) Resize(width, height float64)
type Panel ¶
type Panel struct { X float64 Y float64 Width float64 Height float64 // contains filtered or unexported fields }
Panel
func (*Panel) AddElement ¶
func (*Panel) NewChildPanel ¶
NewChildPanel
func (*Panel) SetProportional ¶
SetProportional
Click to show internal directories.
Click to hide internal directories.