hal

package
Version: v0.0.0-...-63eae10 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2018 License: LGPL-2.1 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToWidgetKernel

func ToWidgetKernel(slice []interface{}) []interfaces.IWidgetKernel

ToWidgetKernel -

Types

type ICursor

type ICursor interface {
}

ICursor -

type IHal

type IHal interface {
	Close()
	Draw()
	NewScreen() (interfaces.IScreen, error)
	Screen(id int) interfaces.IScreen
	Event() events.IEvent
}

IHal -

type TColor

type TColor struct {
	R, G, B, A int
}

TColor -

func NewColor

func NewColor(r, g, b, a int) *TColor

NewColor -

func NewEmptyColor

func NewEmptyColor() *TColor

NewEmptyColor -

func (*TColor) RGBA

func (o *TColor) RGBA() (r, g, b, a int)

RGBA -

func (*TColor) RGBA8

func (o *TColor) RGBA8() (r, g, b, a uint8)

RGBA8 -

func (*TColor) SetRGBA

func (o *TColor) SetRGBA(r, g, b, a int)

SetRGBA -

type TWidgetKernel

type TWidgetKernel struct {
	// contains filtered or unexported fields
}

TWidgetKernel -

func (*TWidgetKernel) InitWidgetKernel

func (o *TWidgetKernel) InitWidgetKernel()

InitWidgetKernel -

func (*TWidgetKernel) Parent

Parent -

func (*TWidgetKernel) Screen

func (o *TWidgetKernel) Screen() interfaces.IScreen

Screen -

func (*TWidgetKernel) SetParent

func (o *TWidgetKernel) SetParent(parent interfaces.IWidgetKernel)

SetParent -

func (*TWidgetKernel) SetScreen

func (o *TWidgetKernel) SetScreen(scr interfaces.IScreen)

SetScreen -

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL