Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlsView ¶
type ControlsView struct { Data *viewdata.ControlsData // contains filtered or unexported fields }
ControlsView represents static view to display controls
func NewControls ¶
func NewControls(name string, x, y int, w, h int) *ControlsView
NewControls creates new instance of ControlsView
type ParagraphView ¶
type ParagraphView struct { // Data stores content of the view Data *viewdata.ParagraphData // contains filtered or unexported fields }
ParagraphView keeps track of its view's metadata
func NewParagraphView ¶
func NewParagraphView(name string, x, y int, w, h int) *ParagraphView
NewParagraphView creates new instance of ParagraphView
func (*ParagraphView) DrawView ¶
func (pv *ParagraphView) DrawView(v *gocui.View)
DrawView renders the ParagraphView
type StatsView ¶
type StatsView struct { // Stats history data HistoryData *viewdata.Stats // Live Stats for race in progress LiveRaceData *viewdata.LiveStats // contains filtered or unexported fields }
StatsView is to keep track of stats and the view
func NewStatsView ¶
NewStatsView creates brand new StatsView instance
type WordView ¶
type WordView struct { // data about contents of editor view Data *viewdata.ParagraphData // contains filtered or unexported fields }
WordView is a editor widget
func NewWordView ¶
NewWordView creates new instance of WordView
Click to show internal directories.
Click to hide internal directories.