Documentation
¶
Index ¶
- type Backend
- func (b *Backend) Buffer() *graphics.Buffer
- func (b *Backend) Close() error
- func (b *Backend) Flush() error
- func (b *Backend) FlushRect(r graphics.Rect) error
- func (b *Backend) HasSystemCursor() bool
- func (b *Backend) Info() string
- func (b *Backend) MousePosition() (int, int)
- func (b *Backend) Open() error
- func (b *Backend) Poll() *graphics.Event
- func (b *Backend) SetScreenSize(_, _ int)
- func (b *Backend) SetTitle(title string)
- func (b *Backend) Size() (int, int)
- func (b *Backend) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
Backend implements graphics.Backend and graphics.InputHandler for Wayland.
func (*Backend) HasSystemCursor ¶
HasSystemCursor returns true since Wayland compositors provide cursors.
func (*Backend) MousePosition ¶
MousePosition returns the last known mouse position.
func (*Backend) SetScreenSize ¶
SetScreenSize is a no-op for Wayland (window-based, not screen-based).
Click to show internal directories.
Click to hide internal directories.