Documentation
¶
Index ¶
- Constants
- func Create(conn *x.Conn, damage Damage, drawable x.Drawable, level uint8)
- func CreateChecked(conn *x.Conn, damage Damage, drawable x.Drawable, level uint8) x.VoidCookie
- func Destroy(conn *x.Conn, damage Damage)
- func DestroyChecked(conn *x.Conn, damage Damage) x.VoidCookie
- func Ext() *x.Extension
- type Damage
- type NotifyEvent
- type QueryVersionCookie
- type QueryVersionReply
Constants ¶
View Source
const ( ReportLevelRawRectangles = 0 ReportLevelDeltaRectangles = 1 ReportLevelBoundingBox = 2 ReportLevelNonEmpty = 3 )
enum ReportLevel
View Source
const AddOpcode = 4
View Source
const BadDamageErrorCode = 0
View Source
const CreateOpcode = 1
View Source
const DestroyOpcode = 2
View Source
const MajorVersion = 1
_ns.ext_name: Damage
View Source
const MinorVersion = 1
View Source
const NotifyEventCode = 0
View Source
const QueryVersionOpcode = 0
View Source
const SubtractOpcode = 3
Variables ¶
This section is empty.
Functions ¶
func CreateChecked ¶
func DestroyChecked ¶
func DestroyChecked(conn *x.Conn, damage Damage) x.VoidCookie
Types ¶
type NotifyEvent ¶
type NotifyEvent struct { Level uint8 Sequence uint16 Drawable x.Drawable Damage Damage Timestamp x.Timestamp Area x.Rectangle Geometry x.Rectangle }
func NewNotifyEvent ¶
func NewNotifyEvent(data []byte) (*NotifyEvent, error)
type QueryVersionCookie ¶
func QueryVersion ¶
func QueryVersion(conn *x.Conn, majorVersion, minorVersion uint32) QueryVersionCookie
func (QueryVersionCookie) Reply ¶
func (cookie QueryVersionCookie) Reply(conn *x.Conn) (*QueryVersionReply, error)
type QueryVersionReply ¶
Click to show internal directories.
Click to hide internal directories.