alphamodifier

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: MIT, MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WpAlphaModifierSurfaceV1Interface = &wire.Interface{
	Name:    "wp_alpha_modifier_surface_v1",
	Version: 1,
	Requests: []wire.MessageSpec{
		{Name: "destroy", Since: 1, Destructor: true},
		{Name: "set_multiplier", Since: 1, Args: []wire.Arg{{Name: "factor", Type: wire.ArgUint}}},
	},
}
View Source
var WpAlphaModifierV1Interface = &wire.Interface{
	Name:    "wp_alpha_modifier_v1",
	Version: 1,
	Requests: []wire.MessageSpec{
		{Name: "destroy", Since: 1, Destructor: true},
		{Name: "get_surface", Since: 1, Args: []wire.Arg{{Name: "id", Type: wire.ArgNewID, Interface: "wp_alpha_modifier_surface_v1"}, {Name: "surface", Type: wire.ArgObject, Interface: "wl_surface"}}},
	},
}

Functions

This section is empty.

Types

type WpAlphaModifierSurfaceV1

type WpAlphaModifierSurfaceV1 struct {
	// contains filtered or unexported fields
}

func (*WpAlphaModifierSurfaceV1) Base

func (obj *WpAlphaModifierSurfaceV1) Base() *wire.Object

func (*WpAlphaModifierSurfaceV1) Dispatch

func (obj *WpAlphaModifierSurfaceV1) Dispatch(msg *wire.Message) error

func (*WpAlphaModifierSurfaceV1) Handler

func (*WpAlphaModifierSurfaceV1) ProtocolError

func (obj *WpAlphaModifierSurfaceV1) ProtocolError(code WpAlphaModifierSurfaceV1Error, format string, args ...any) error

type WpAlphaModifierSurfaceV1Error

type WpAlphaModifierSurfaceV1Error uint32
const (
	WpAlphaModifierSurfaceV1ErrorNoSurface WpAlphaModifierSurfaceV1Error = 0
)

func (WpAlphaModifierSurfaceV1Error) Valid

func (v WpAlphaModifierSurfaceV1Error) Valid(version uint32) bool

type WpAlphaModifierSurfaceV1Handler

type WpAlphaModifierSurfaceV1Handler interface {
	Destroy(obj *WpAlphaModifierSurfaceV1) error
	SetMultiplier(obj *WpAlphaModifierSurfaceV1, factor uint32) error
}

type WpAlphaModifierV1

type WpAlphaModifierV1 struct {
	// contains filtered or unexported fields
}

func CreateWpAlphaModifierV1

func CreateWpAlphaModifierV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*WpAlphaModifierV1) (WpAlphaModifierV1Handler, error)) (*WpAlphaModifierV1, error)

func NewWpAlphaModifierV1

func NewWpAlphaModifierV1(p wire.Peer, id wire.ObjectID, version uint32, h WpAlphaModifierV1Handler) (*WpAlphaModifierV1, error)

func (*WpAlphaModifierV1) Base

func (obj *WpAlphaModifierV1) Base() *wire.Object

func (*WpAlphaModifierV1) Dispatch

func (obj *WpAlphaModifierV1) Dispatch(msg *wire.Message) error

func (*WpAlphaModifierV1) Handler

func (*WpAlphaModifierV1) ProtocolError

func (obj *WpAlphaModifierV1) ProtocolError(code WpAlphaModifierV1Error, format string, args ...any) error

type WpAlphaModifierV1Error

type WpAlphaModifierV1Error uint32
const (
	WpAlphaModifierV1ErrorAlreadyConstructed WpAlphaModifierV1Error = 0
)

func (WpAlphaModifierV1Error) Valid

func (v WpAlphaModifierV1Error) Valid(version uint32) bool

type WpAlphaModifierV1Handler

type WpAlphaModifierV1Handler interface {
	Destroy(obj *WpAlphaModifierV1) error
	GetSurface(obj *WpAlphaModifierV1, id *WpAlphaModifierSurfaceV1, surface *wayland.WlSurface) (WpAlphaModifierSurfaceV1Handler, error)
}

Jump to

Keyboard shortcuts

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