Documentation
¶
Index ¶
- func RGB565ToRGBA(c uint16) color.RGBA
- func RGBATo565(c color.RGBA) uint16
- type Device
- func (d *Device) Display() error
- func (d *Device) DrawRGBBitmap8(x, y int16, data []uint8, w, h int16) error
- func (d *Device) DumpPressedKeys()
- func (d *Device) FillRectangle(x, y, width, height int16, c color.Color) error
- func (d *Device) FillScreen(c color.Color)
- func (d *Device) SetPixel(x, y int16, c color.Color)
- func (d *Device) ShowAndRun()
- func (d *Device) Size() (x, y int16)
- func (d *Device) Update() error
- type Server
- func (s *Server) Display(args, ret *defines.NotImpl) error
- func (s *Server) DrawRGBBitmap8(args *defines.DrawRGBBitmap8Args, ret *defines.NotImpl) error
- func (s *Server) FillRectangle(args *defines.FillRectangleArgs, ret *defines.NotImpl) error
- func (s *Server) FillScreen(args *defines.FillScreenArgs, ret *defines.NotImpl) error
- func (s *Server) GetPressedKeys(args *defines.NotImpl, ret *defines.GetPressedKeysRetval) error
- func (s *Server) ReadTouchPoint(args *defines.NotImpl, ret *touch.Point) error
- func (s *Server) SetPixel(args *defines.SetPixelArgs, ret *defines.NotImpl) error
- func (s *Server) ShowAndRun(args, ret *defines.NotImpl) error
- func (s *Server) Size(args *defines.NotImpl, ret *defines.SizeRetval) error
- func (s *Server) Update(args *defines.UpdateArgs, ret *defines.NotImpl) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RGB565ToRGBA ¶
Types ¶
type Device ¶
type Device struct { Width int Height int KeysPressed map[fyne.KeyName]bool TouchPoint touch.Point DragInProgress bool // contains filtered or unexported fields }
func (*Device) DrawRGBBitmap8 ¶
func (*Device) DumpPressedKeys ¶
func (d *Device) DumpPressedKeys()
func (*Device) FillRectangle ¶
func (*Device) FillScreen ¶
func (*Device) ShowAndRun ¶
func (d *Device) ShowAndRun()
type Server ¶
type Server struct {
Device *Device
}
func (*Server) DrawRGBBitmap8 ¶
func (*Server) FillRectangle ¶
func (*Server) FillScreen ¶
func (*Server) GetPressedKeys ¶
func (*Server) ReadTouchPoint ¶
Click to show internal directories.
Click to hide internal directories.