Documentation
¶
Index ¶
- func InitFonts()
- func New() (hal.IHal, error)
- func ShowCursor(id int)
- type IAddChild
- type IBounds
- type IChildren
- type IClientRect
- type IDraw
- type TCursor
- type THal
- type TScreen
- func (o *TScreen) AddChild(children ...interfaces.IWidgetKernel)
- func (o *TScreen) Clear()
- func (o *TScreen) Close()
- func (o *TScreen) Draw()
- func (o *TScreen) DrawLine(x1, y1, x2, y2 int)
- func (o *TScreen) DrawRect(x1, y1, w, h int)
- func (o *TScreen) DrawText(s string, x, y int)
- func (o *TScreen) FillRect(x1, y1, w, h int)
- func (o *TScreen) FindWidget(x, y int) (interfaces.IWidgetKernel, int, int)
- func (o *TScreen) Flush()
- func (o *TScreen) Font() *ttf.Font
- func (o *TScreen) GetZeroPoint() (x, y int)
- func (o *TScreen) MoveZeroPoint(x, y int)
- func (o *TScreen) NeedUpdate() bool
- func (o *TScreen) OldSize() (int, int)
- func (o *TScreen) PostUpdate()
- func (o *TScreen) Remove(v interfaces.IWidgetKernel)
- func (o *TScreen) ResetUpdate()
- func (o *TScreen) SetClipRect(rect *types.TRect) error
- func (o *TScreen) SetDrawColor(r, g, b, a int)
- func (o *TScreen) SetFillColor(r, g, b, a int)
- func (o *TScreen) SetFont(font *ttf.Font)
- func (o *TScreen) SetZeroPoint(x, y int)
- func (o *TScreen) Size() (int, int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TScreen ¶
type TScreen struct { hal.TWidgetKernel // contains filtered or unexported fields }
TScreen -
func (*TScreen) AddChild ¶
func (o *TScreen) AddChild(children ...interfaces.IWidgetKernel)
AddChild -
func (*TScreen) FindWidget ¶
func (o *TScreen) FindWidget(x, y int) (interfaces.IWidgetKernel, int, int)
FindWidget -