Documentation ¶
Index ¶
- type Empty
- func (e *Empty) Draw(x, y, w, h int32)
- func (e *Empty) SetCharCallback(r rune)
- func (e *Empty) SetCursorPosCallback(xpos float64, ypos float64)
- func (e *Empty) SetKeyCallback(key glfw.Key, scancode int, action glfw.Action, mods glfw.ModifierKey)
- func (e *Empty) SetMouseButtonCallback(button glfw.MouseButton, action glfw.Action, mods glfw.ModifierKey, ...)
- func (e *Empty) SetScrollCallback(xcursor, ycursor float64, xoffset, yoffset float64)
- type Tui
- func (t *Tui) Draw(x, y, w, h int32)
- func (t *Tui) DrawText(cell vl.Cell, x, y, h int)
- func (t *Tui) SetCharCallback(r rune)
- func (t *Tui) SetCursorPosCallback(xpos float64, ypos float64)
- func (t *Tui) SetFont(f *glsymbol.Font)
- func (t *Tui) SetKeyCallback(key glfw.Key, scancode int, action glfw.Action, mods glfw.ModifierKey)
- func (t *Tui) SetMouseButtonCallback(button glfw.MouseButton, action glfw.Action, mods glfw.ModifierKey, ...)
- func (t *Tui) SetScrollCallback(xcursor, ycursor float64, xoffset, yoffset float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Empty ¶
type Empty struct{}
func (*Empty) SetCharCallback ¶
func (*Empty) SetCursorPosCallback ¶
func (*Empty) SetKeyCallback ¶
func (*Empty) SetMouseButtonCallback ¶
func (e *Empty) SetMouseButtonCallback( button glfw.MouseButton, action glfw.Action, mods glfw.ModifierKey, xcursor, ycursor float64, )
func (*Empty) SetScrollCallback ¶
type Tui ¶
type Tui struct {
// contains filtered or unexported fields
}
func (*Tui) SetCharCallback ¶
func (*Tui) SetCursorPosCallback ¶
func (*Tui) SetKeyCallback ¶
func (*Tui) SetMouseButtonCallback ¶
func (t *Tui) SetMouseButtonCallback( button glfw.MouseButton, action glfw.Action, mods glfw.ModifierKey, xcursor, ycursor float64, )
func (*Tui) SetScrollCallback ¶
Click to show internal directories.
Click to hide internal directories.