widget

package
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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TTextWidget

type TTextWidget struct {
	TWidget
	// contains filtered or unexported fields
}

TTextWidget -

func NewTextWidget

func NewTextWidget() *TTextWidget

NewTextWidget -

func (*TTextWidget) AddPos

func (o *TTextWidget) AddPos(x, y int) *TTextWidget

AddPos -

func (*TTextWidget) Bounds

func (o *TTextWidget) Bounds() *types.TRect

Bounds -

func (*TTextWidget) Children

func (o *TTextWidget) Children() []interface{}

Children -

func (*TTextWidget) Draw

func (o *TTextWidget) Draw()

Draw -

func (*TTextWidget) SetColor

func (o *TTextWidget) SetColor(r, g, b, a int) *TTextWidget

SetColor -

func (*TTextWidget) SetPos

func (o *TTextWidget) SetPos(x, y int) *TTextWidget

SetPos -

func (*TTextWidget) SetSize

func (o *TTextWidget) SetSize(w, h int) *TTextWidget

SetSize -

func (*TTextWidget) SetText

func (o *TTextWidget) SetText(s string) *TTextWidget

SetText -

type TWidget

type TWidget struct {
	hal.TWidgetKernel
	// contains filtered or unexported fields
}

TWidget -

func NewWidget

func NewWidget() *TWidget

NewWidget -

func (*TWidget) AddChild

func (o *TWidget) AddChild(v ...interfaces.IWidgetKernel)

AddChild -

func (*TWidget) AddPos

func (o *TWidget) AddPos(x, y int) *TWidget

AddPos -

func (*TWidget) Bounds

func (o *TWidget) Bounds() *types.TRect

Bounds -

func (*TWidget) Children

func (o *TWidget) Children() []interfaces.IWidgetKernel

Children -

func (*TWidget) ClientRect

func (o *TWidget) ClientRect() *types.TRect

ClientRect -

func (*TWidget) Draw

func (o *TWidget) Draw()

Draw -

func (*TWidget) SetColor

func (o *TWidget) SetColor(r, g, b, a int) *TWidget

SetColor -

func (*TWidget) SetName

func (o *TWidget) SetName(s string) *TWidget

SetName -

func (*TWidget) SetPos

func (o *TWidget) SetPos(x, y int) *TWidget

SetPos -

func (*TWidget) SetSize

func (o *TWidget) SetSize(w, h int) *TWidget

SetSize -

Jump to

Keyboard shortcuts

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