Documentation ¶
Index ¶
- type ChildrenContainer
- func (childrenContainer *ChildrenContainer) AddChild(drawable Drawable)
- func (childrenContainer *ChildrenContainer) ChildByIndex(index int) Drawable
- func (childrenContainer *ChildrenContainer) ClearChildren()
- func (childrenContainer *ChildrenContainer) IndexOfChild(drawable Drawable) int
- func (childrenContainer *ChildrenContainer) Render(ctx *nk.Context)
- type Drawable
- type Fridge
- type Label
- type RecursiveDrawable
- type Window
- func (window *Window) AddChild(drawable Drawable)
- func (window *Window) ChildByIndex(index int) Drawable
- func (window *Window) ClearChildren()
- func (window Window) Identifier() string
- func (window *Window) IndexOfChild(drawable Drawable) int
- func (window Window) Position() (x float32, y float32)
- func (window *Window) Render(ctx *nk.Context)
- func (window *Window) SetPosition(x, y float32)
- func (window *Window) SetSize(w, h float32)
- func (window Window) Size() (w float32, h float32)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChildrenContainer ¶
type ChildrenContainer struct {
// contains filtered or unexported fields
}
func (*ChildrenContainer) AddChild ¶
func (childrenContainer *ChildrenContainer) AddChild(drawable Drawable)
func (*ChildrenContainer) ChildByIndex ¶
func (childrenContainer *ChildrenContainer) ChildByIndex(index int) Drawable
func (*ChildrenContainer) ClearChildren ¶
func (childrenContainer *ChildrenContainer) ClearChildren()
func (*ChildrenContainer) IndexOfChild ¶
func (childrenContainer *ChildrenContainer) IndexOfChild(drawable Drawable) int
func (*ChildrenContainer) Render ¶
func (childrenContainer *ChildrenContainer) Render(ctx *nk.Context)
type Fridge ¶
type Fridge struct {
// contains filtered or unexported fields
}
func (*Fridge) IndexOfWindow ¶
func (*Fridge) WindowByIndex ¶
type Label ¶
type Label struct {
// contains filtered or unexported fields
}
func NewLabelAsChild ¶
func NewLabelAsChild(parent RecursiveDrawable, content string, alignment nk.Flags) *Label
func (*Label) SetContent ¶
type RecursiveDrawable ¶
type Window ¶
type Window struct {
// contains filtered or unexported fields
}
func (*Window) ChildByIndex ¶
func (*Window) ClearChildren ¶
func (window *Window) ClearChildren()
func (Window) Identifier ¶
func (*Window) IndexOfChild ¶
func (*Window) SetPosition ¶
Click to show internal directories.
Click to hide internal directories.