types

package
v0.0.0-...-831e56b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientCutText

type ClientCutText struct {
	Length uint32
	Text   []uint8
}

ClientCutText is a message signaling that the client has new text in its cut buffer.

type FrameBufferRectangle

type FrameBufferRectangle struct {
	X, Y          uint16
	Width, Height uint16
	EncType       int32
}

FrameBufferRectangle represents a frame buffer rectangle.

type FrameBufferUpdateRequest

type FrameBufferUpdateRequest struct {
	IncrementalFlag     uint8
	X, Y, Width, Height uint16
}

FrameBufferUpdateRequest represents a request to update the frame buffer.

func (*FrameBufferUpdateRequest) Incremental

func (r *FrameBufferUpdateRequest) Incremental() bool

Incremental returns true if the incremental flag is set on this request.

type KeyEvent

type KeyEvent struct {
	DownFlag uint8
	Key      uint32
}

KeyEvent represents an RFB key event.

func (*KeyEvent) IsDown

func (k *KeyEvent) IsDown() bool

IsDown returns true if the event is a down event.

type PixelFormat

type PixelFormat struct {
	BPP, Depth                      uint8
	BigEndian, TrueColour           uint8 // flags; 0 or non-zero
	RedMax, GreenMax, BlueMax       uint16
	RedShift, GreenShift, BlueShift uint8
}

PixelFormat represents the current pixel format for a display.

func (*PixelFormat) IsScreensThousands

func (f *PixelFormat) IsScreensThousands() bool

IsScreensThousands returns if the format requested by the OS X "Screens" app's "Thousands" mode.

type PointerEvent

type PointerEvent struct {
	ButtonMask uint8
	X, Y       uint16
}

PointerEvent represents an RFB pointer event.

type TightCapability

type TightCapability struct {
	Code              int32
	Vendor, Signature string
}

TightCapability represents a TightSecurity capability.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL