Documentation ¶
Index ¶
- Constants
- func AddList(gui *Gui, list trello.List, index, offset int) error
- func SelectedItemIdx(view *View) int
- func SetKeyBindings(gui *Gui, mngr *TregoManager) (err error)
- type CardEditor
- type InfoBar
- type ShortcutsBar
- type TregoManager
- func (mngr *TregoManager) CheckCurrView(gui *gocui.Gui, replacementViewName string)
- func (mngr *TregoManager) Layout(gui *Gui) error
- func (mngr *TregoManager) SelectView(gui *gocui.Gui, viewName string) error
- func (mngr *TregoManager) SwitchListLeft(gui *gocui.Gui, v *gocui.View) (err error)
- func (mngr *TregoManager) SwitchListRight(gui *gocui.Gui, v *gocui.View) (err error)
Constants ¶
View Source
const ( BottomBar string = "botbar" TopBar string = "topbar" SearchView string = "searchview" ListWidth int = 24 )
Variables ¶
This section is empty.
Functions ¶
func SelectedItemIdx ¶
func SelectedItemIdx(view *View) int
func SetKeyBindings ¶
func SetKeyBindings(gui *Gui, mngr *TregoManager) (err error)
Types ¶
type CardEditor ¶
type CardEditor struct { Mngr *TregoManager Card *trello.Card // contains filtered or unexported fields }
func (*CardEditor) Layout ¶
func (cEdit *CardEditor) Layout(gui *Gui) error
type ShortcutsBar ¶
type ShortcutsBar struct { DefaultBotBarKey string `json:"default_bottom_bar_key"` Data map[string][][]string `json:"bottom_bar"` CurrBotBarKey string }
func (*ShortcutsBar) Layout ¶
func (botBar *ShortcutsBar) Layout(gui *Gui) error
bottom bar with shortcuts
type TregoManager ¶
type TregoManager struct { Member *trello.Member Lists []trello.List CurrBoard *trello.Board TopBar *InfoBar BotBar *ShortcutsBar // contains filtered or unexported fields }
func (*TregoManager) CheckCurrView ¶
func (mngr *TregoManager) CheckCurrView(gui *gocui.Gui, replacementViewName string)
func (*TregoManager) Layout ¶
func (mngr *TregoManager) Layout(gui *Gui) error
func (*TregoManager) SelectView ¶
func (mngr *TregoManager) SelectView(gui *gocui.Gui, viewName string) error
func (*TregoManager) SwitchListLeft ¶
func (*TregoManager) SwitchListRight ¶
Click to show internal directories.
Click to hide internal directories.