ui

package
v0.3.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BorderStyle = lipgloss.NewStyle().
		Border(lipgloss.RoundedBorder()).
		BorderForeground(lipgloss.Color("240")).
		Padding(0, 1)
)

Functions

This section is empty.

Types

type ExportDoneMsg

type ExportDoneMsg struct {
	Output string
	Err    error
}

type ExportProgressMsg

type ExportProgressMsg float64

type Model

type Model struct {
	// contains filtered or unexported fields
}

func NewModel

func NewModel(player *video.Player) Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

type PanelDimensions

type PanelDimensions struct {
	PreviewWidth            int
	PreviewHeight           int
	PropertiesWidth         int
	PropertiesHeight        int
	TimelineWidth           int
	TimelineHeight          int
	PreviewContentWidth     int
	PreviewContentHeight    int
	PropertiesContentWidth  int
	PropertiesContentHeight int
	TimelineContentWidth    int
	TimelineContentHeight   int
}

func CalculatePanelDimensions

func CalculatePanelDimensions(termWidth, termHeight int) PanelDimensions

type TickMsg

type TickMsg time.Time

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL