Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CardView ¶
CardView is a gui component in charge of displaying an open card and the list it belongs to
func NewCardView ¶
NewCardView returns an new instance of CardView
func (*CardView) FocusedItem ¶
FocusedItem returns the gui component currently in focus
type Config ¶
type Config struct {
Dev bool // Enable developer features (recover on run panics)
}
Config is the gui configuration
type Gui ¶
type Gui struct {
// contains filtered or unexported fields
}
Gui is a graphical user interface for trello-tui
type Header ¶
Header is a gui component displaying the title and description of the current board
func NewHeader ¶
func NewHeader(state store.HeaderState) *Header
NewHeader returns a new instance of Header
type ListContainer ¶
ListContainer is a gui component in charge of displaying the board's lists
func NewListContainer ¶
func NewListContainer(maxVLists int, state store.ListsState, f focuser, s switcher) *ListContainer
NewListContainer returns a new instance of ListContainer
func (*ListContainer) Draw ¶
func (l *ListContainer) Draw(screen tcell.Screen)
Draw re-implements the `tview.Primitive` interface Draw function
func (*ListContainer) FocusedItem ¶
func (l *ListContainer) FocusedItem() tview.Primitive
FocusedItem returns the currently focused list
type ListView ¶
ListView is a gui component in charge of displaying a single board list
func NewListView ¶
func NewListView(parent listInputHandler, state store.SingleListState) *ListView
NewListView returns a new instance of ListView
type View ¶
View is the root gui component
func (*View) FocusedItem ¶
FocusedItem returns the gui component currently in focus TODO: this is mainly necessary to ensure the focus is on the correct item at startup, this is not nice.