Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NextView ¶
func NextView(current ui.ActiveView) ui.ActiveView
Next view, for a given active view, returns the 'next', i.E. 'stepping into' from an outer view to an inner one. E.g.: Month -> Week -> Day
func PrevView ¶
func PrevView(current ui.ActiveView) ui.ActiveView
PrevView returns the 'previous' view for a given active view, i.E. 'stepping out' from an inner view to an outer one. E.g.: Day -> Week -> Month
Types ¶
type ControlData ¶
type ControlData struct {
CursorPos ui.MouseCursorPos
CurrentCategory model.CategoryName
CurrentTask *model.TaskID
EnvData EnvData
CurrentDate model.Date
CurrentEventID *model.EventID
Weather *weather.Handler
EventEditor *editors.Composite
TaskEditor *editors.Composite
ShowLog bool
ShowHelp bool
ShowSummary bool
ShowDebug bool
MainTimelineViewParams ui.SingleDayViewParams
BacklogViewParams ui.BacklogViewParams
ActiveView func() ui.ActiveView
RenderTimes util.MetricsHandler
EventProcessingTimes util.MetricsHandler
MouseMode bool
EventEditMode edit.EventEditMode
MouseEditState edit.MouseEditState
MouseEditedEventID *model.EventID
CurrentMoveStartingOffset time.Duration
}
func NewControlData ¶
func NewControlData() *ControlData
type DayWithInfo ¶
DayWithInfo represents a day with additional information, such as sunrise / sunset times.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cli provides the command-line interface for dayplan.
|
Package cli provides the command-line interface for dayplan. |
|
Package edit implements generic interfaces for editing of objects (by the user).
|
Package edit implements generic interfaces for editing of objects (by the user). |
|
editors
Package editors contains the editors for the different data types.
|
Package editors contains the editors for the different data types. |
Click to show internal directories.
Click to hide internal directories.