Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BoxResolution ¶
type BoxResolution [2]int
type ColumnKeyWidthPair ¶
type DownloadsModel ¶
type DownloadsModel struct {
Height int
Width int
// Core
LogFunction *func(string)
LogsContentRef *[][2]string
ResourceList *core.ResourceList
// UI
// 0-Downloads(topRight)
// 1-Resources(left)
// 2-Console(bottomRight)
CurrentWindow *util.StateHandler[int]
ResourceTree tree.Model
InspectModel submodels.InspectModel
DownloadsTable table.Model
ConsoleModel submodels.ConsoleModel
HelpSet []HelpSet
}
func (DownloadsModel) GetPanelDimensions ¶
func (m DownloadsModel) GetPanelDimensions() (int, int, int, int)
func (DownloadsModel) Init ¶
func (m DownloadsModel) Init() tea.Cmd
func (DownloadsModel) View ¶
func (m DownloadsModel) View() string
type HelpSet ¶
type HelpSet [][2]string
func InitDownloadsHelpSet ¶
func InitDownloadsHelpSet() []HelpSet
func InitHomeHelpSet ¶
func InitHomeHelpSet() []HelpSet
func InitMainHelpSet ¶
func InitMainHelpSet() HelpSet
type HomeModel ¶
type HomeModel struct {
Height int
Width int
CurrentWindow *util.StateHandler[int]
TextViewer submodels.TextViewerModel
GuideTree submodels.GuideTreeModel
StatusModel submodels.StatusModel
HelpSet []HelpSet // Will be used by parent model to render help
}
func (HomeModel) GetPanelDimensions ¶
type MainModel ¶
type MainModel struct {
Application *core.Application
ResourceList *core.ResourceList
CurrentState *util.StateHandler[string]
Downloads DownloadsModel
NewResource NewResourceModel
Home HomeModel
HelpSet HelpSet
// contains filtered or unexported fields
}
func InitialTeaModel ¶
func InitialTeaModel(Application *core.Application) MainModel
func (*MainModel) NavigateToCtrlPanel ¶
func (m *MainModel) NavigateToCtrlPanel()
func (*MainModel) NavigateToGuide ¶
type NewResourceModel ¶
type NewResourceModel struct {
Height int
Width int
HelpSet HelpSet // Will be used by parent model to render help
}
func (NewResourceModel) Init ¶
func (m NewResourceModel) Init() tea.Cmd
func (NewResourceModel) View ¶
func (m NewResourceModel) View() string
type ResizeMsgL1 ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.