Versions in this module Expand all Collapse all v0 v0.12.0 Apr 21, 2024 v0.11.0 Dec 17, 2023 Changes in this version + func CursorDown(g *gocui.Gui, v *gocui.View) error + func CursorStep(g *gocui.Gui, v *gocui.View, step int) error + func CursorUp(g *gocui.Gui, v *gocui.View) error + type Debug struct + func (v *Debug) IsVisible() bool + func (v *Debug) Layout(g *gocui.Gui, minX, minY, maxX, maxY int) error + func (v *Debug) Name() string + func (v *Debug) OnLayoutChange() error + func (v *Debug) Render() error + func (v *Debug) RequestedSize(available int) *int + func (v *Debug) SetCurrentView(r Helper) + func (v *Debug) Setup(view *gocui.View, header *gocui.View) error + func (v *Debug) Update() error + type FileTree struct + func (v *FileTree) AddViewOptionChangeListener(listener ...ViewOptionChangeListener) + func (v *FileTree) CursorDown() error + func (v *FileTree) CursorLeft() error + func (v *FileTree) CursorRight() error + func (v *FileTree) CursorUp() error + func (v *FileTree) IsVisible() bool + func (v *FileTree) KeyHelp() string + func (v *FileTree) Layout(g *gocui.Gui, minX, minY, maxX, maxY int) error + func (v *FileTree) Name() string + func (v *FileTree) OnLayoutChange() error + func (v *FileTree) PageDown() error + func (v *FileTree) PageUp() error + func (v *FileTree) Render() error + func (v *FileTree) RequestedSize(available int) *int + func (v *FileTree) SetFilterRegex(filterRegex *regexp.Regexp) + func (v *FileTree) SetTitle(title string) + func (v *FileTree) SetTree(bottomTreeStart, bottomTreeStop, topTreeStart, topTreeStop int) error + func (v *FileTree) Setup(view, header *gocui.View) error + func (v *FileTree) Update() error + type Filter struct + func (v *Filter) AddFilterEditListener(listener ...FilterEditListener) + func (v *Filter) Edit(view *gocui.View, key gocui.Key, ch rune, mod gocui.Modifier) + func (v *Filter) IsVisible() bool + func (v *Filter) KeyHelp() string + func (v *Filter) Layout(g *gocui.Gui, minX, minY, maxX, maxY int) error + func (v *Filter) Name() string + func (v *Filter) OnLayoutChange() error + func (v *Filter) Render() error + func (v *Filter) RequestedSize(available int) *int + func (v *Filter) Setup(view, header *gocui.View) error + func (v *Filter) ToggleVisible() error + func (v *Filter) Update() error + type FilterEditListener func(string) error + type Helper interface + KeyHelp func() string + type IView interface + IsVisible func() bool + Name func() string + Setup func(*gocui.View, *gocui.View) error + type ImageDetails struct + func (v *ImageDetails) CursorDown() error + func (v *ImageDetails) CursorUp() error + func (v *ImageDetails) IsVisible() bool + func (v *ImageDetails) KeyHelp() string + func (v *ImageDetails) Name() string + func (v *ImageDetails) OnLayoutChange() error + func (v *ImageDetails) PageDown() error + func (v *ImageDetails) PageUp() error + func (v *ImageDetails) Render() error + func (v *ImageDetails) Setup(body, header *gocui.View) error + func (v *ImageDetails) Update() error + type Layer struct + func (v *Layer) AddLayerChangeListener(listener ...LayerChangeListener) + func (v *Layer) CompareMode() viewmodel.LayerCompareMode + func (v *Layer) ConstrainLayout() + func (v *Layer) CurrentLayer() *image.Layer + func (v *Layer) CursorDown() error + func (v *Layer) CursorUp() error + func (v *Layer) ExpandLayout() + func (v *Layer) IsVisible() bool + func (v *Layer) KeyHelp() string + func (v *Layer) LayerCount() int + func (v *Layer) Name() string + func (v *Layer) OnLayoutChange() error + func (v *Layer) PageDown() error + func (v *Layer) PageUp() error + func (v *Layer) Render() error + func (v *Layer) SetCursor(layer int) error + func (v *Layer) Setup(body *gocui.View, header *gocui.View) error + func (v *Layer) Update() error + type LayerChangeListener func(viewmodel.LayerSelection) error + type LayerDetails struct + CurrentLayer *image.Layer + func (v *LayerDetails) CursorDown() error + func (v *LayerDetails) CursorUp() error + func (v *LayerDetails) IsVisible() bool + func (v *LayerDetails) KeyHelp() string + func (v *LayerDetails) Name() string + func (v *LayerDetails) OnLayoutChange() error + func (v *LayerDetails) Render() error + func (v *LayerDetails) SetCursor(x, y int) error + func (v *LayerDetails) Setup(body, header *gocui.View) error + func (v *LayerDetails) Update() error + type Renderer interface + IsVisible func() bool + Render func() error + Update func() error + type Status struct + func (v *Status) AddHelpKeys(keys ...*key.Binding) + func (v *Status) IsVisible() bool + func (v *Status) KeyHelp() string + func (v *Status) Layout(g *gocui.Gui, minX, minY, maxX, maxY int) error + func (v *Status) Name() string + func (v *Status) OnLayoutChange() error + func (v *Status) Render() error + func (v *Status) RequestedSize(available int) *int + func (v *Status) SetCurrentView(r Helper) + func (v *Status) Setup(view *gocui.View) error + func (v *Status) Update() error + type ViewOptionChangeListener func() error + type Views struct + Debug *Debug + Filter *Filter + ImageDetails *ImageDetails + Layer *Layer + LayerDetails *LayerDetails + Status *Status + Tree *FileTree + func NewViews(g *gocui.Gui, imageName string, analysis *image.AnalysisResult, ...) (*Views, error) + func (views *Views) All() []Renderer