Documentation
¶
Index ¶
- type ElementCodeBlock
- func (el *ElementCodeBlock) Draw(pos *types.XY)
- func (el *ElementCodeBlock) Generate(apc *types.ApcSlice) error
- func (el *ElementCodeBlock) MouseClick(_ *types.XY, button types.MouseButtonT, _ uint8, state types.ButtonStateT, ...)
- func (el *ElementCodeBlock) MouseHover(_ *types.XY, _ *types.XY) func()
- func (el *ElementCodeBlock) MouseMotion(_ *types.XY, _ *types.XY, callback types.EventIgnoredCallback)
- func (el *ElementCodeBlock) MouseOut()
- func (el *ElementCodeBlock) MouseWheel(_ *types.XY, _ *types.XY, callback types.EventIgnoredCallback)
- func (el *ElementCodeBlock) Rune(pos *types.XY) rune
- func (el *ElementCodeBlock) Size() *types.XY
- func (el *ElementCodeBlock) Write(r rune) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElementCodeBlock ¶
type ElementCodeBlock struct {
// contains filtered or unexported fields
}
func (*ElementCodeBlock) Draw ¶
func (el *ElementCodeBlock) Draw(pos *types.XY)
Draw: size: optional. Defaults to element size pos: required. Position to draw element
func (*ElementCodeBlock) MouseClick ¶
func (el *ElementCodeBlock) MouseClick(_ *types.XY, button types.MouseButtonT, _ uint8, state types.ButtonStateT, callback types.EventIgnoredCallback)
func (*ElementCodeBlock) MouseHover ¶
func (el *ElementCodeBlock) MouseHover(_ *types.XY, _ *types.XY) func()
func (*ElementCodeBlock) MouseMotion ¶
func (el *ElementCodeBlock) MouseMotion(_ *types.XY, _ *types.XY, callback types.EventIgnoredCallback)
func (*ElementCodeBlock) MouseOut ¶
func (el *ElementCodeBlock) MouseOut()
func (*ElementCodeBlock) MouseWheel ¶
func (el *ElementCodeBlock) MouseWheel(_ *types.XY, _ *types.XY, callback types.EventIgnoredCallback)
func (*ElementCodeBlock) Size ¶
func (el *ElementCodeBlock) Size() *types.XY
func (*ElementCodeBlock) Write ¶
func (el *ElementCodeBlock) Write(r rune) error
Click to show internal directories.
Click to hide internal directories.