rendererwebkit

package
v0.0.0-...-3acb8d6 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: GPL-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentRenderer

func CurrentRenderer() (*webkitRender, bool)

func Initialise

func Initialise() (types.Renderer, *types.XY)

Types

type DrawCommand

type DrawCommand struct {
	Op         DrawOp
	Flags      int32
	X          int32
	Y          int32
	Height     int32
	EndX       int32
	Char       string
	Fg         *types.Colour
	Bg         *types.Colour
	Width      int32
	Value      int32
	Max        int32
	Folded     bool
	Alpha      uint8
	ImageID    int64
	SrcWidth   int32
	SrcHeight  int32
	SrcScaleX  float64
	SrcScaleY  float64
	Boundaries []int32
	UlC        *types.Colour
}

type DrawOp

type DrawOp string
const (
	DrawOpFrame       DrawOp = "frame"
	DrawOpCell        DrawOp = "cell"
	DrawOpImage       DrawOp = "image"
	DrawOpGaugeH      DrawOp = "gauge_h"
	DrawOpGaugeV      DrawOp = "gauge_v"
	DrawOpBlockChrome DrawOp = "block_chrome"
	DrawOpHighlight   DrawOp = "highlight_rect"
	DrawOpRectColour  DrawOp = "rect_colour"
	DrawOpTileOverlay DrawOp = "tile_overlay"
	DrawOpTable       DrawOp = "table"
)

type DrawOpTuple

type DrawOpTuple []any

Jump to

Keyboard shortcuts

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