system

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: MIT, Unlicense Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action uint
const (
	ActionMinimize Action = 1 << iota

	ActionMaximize

	ActionUnmaximize

	ActionFullscreen

	ActionRaise

	ActionCenter

	ActionClose

	ActionMove
)

func (Action) String

func (a Action) String() string

type ActionInputOp

type ActionInputOp Action

func (ActionInputOp) Add

func (op ActionInputOp) Add(o *op.Ops)

type Locale

type Locale struct {
	Language string

	Direction TextDirection
}

type TextAxis

type TextAxis byte
const (
	Horizontal TextAxis = iota

	Vertical
)

type TextDirection

type TextDirection byte
const (
	LTR TextDirection = TextDirection(Horizontal<<axisShift) | TextDirection(FromOrigin<<progressionShift)

	RTL TextDirection = TextDirection(Horizontal<<axisShift) | TextDirection(TowardOrigin<<progressionShift)
)

func (TextDirection) Axis

func (d TextDirection) Axis() TextAxis

func (TextDirection) Progression

func (d TextDirection) Progression() TextProgression

func (TextDirection) String

func (d TextDirection) String() string

type TextProgression

type TextProgression byte
const (
	FromOrigin TextProgression = iota

	TowardOrigin
)

Jump to

Keyboard shortcuts

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