Documentation
¶
Index ¶
- type Layout
- func (l Layout) BodyHeight() int
- func (l Layout) CardBorderX() int
- func (l Layout) CardBorderY() int
- func (l Layout) CenterContent(content string) string
- func (l Layout) ContentPaddingX() int
- func (l Layout) ContentPaddingY() int
- func (l Layout) ContentWidth() int
- func (l Layout) EditorPaneWidth() int
- func (l Layout) FormWidth() int
- func (l Layout) Frame(content, help string) string
- func (l Layout) FrameHeight() int
- func (l Layout) FrameWidth() int
- func (l Layout) PaneBoxHeight(totalHeight int) int
- func (l Layout) PaneContentHeight(totalHeight int) int
- func (l Layout) PaneContentWidth(totalWidth int) int
- func (l Layout) PaneHeader(title string, paneWidth int) string
- func (l Layout) PrimaryPaneWidth() int
- func (l Layout) SinglePane(content string) string
- func (l Layout) SinglePaneWithWidth(content string, totalWidth int) string
- func (l Layout) SplitPaneContentWidths(leftRatio float64) (int, int)
- func (l Layout) SplitPaneContentWidthsForTotal(totalWidth int, leftRatio float64) (int, int)
- func (l Layout) TitledPane(title, content string) string
- func (l Layout) TitledPaneWithWidth(title, content string, totalWidth int) string
- func (l Layout) TitledPaneWithWidthAndHeight(title, content string, totalWidth, totalHeight int) string
- func (l Layout) TwoPane(left, right string) string
- func (l Layout) TwoPaneWithRatio(left, right string, leftRatio float64) string
- func (l Layout) TwoPaneWithRatioAndTitles(leftTitle, rightTitle, left, right string, leftRatio float64) string
- func (l Layout) TwoPaneWithRatioAndTitlesAndWidth(leftTitle, rightTitle, left, right string, leftRatio float64, totalWidth int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Layout ¶
func (Layout) BodyHeight ¶
func (Layout) CardBorderX ¶
func (Layout) CardBorderY ¶
func (Layout) CenterContent ¶
func (Layout) ContentPaddingX ¶
func (Layout) ContentPaddingY ¶
func (Layout) ContentWidth ¶
func (Layout) EditorPaneWidth ¶
func (Layout) FrameHeight ¶
func (Layout) FrameWidth ¶
func (Layout) PaneBoxHeight ¶
func (Layout) PaneContentHeight ¶
func (Layout) PaneContentWidth ¶
func (Layout) PrimaryPaneWidth ¶
func (Layout) SinglePane ¶
func (Layout) SinglePaneWithWidth ¶
func (Layout) SplitPaneContentWidths ¶
func (Layout) SplitPaneContentWidthsForTotal ¶
func (Layout) TitledPane ¶
func (Layout) TitledPaneWithWidth ¶
func (Layout) TitledPaneWithWidthAndHeight ¶
func (Layout) TwoPaneWithRatio ¶
func (Layout) TwoPaneWithRatioAndTitles ¶
Click to show internal directories.
Click to hide internal directories.