ezio

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2025 License: AGPL-3.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

View Source
const (
	Horizontal layout.Axis = iota
	Vertical
)

Re-defined from layout.Axis lib

View Source
const (
	Start layout.Alignment = iota
	End
	Middle
	Baseline
)

Re-defined from layout.Alignment lib

View Source
const (
	// SpaceEnd leaves space at the end.
	SpaceEnd layout.Spacing = iota
	// SpaceStart leaves space at the start.
	SpaceStart
	// SpaceSides shares space between the start and end.
	SpaceSides
	// SpaceAround distributes space evenly between children,
	// with half as much space at the start and end.
	SpaceAround
	// SpaceBetween distributes space evenly between children,
	// leaving no space at the start and end.
	SpaceBetween
	// SpaceEvenly distributes space evenly between children and
	// at the start and end.
	SpaceEvenly
)

Re-defined from layout.Spacing lib

Variables

View Source
var (
	Red    = colors.Red
	Green  = colors.Green
	Blue   = colors.Blue
	Yellow = colors.Yellow
	White  = colors.White
	Black  = colors.Black
	Gray   = colors.Gray
	Orange = colors.Orange
	Purple = colors.Purple

	LightRed    = colors.LightRed
	LightGreen  = colors.LightGreen
	LightBlue   = colors.LightBlue
	LightYellow = colors.LightYellow
	LightWhite  = colors.LightWhite
	LightBlack  = colors.LightBlack
	LightGray   = colors.LightGray
	LightOrange = colors.LightOrange
	LightPurple = colors.LightPurple
	LightPink   = colors.LightPink
)

--- Colors ---

View Source
var (
	NW     = layout.NW
	N      = layout.N
	NE     = layout.NE
	E      = layout.E
	SE     = layout.SE
	S      = layout.S
	SW     = layout.SW
	W      = layout.W
	Center = layout.Center
)
View Source
var (
	FlexBox   = flex.FlexBox
	FlexChild = flex.FlexChild
)
View Source
var (
	StackBox      = layouts.StackBox
	StackedChild  = layouts.StackedChild
	ExpandedChild = layouts.ExpandedChild
)
View Source
var (
	ListBox   = layouts.ListBox
	ListChild = layouts.ListChild
)
View Source
var (
	Align = layouts.Align
)
View Source
var BackgroundBox = layouts.BackgroundBox

Re-export Background layout

View Source
var BackgroundStackBox = layouts.BackgroundStackBox
View Source
var ContextMenu = components.ContextMenu
View Source
var (
	DarkBackground = colors.DarkBackground
)
View Source
var LoadImageHelper = components.LoadImageHelper
View Source
var Margin = layouts.Margin

Functions

This section is empty.

Types

type AlignOpts

type AlignOpts = layouts.AlignOpts

Re-export: Direction layout

type ButtonOpts

type ButtonOpts = components.ButtonOpts

Re-export: Button component

type CircleOpts

type CircleOpts = components.CircleOpts

Re-export: Circle component

type ContextMenuOpts

type ContextMenuOpts = components.ContextMenuOpts

Re-export: ContextMenu component

type FlexBoxOpts

type FlexBoxOpts = flex.FlexBoxOpts

Re-export: Flex layout

type FlexChildOpts

type FlexChildOpts = flex.FlexChildOpts

Re-export: Flex layout

type InputOpts

type InputOpts = components.InputOpts

Re-export: Input component

type ListOpts

type ListOpts = layouts.ListOpts

Re-export: List layout

type MarginOpts

type MarginOpts = layouts.MarginOpts

Re-export: Margin layout

type RectOpts

type RectOpts = components.RectOpts

Re-export: Rect component

type SpanStyle

type SpanStyle = richtext.SpanStyle

type StackBoxOpts

type StackBoxOpts = layouts.StackBoxOpts

Re-export Stack layout

type TextOpts

type TextOpts = components.TextOpts

Re-export: Text component

Directories

Path Synopsis
flex
File: ezio/layouts/flex/flex.go
File: ezio/layouts/flex/flex.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL