Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewCollection ¶
func NewCollection(g *gocui.Gui, imageName string, analysis *image.AnalysisResult, cache filetree.Comparer) (*Controller, error)
func (*Controller) NextPane ¶
func (c *Controller) NextPane() (err error)
func (*Controller) PrevPane ¶
func (c *Controller) PrevPane() (err error)
func (*Controller) Render ¶
func (c *Controller) Render() error
Render flushes the state objects to the screen.
func (*Controller) ToggleFilterView ¶
func (c *Controller) ToggleFilterView() error
func (*Controller) ToggleView ¶
func (c *Controller) ToggleView() (err error)
ToggleView switches between the file view and the layer view and re-renders the screen.
func (*Controller) Update ¶
func (c *Controller) Update() error
Update refreshes the state objects for future rendering.
func (*Controller) UpdateAndRender ¶
func (c *Controller) UpdateAndRender() error
Click to show internal directories.
Click to hide internal directories.