Documentation ¶
Index ¶
- type Layout
- func (l *Layout) AddComponent(cpt *component.Component)
- func (l *Layout) ChangeDimensions(width, height int)
- func (l *Layout) Draw(buffer *ui.Buffer)
- func (l *Layout) HandleKeyboardEvent(e string)
- func (l *Layout) HandleMouseClick(x int, y int)
- func (l *Layout) StartWithIntro()
- func (l *Layout) WerePositionsChanged() bool
- type Mode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Layout ¶
type Layout struct { ui.Block Components []*component.Component ChangeModeEvents chan Mode // contains filtered or unexported fields }
Layout represents component arrangement on the screen
func (*Layout) AddComponent ¶
func (*Layout) ChangeDimensions ¶
func (*Layout) HandleKeyboardEvent ¶
func (*Layout) HandleMouseClick ¶
func (*Layout) StartWithIntro ¶
func (l *Layout) StartWithIntro()
func (*Layout) WerePositionsChanged ¶
Click to show internal directories.
Click to hide internal directories.