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