tiny.wayland.protocol.core.wl_output.enumerations
Defined in protocol.core.wl_output.
API (4)
Values and defaults
Public values and defaults.
Source
Source: lib/wayland/src/protocol/generated/core.zig:2301
zig
pub const enumerations = struct { pub const subpixel: schema.Enumeration = .{ .name = "subpixel", .since = 1, .bitfield = false, .entries = &.{ .{ .name = "unknown", .value = 0, .since = 1, .deprecated_since = null }, .{ .name = "none", .value = 1, .since = 1, .deprecated_since = null }, .{ .name = "horizontal_rgb", .value = 2, .since = 1, .deprecated_since = null }, .{ .name = "horizontal_bgr", .value = 3, .since = 1, .deprecated_since = null }, .{ .name = "vertical_rgb", .value = 4, .since = 1, .deprecated_since = null }, .{ .name = "vertical_bgr", .value = 5, .since = 1, .deprecated_since = null }, }, }; pub const transform: schema.Enumeration = .{ .name = "transform", .since = 1, .bitfield = false, .entries = &.{ .{ .name = "normal", .value = 0, .since = 1, .deprecated_since = null }, .{ .name = "90", .value = 1, .since = 1, .deprecated_since = null }, .{ .name = "180", .value = 2, .since = 1, .deprecated_since = null }, .{ .name = "270", .value = 3, .since = 1, .deprecated_since = null }, .{ .name = "flipped", .value = 4, .since = 1, .deprecated_since = null }, .{ .name = "flipped_90", .value = 5, .since = 1, .deprecated_since = null }, .{ .name = "flipped_180", .value = 6, .since = 1, .deprecated_since = null }, .{ .name = "flipped_270", .value = 7, .since = 1, .deprecated_since = null }, }, }; pub const mode: schema.Enumeration = .{ .name = "mode", .since = 1, .bitfield = true, .entries = &.{ .{ .name = "current", .value = 1, .since = 1, .deprecated_since = null }, .{ .name = "preferred", .value = 2, .since = 1, .deprecated_since = null }, }, }; pub const all = [_]schema.Enumeration{ subpixel, transform, mode }; };Also reachable as
protocol.generated.core.wl_output.enumerations.
Audit
| Definitions | 5 |
|---|---|
| Public names | 10 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |