layout

package
v0.0.0-...-a82ac39 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MENU_PAGE   = "default"
	RENAME_PAGE = "renameInput"
)

Variables

View Source
var (
	TODO_HEADER      = "[::b]> Todo items[-::]"
	COMPLETED_HEADER = "[green::b]> Completed[-::]"
	EXPIRED_HEADER   = "[yellow::b]> Expired[-::]"
	DELETED_HEADER   = "[red::b]> Deleted[-::]"
)
View Source
var SEP = "[::d]" + strings.Repeat(string(tcell.RuneS3), 35)

Functions

func Load

func Load(application *tview.Application) *tview.Flex

Types

type FilterView

type FilterView struct {
	*tview.Flex
	// contains filtered or unexported fields
}

Filter panel

func NewFilterView

func NewFilterView() *FilterView

type HelpView

type HelpView struct {
	*tview.Flex
}

func NewHelpView

func NewHelpView() *HelpView
type MenuView struct {
	*tview.Pages
	// contains filtered or unexported fields
}

func NewMenuView

func NewMenuView() *MenuView

NewMenuView displays menu view

NOTE

current only works for Task

type SearchView

type SearchView struct {
	*tview.Flex
	// contains filtered or unexported fields
}

func NewSearchView

func NewSearchView() *SearchView

type StatusView

type StatusView struct {
	*tview.Flex
	// contains filtered or unexported fields
}

func NewStatusView

func NewStatusView() *StatusView

type TaskDetailHeader

type TaskDetailHeader struct {
	*tview.Flex
	// contains filtered or unexported fields
}

TaskDetailHeader displays Task title and relevant action in TaskDetail view

func NewTaskDetailHeader

func NewTaskDetailHeader() *TaskDetailHeader

type TaskDetailView

type TaskDetailView struct {
	*tview.Flex
	// contains filtered or unexported fields
}

func NewTaskDetailView

func NewTaskDetailView() *TaskDetailView

type TaskView

type TaskView struct {
	*tview.Flex
	// contains filtered or unexported fields
}

func NewTaskView

func NewTaskView() *TaskView

type TodayView

type TodayView struct {
	*tview.Flex
	// contains filtered or unexported fields
}

func NewTodayView

func NewTodayView() *TodayView

Jump to

Keyboard shortcuts

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