Documentation ¶
Index ¶
- Constants
- type CommandEvent
- type HeaderLine
- type ImageFrame
- type Line
- type LinkEvent
- type LinkLine
- type LoadedEvent
- type ParaLine
- type PointLine
- type PreformattedLine
- type QuoteLine
- type ResolveLabelEvent
- type SuperTxtFrame
- type SvgBobFrame
- type SvgFrame
- type TableFrame
- type Theme
- type TxtFrame
- type Viewer
Constants ¶
View Source
const BINARY_DATA_MSG = `` /* 606-byte string literal not displayed */
View Source
const OSM_URL_PREFIX = "https://nominatim.openstreetmap.org"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeaderLine ¶
func HeaderLineInit ¶
func HeaderLineInit(tkn parse.Token, th *Theme) *HeaderLine
func (*HeaderLine) Layout ¶
func (h *HeaderLine) Layout(gtx layout.Context, peek Line) layout.Dimensions
type ImageFrame ¶
type ImageFrame struct {
// contains filtered or unexported fields
}
func (*ImageFrame) Events ¶
func (imgf *ImageFrame) Events() []interface{}
func (*ImageFrame) Find ¶
func (imgf *ImageFrame) Find(anchor string) error
func (*ImageFrame) IsEmpty ¶
func (imgf *ImageFrame) IsEmpty() bool
func (*ImageFrame) Layout ¶
func (imgf *ImageFrame) Layout(gtx layout.Context) layout.Dimensions
func (*ImageFrame) Title ¶ added in v0.2.0
func (imgf *ImageFrame) Title() string
type Line ¶
type PreformattedLine ¶
func PreformattedLineInit ¶
func PreformattedLineInit(tkn parse.Token, st *SuperTxtFrame, th *Theme, w *app.Window) *PreformattedLine
func (*PreformattedLine) Layout ¶
func (p *PreformattedLine) Layout(gtx layout.Context, peek Line) layout.Dimensions
type ResolveLabelEvent ¶ added in v0.2.3
type ResolveLabelEvent struct {
// contains filtered or unexported fields
}
type SuperTxtFrame ¶
type SuperTxtFrame struct {
// contains filtered or unexported fields
}
func NewSuperTxtFrame ¶
func (*SuperTxtFrame) Events ¶
func (f *SuperTxtFrame) Events() []interface{}
func (*SuperTxtFrame) Find ¶
func (f *SuperTxtFrame) Find(anchor string) error
func (*SuperTxtFrame) IsEmpty ¶
func (f *SuperTxtFrame) IsEmpty() bool
func (*SuperTxtFrame) Layout ¶
func (f *SuperTxtFrame) Layout(gtx layout.Context) layout.Dimensions
func (*SuperTxtFrame) Title ¶ added in v0.2.0
func (f *SuperTxtFrame) Title() string
type SvgBobFrame ¶ added in v0.2.0
type SvgBobFrame struct {
// contains filtered or unexported fields
}
func NewSvgBobFrame ¶ added in v0.2.0
func (*SvgBobFrame) Events ¶ added in v0.2.0
func (df *SvgBobFrame) Events() []interface{}
func (*SvgBobFrame) Find ¶ added in v0.2.0
func (df *SvgBobFrame) Find(anchor string) error
func (*SvgBobFrame) IsEmpty ¶ added in v0.2.0
func (df *SvgBobFrame) IsEmpty() bool
func (*SvgBobFrame) Layout ¶ added in v0.2.0
func (df *SvgBobFrame) Layout(gtx layout.Context) layout.Dimensions
func (*SvgBobFrame) Title ¶ added in v0.2.0
func (df *SvgBobFrame) Title() string
type SvgFrame ¶ added in v0.2.0
type SvgFrame struct {
// contains filtered or unexported fields
}
func NewSvgFrame ¶ added in v0.2.0
type TableFrame ¶ added in v0.2.3
type TableFrame struct {
// contains filtered or unexported fields
}
func NewLTSVFrame ¶ added in v0.2.3
func NewSWVFrame ¶ added in v0.2.3
func (*TableFrame) Events ¶ added in v0.2.3
func (f *TableFrame) Events() []interface{}
func (*TableFrame) Find ¶ added in v0.2.3
func (f *TableFrame) Find(anchor string) error
func (*TableFrame) IsEmpty ¶ added in v0.2.3
func (f *TableFrame) IsEmpty() bool
func (*TableFrame) Layout ¶ added in v0.2.3
func (f *TableFrame) Layout(gtx layout.Context) layout.Dimensions
func (*TableFrame) Title ¶ added in v0.2.3
func (f *TableFrame) Title() string
type Theme ¶
Click to show internal directories.
Click to hide internal directories.