Screen property types
Properties that are associated with Screen API objects
Synopsis:
#include <screen/screen.h>
enum { SCREEN_PROPERTY_ALPHA_MODE = 1, SCREEN_PROPERTY_GAMMA = 2, SCREEN_PROPERTY_BRIGHTNESS = 3, SCREEN_PROPERTY_BUFFER_COUNT = 4, SCREEN_PROPERTY_BUFFER_SIZE = 5, SCREEN_PROPERTY_BUTTONS = 6, SCREEN_PROPERTY_CLASS = 7, SCREEN_PROPERTY_COLOR_SPACE = 8, SCREEN_PROPERTY_CONTRAST = 9, SCREEN_PROPERTY_DEVICE = 10, SCREEN_PROPERTY_DISPLAY = 11, SCREEN_PROPERTY_EGL_HANDLE = 12, SCREEN_PROPERTY_FLIP = 13, SCREEN_PROPERTY_FORMAT = 14, SCREEN_PROPERTY_FRONT_BUFFER = 15, SCREEN_PROPERTY_GLOBAL_ALPHA = 16, SCREEN_PROPERTY_PIPELINE = 17, SCREEN_PROPERTY_GROUP = 18, SCREEN_PROPERTY_HUE = 19, SCREEN_PROPERTY_ID_STRING = 20, SCREEN_PROPERTY_INPUT_VALUE = 21, SCREEN_PROPERTY_INTERLACED = 22, SCREEN_PROPERTY_JOG_COUNT = 23, SCREEN_PROPERTY_KEY_CAP = 24, SCREEN_PROPERTY_FLAGS = 25, SCREEN_PROPERTY_MODIFIERS = 26, SCREEN_PROPERTY_SCAN = 27, SCREEN_PROPERTY_SYM = 28, SCREEN_PROPERTY_MIRROR = 29, SCREEN_PROPERTY_NAME = 30, SCREEN_PROPERTY_OWNER_PID = 31, SCREEN_PROPERTY_PHYSICALLY_CONTIGUOUS = 32, SCREEN_PROPERTY_PLANAR_OFFSETS = 33, SCREEN_PROPERTY_POINTER = 34, SCREEN_PROPERTY_POSITION = 35, SCREEN_PROPERTY_PROTECTED = 36, SCREEN_PROPERTY_RENDER_BUFFERS = 37, SCREEN_PROPERTY_ROTATION = 38, SCREEN_PROPERTY_SATURATION = 39, SCREEN_PROPERTY_SIZE = 40, SCREEN_PROPERTY_SOURCE_POSITION = 41, SCREEN_PROPERTY_SOURCE_SIZE = 42, SCREEN_PROPERTY_STATIC = 43, SCREEN_PROPERTY_STRIDE = 44, SCREEN_PROPERTY_SWAP_INTERVAL = 45, SCREEN_PROPERTY_TRANSPARENCY = 46, SCREEN_PROPERTY_TYPE = 47, SCREEN_PROPERTY_USAGE = 48, SCREEN_PROPERTY_USER_DATA = 49, SCREEN_PROPERTY_USER_HANDLE = 50, SCREEN_PROPERTY_VISIBLE = 51, SCREEN_PROPERTY_WINDOW = 52, SCREEN_PROPERTY_RENDER_BUFFER_COUNT = 53, SCREEN_PROPERTY_ZORDER = 54, SCREEN_PROPERTY_PHYSICAL_ADDRESS = 55, SCREEN_PROPERTY_SCALE_QUALITY = 56, SCREEN_PROPERTY_SENSITIVITY = 57, SCREEN_PROPERTY_SCALE_MODE = 58, SCREEN_PROPERTY_DISPLAY_COUNT = 59, SCREEN_PROPERTY_DISPLAYS = 60, SCREEN_PROPERTY_CBABC_MODE = 61, SCREEN_PROPERTY_FLOATING = 63, SCREEN_PROPERTY_ATTACHED = 64, SCREEN_PROPERTY_DETACHABLE = 65, SCREEN_PROPERTY_NATIVE_RESOLUTION = 66, SCREEN_PROPERTY_PROTECTION_ENABLE = 67, SCREEN_PROPERTY_SOURCE_CLIP_POSITION = 68, SCREEN_PROPERTY_PHYSICAL_SIZE = 69, SCREEN_PROPERTY_FORMAT_COUNT = 70, SCREEN_PROPERTY_FORMATS = 71, SCREEN_PROPERTY_SOURCE_CLIP_SIZE = 72, SCREEN_PROPERTY_TOUCH_ID = 73, SCREEN_PROPERTY_VIEWPORT_POSITION = 74, SCREEN_PROPERTY_VIEWPORT_SIZE = 75, SCREEN_PROPERTY_TOUCH_ORIENTATION = 76, SCREEN_PROPERTY_TOUCH_PRESSURE = 77, SCREEN_PROPERTY_TIMESTAMP = 78, SCREEN_PROPERTY_SEQUENCE_ID = 79, SCREEN_PROPERTY_IDLE_MODE = 80, SCREEN_PROPERTY_IDLE_STATE = 81, SCREEN_PROPERTY_KEEP_AWAKES = 82, SCREEN_PROPERTY_IDLE_TIMEOUT = 83, SCREEN_PROPERTY_FOCUS = 84, SCREEN_PROPERTY_MTOUCH_FOCUS = 85, SCREEN_PROPERTY_POINTER_FOCUS = 86, SCREEN_PROPERTY_ID = 87, SCREEN_PROPERTY_POWER_MODE = 88, SCREEN_PROPERTY_MODE_COUNT = 89, SCREEN_PROPERTY_MODE = 90, SCREEN_PROPERTY_CLIP_POSITION = 91, SCREEN_PROPERTY_CLIP_SIZE = 92, SCREEN_PROPERTY_COLOR = 93, SCREEN_PROPERTY_MOUSE_WHEEL = 94, SCREEN_PROPERTY_CONTEXT = 95, SCREEN_PROPERTY_DEBUG = 96, SCREEN_PROPERTY_ALTERNATE = 97, SCREEN_PROPERTY_DEVICE_COUNT = 98, SCREEN_PROPERTY_OBJECT_TYPE = 100, SCREEN_PROPERTY_DEVICES = 101, SCREEN_PROPERTY_KEYMAP_PAGE = 102, SCREEN_PROPERTY_SELF_LAYOUT = 103, SCREEN_PROPERTY_GROUP_COUNT = 104, SCREEN_PROPERTY_GROUPS = 105, SCREEN_PROPERTY_PIXMAP_COUNT = 106, SCREEN_PROPERTY_PIXMAPS = 107, SCREEN_PROPERTY_WINDOW_COUNT = 108, SCREEN_PROPERTY_WINDOWS = 109, SCREEN_PROPERTY_KEYMAP = 110, SCREEN_PROPERTY_MOUSE_HORIZONTAL_WHEEL = 111, SCREEN_PROPERTY_TOUCH_TYPE = 112, SCREEN_PROPERTY_NATIVE_IMAGE = 113, SCREEN_PROPERTY_SCALE_FACTOR = 114, SCREEN_PROPERTY_DPI = 115, SCREEN_PROPERTY_METRIC_COUNT = 116, SCREEN_PROPERTY_METRICS = 117, SCREEN_PROPERTY_BUTTON_COUNT = 118, SCREEN_PROPERTY_VENDOR = 119, SCREEN_PROPERTY_PRODUCT = 120, SCREEN_PROPERTY_BRUSH_CLIP_POSITION = 121, SCREEN_PROPERTY_BRUSH_CLIP_SIZE = 122, SCREEN_PROPERTY_ANALOG0 = 123, SCREEN_PROPERTY_ANALOG1 = 124, SCREEN_PROPERTY_BRUSH = 125, SCREEN_PROPERTY_MAXIMUM_TOUCH_ID = 126, SCREEN_PROPERTY_TRANSFORM = 127, SCREEN_PROPERTY_KEY_ALTERNATE_SYM = 128, SCREEN_PROPERTY_TECHNOLOGY = 129, SCREEN_PROPERTY_PERMISSIONS = 131, SCREEN_PROPERTY_STICKY_MODIFIERS = 132, SCREEN_PROPERTY_INTENSITY = 133, SCREEN_PROPERTY_SESSION = 137, SCREEN_PROPERTY_GESTURE_PARAMETERS = 139, SCREEN_PROPERTY_DURATION = 140, SCREEN_PROPERTY_DISPLACEMENT = 141, SCREEN_PROPERTY_SPEED = 142, SCREEN_PROPERTY_ACCELERATION = 143, SCREEN_PROPERTY_BALLISTIC_COEFFICIENTS = 144, SCREEN_PROPERTY_BUTTON_MAP = 146, SCREEN_PROPERTY_CURSOR = 149, SCREEN_PROPERTY_MIRROR_MODE = 150, SCREEN_PROPERTY_EVENT = 151, SCREEN_PROPERTY_MANAGER_STRING = 152, SCREEN_PROPERTY_SUBTYPE = 153, SCREEN_PROPERTY_STATUS = 154, SCREEN_PROPERTY_FRONT_BUFFER_COUNT = 156, SCREEN_PROPERTY_STREAM = 157, SCREEN_PROPERTY_PARENT = 158, SCREEN_PROPERTY_RED_GAMMA_CURVE = 159, SCREEN_PROPERTY_GREEN_GAMMA_CURVE = 160, SCREEN_PROPERTY_BLUE_GAMMA_CURVE = 161, SCREEN_PROPERTY_PIXMAP = 162, SCREEN_PROPERTY_SESSION_COUNT = 163, SCREEN_PROPERTY_SESSIONS = 164, SCREEN_PROPERTY_STREAM_COUNT = 165, SCREEN_PROPERTY_STREAMS = 166, SCREEN_PROPERTY_KEY_PAGE = 167, SCREEN_PROPERTY_BUFFERS = 168, SCREEN_PROPERTY_REPEAT_DELAY = 169, SCREEN_PROPERTY_REPEAT_RATE = 170, SCREEN_PROPERTY_FRONT_BUFFERS = 171, SCREEN_PROPERTY_ANALOG_COUNT = 172, SCREEN_PROPERTY_WINDOW_MANAGER_ID = 173, SCREEN_PROPERTY_FD = 174, SCREEN_PROPERTY_SENSITIVITY_THRESHOLD = 175, SCREEN_PROPERTY_CHROMATICITY_COORDS = 176, SCREEN_MAX_PROPERTY };
Data:
- SCREEN_PROPERTY_ALPHA_MODE
- A single integer that defines how alpha should be interpreted.
- SCREEN_PROPERTY_GAMMA
- A single integer or float that's used to adjust the gamma value for a given display.
- SCREEN_PROPERTY_BRIGHTNESS
- A single integer or float that's used to adjust the brightness of an object.
- SCREEN_PROPERTY_BUFFER_COUNT
- A single integer that indicates the number of buffers that were created or attached to the object.
- SCREEN_PROPERTY_BUFFER_SIZE
- A pair of integers containing the width and height, in pixels, of the buffer.
- SCREEN_PROPERTY_BUTTONS
- A single integer which is a bitmask indicating which buttons are pressed; a property of an object.
- SCREEN_PROPERTY_CLASS
- The name of a class corresponding to one that's defined in the configuration file,
graphics.conf
. - SCREEN_PROPERTY_COLOR_SPACE
- A single integer that indicates the color space of a buffer.
- SCREEN_PROPERTY_CONTRAST
- A single integer or float in the that is used to adjust the contrast of an object.
- SCREEN_PROPERTY_DEVICE
- The input device, or the handle for the input device that the event came from.
- SCREEN_PROPERTY_DISPLAY
- A display handle.
- SCREEN_PROPERTY_EGL_HANDLE
- A handle to the EGL driver.
- SCREEN_PROPERTY_FLIP
- A single integer that indicates whether the window content is flipped (content that's reflected across a horizontal axis).
- SCREEN_PROPERTY_FORMAT
- A single integer that indicates the pixel format of the buffer.
- SCREEN_PROPERTY_FRONT_BUFFER
- A handle to the last buffer of the window that's been posted.
- SCREEN_PROPERTY_GLOBAL_ALPHA
- A single integer in the range [0, 255] that indicates the global alpha value to be applied to the window.
- SCREEN_PROPERTY_PIPELINE
- A single integer that contains the pipeline ID.
- SCREEN_PROPERTY_GROUP
- The group that the API object is associated with.
- SCREEN_PROPERTY_HUE
- A single integer or float that's used to adjust the hue.
- SCREEN_PROPERTY_ID_STRING
- A string that can be used by a window manager or a parent to identify the contents of an object.
- SCREEN_PROPERTY_INPUT_VALUE
- A single integer that indicates the input value associated with an event.
- SCREEN_PROPERTY_INTERLACED
- A single integer that indicates whether or not the buffer contains interlaced fields instead of progressive data.
- SCREEN_PROPERTY_JOG_COUNT
- A single integer that indicates the jog count associated with an event.
- SCREEN_PROPERTY_KEY_CAP
- A single integer that indicates the keyboard cap associated with an event.
- SCREEN_PROPERTY_FLAGS
- A single integer that indicates the flags associated with an event.
- SCREEN_PROPERTY_MODIFIERS
- A single integer that indicates the modifiers associated with an object.
- SCREEN_PROPERTY_SCAN
- A single integer that indicates the scan code associated with an event.
- SCREEN_PROPERTY_SYM
- A single integer that indicates the symbols associated with an event.
- SCREEN_PROPERTY_MIRROR
- A single integer (0 or 1) that indicates whether or not contents of the API object are mirrored (a reflection of the original content across the vertical axis).
- SCREEN_PROPERTY_NAME
- The name of a window group or event property.
- SCREEN_PROPERTY_OWNER_PID
- A single integer that indicates the process identifier of the process responsible for creating the API object.
- SCREEN_PROPERTY_PHYSICALLY_CONTIGUOUS
- A single integer that indicates whether or not the buffer is physically contiguous.
- SCREEN_PROPERTY_PLANAR_OFFSETS
- Up to three integers that provide the offset from the base address for each of the Y, U, V, UV, or YUV components of packed and planar YUV formats.
- SCREEN_PROPERTY_POINTER
- A pointer that can be used by software renderers to read from and/or write to the buffer.
- SCREEN_PROPERTY_POSITION
- A pair of integers that define position of the screen coordinates of the related API object.
- SCREEN_PROPERTY_PROTECTED
- A single integer that specifies whether or not there is protection for the buffer.
- SCREEN_PROPERTY_RENDER_BUFFERS
- A handle to the buffer or buffers available for rendering.
- SCREEN_PROPERTY_ROTATION
- A single integer that defines the desired rotation of the API object.
- SCREEN_PROPERTY_SATURATION
- A single integer or float that is used to adjust the saturation.
- SCREEN_PROPERTY_SIZE
- The size of the associated API object.
- SCREEN_PROPERTY_SOURCE_POSITION
- A pair of integers that define the x and y position of a source viewport within the window buffers.
- SCREEN_PROPERTY_SOURCE_SIZE
- A pair of integers that define the width and height, pixels, of a source viewport within the window buffers.
- SCREEN_PROPERTY_STATIC
- A single integer that indicates whether or not the contents of a window are expected to change.
- SCREEN_PROPERTY_STRIDE
- A single integer that indicates the number of bytes between the same pixels on adjacent rows.
- SCREEN_PROPERTY_SWAP_INTERVAL
- A single integer that specifies the minimum number of vsync periods between posts.
- SCREEN_PROPERTY_TRANSPARENCY
- A single integer that defines the transparency type of an API object.
- SCREEN_PROPERTY_TYPE
- A single integer that indicates the type of the specified object.
- SCREEN_PROPERTY_USAGE
- A single integer that is a bitmask indicating the intended usage for the buffers associated with the API object.
- SCREEN_PROPERTY_USER_DATA
- An array of four integers containing data associated with the user.
- SCREEN_PROPERTY_USER_HANDLE
- A handle to associate the API object with application-specific user data.
- SCREEN_PROPERTY_VISIBLE
- A single integer that specifies whether an API object is visible (or active).
- SCREEN_PROPERTY_WINDOW
- A pointer to a window.
- SCREEN_PROPERTY_RENDER_BUFFER_COUNT
- A single integer that indicates the number of render buffers associated with the API object.
- SCREEN_PROPERTY_ZORDER
- A single integer in the range [INT_MIN, INT_MAX] that indicates the distance (from the bottom) that's used when ordering API objects amongst each other.
- SCREEN_PROPERTY_PHYSICAL_ADDRESS
- A single
long
long
integer that corresponds to the physical address of the buffer. - SCREEN_PROPERTY_SCALE_QUALITY
- A single integer that indicates the amount of filtering performed by Screen when scaling is required to draw the window.
- SCREEN_PROPERTY_SENSITIVITY
- A single integer that indicates the API object input behavior.
- SCREEN_PROPERTY_SCALE_MODE
- A single integer that specifies the scaling mode.
- SCREEN_PROPERTY_DISPLAY_COUNT
- A single integer containing the number of displays associated with this context.
- SCREEN_PROPERTY_DISPLAYS
- An array of display pointers.
- SCREEN_PROPERTY_CBABC_MODE
- A single integer that indicates what the window's content mode is.
- SCREEN_PROPERTY_FLOATING
- A single integer that indicates whether or not the API object is floating.
- SCREEN_PROPERTY_ATTACHED
- A single integer that indicates whether or not the display is currently attached.
- SCREEN_PROPERTY_DETACHABLE
- A single integer that indicates whether or not the display can be detached.
- SCREEN_PROPERTY_NATIVE_RESOLUTION
- A pair of integers that define the width and height of the native video resolution.
- SCREEN_PROPERTY_PROTECTION_ENABLE
- A single integer that indicates whether or not content protection is enabled for the API object.
- SCREEN_PROPERTY_SOURCE_CLIP_POSITION
- A pair of integers that define the x and y position of a clipped rectangular viewport within the source buffers.
- SCREEN_PROPERTY_PHYSICAL_SIZE
- A pair of integers that define the width and height, in millimeters, of the region that's relevant to the Screen API object.
- SCREEN_PROPERTY_FORMAT_COUNT
- A single integer that indicates the number of formats that the display supports.
- SCREEN_PROPERTY_FORMATS
- An array of integers of size SCREEN_PROPERTY_FORMAT_COUNT that defines the formats supported by the display.
- SCREEN_PROPERTY_SOURCE_CLIP_SIZE
- A pair of integers, with initialization value as [
SHRT_MIN
,SHRT_MIN
] and each in the range [0, SHRT_MAX], that define the width and height, in pixels, of a clipped source rectangular viewport within the source buffers. - SCREEN_PROPERTY_TOUCH_ID
- A single integer that indicates the multi-touch contact identifier associated with the specific event.
- SCREEN_PROPERTY_VIEWPORT_POSITION
- A pair of integers that define the x and y position of a rectangular region within the API object.
- SCREEN_PROPERTY_VIEWPORT_SIZE
- A pair of integers that define the width and height of a rectangular region within the API object.
- SCREEN_PROPERTY_TOUCH_ORIENTATION
- A single integer that indicates the multi-touch orientation associated with the specific event.
- SCREEN_PROPERTY_TOUCH_PRESSURE
- A single integer that indicates the multi-touch pressure associated with the specific event.
- SCREEN_PROPERTY_TIMESTAMP
- A single
long
long
integer that indicates a timestamp associated with the API object. - SCREEN_PROPERTY_SEQUENCE_ID
- A single integer that is associated with the specific API object.
- SCREEN_PROPERTY_IDLE_MODE
- A single integer indicating the idle mode of the window.
- SCREEN_PROPERTY_IDLE_STATE
- A single integer that indicates the idle state of the API object.
- SCREEN_PROPERTY_KEEP_AWAKES
- A single integer that indicates the number of windows with an idle mode of type SCREEN_IDLE_MODE_KEEP_AWAKE that are visible on a display.
- SCREEN_PROPERTY_IDLE_TIMEOUT
- A single
long
long
integer that indicates the amount of time, in nanoseconds, after which the system will enter an idle state. - SCREEN_PROPERTY_FOCUS
- A handle or an indicator which corresponds to the object that currently has any type of input focus, such as keyboard, or mouse - with the exception of touch or pointer focus.
- SCREEN_PROPERTY_MTOUCH_FOCUS
- A handle or an indicator which corresponds to the API object that currently has mtouch focus.
- SCREEN_PROPERTY_POINTER_FOCUS
- A handle or an indicator which corresponds to the API object that currently has pointer focus.
- SCREEN_PROPERTY_ID
- A unique integer, or string, that indicates the identification of the API object.
- SCREEN_PROPERTY_POWER_MODE
- A single integer that defines the power mode.
- SCREEN_PROPERTY_MODE_COUNT
- A single integer that indicates the number of modes supported by the display.
- SCREEN_PROPERTY_MODE
- The mode associated with the API object.
- SCREEN_PROPERTY_CLIP_POSITION
- A pair of integers that define the x and y position of a clipped rectangular viewport within the window buffers.
- SCREEN_PROPERTY_CLIP_SIZE
- A pair of integers, each in the range [0, INT_MAX/256], that define the width and height, in pixels, of a clipped rectangular viewport within the window buffers.
- SCREEN_PROPERTY_COLOR
- A single integer that indicates the background color of the window; The color format is alpha value in bits 24 to 31, red in bits 16 to 23, green in bits 8 to 15 and blue in bits 0 to 7.
- SCREEN_PROPERTY_MOUSE_WHEEL
- A single integer that indicates the number and direction of mouse wheel ticks in a vertical direction.
- SCREEN_PROPERTY_CONTEXT
- A pointer to the context associated with the API object.
- SCREEN_PROPERTY_DEBUG
- A single integer that enables an on-screen plot or a list of window statistics as a debugging aid.
- SCREEN_PROPERTY_ALTERNATE
- A handle to an alternate screen object.
- SCREEN_PROPERTY_DEVICE_COUNT
- A single integer containing the number of devices associated with this object.
- SCREEN_PROPERTY_OBJECT_TYPE
- A single integer that indicates the object type associated with the specific event.
- SCREEN_PROPERTY_DEVICES
- An array of device pointers.
- SCREEN_PROPERTY_KEYMAP_PAGE
- A single integer that indicates which page of a multi-page keymap must be used to translate scan codes into key caps and key symbols.
- SCREEN_PROPERTY_SELF_LAYOUT
- A single integer that indicates whether the window has self layout capabilities.
- SCREEN_PROPERTY_GROUP_COUNT
- A single integer containing the number of groups associated with this context.
- SCREEN_PROPERTY_GROUPS
- An array of group pointers.
- SCREEN_PROPERTY_PIXMAP_COUNT
- A single integer containing the number of pixmaps associated with this context.
- SCREEN_PROPERTY_PIXMAPS
- An array of pixmap pointers; a property of a context object.
- SCREEN_PROPERTY_WINDOW_COUNT
- A single integer containing the number of windows associated with this context.
- SCREEN_PROPERTY_WINDOWS
- An array of window pointers.
- SCREEN_PROPERTY_KEYMAP
- A character string specifying a keymap filename without the
.kbd
extension. - SCREEN_PROPERTY_MOUSE_HORIZONTAL_WHEEL
- A single integer that indicates the number and direction of mouse wheel ticks in a horizontal direction.
- SCREEN_PROPERTY_TOUCH_TYPE
- A single integer that indicates the touch type associated with the specific event.
- SCREEN_PROPERTY_NATIVE_IMAGE
- A pointer to an opaque type.
- SCREEN_PROPERTY_SCALE_FACTOR
- A single integer that indicates the number of bits of the desired sub-pixel precision.
- SCREEN_PROPERTY_DPI
- A pair of integers which represent the DPI measurement; a property of a display object.
- SCREEN_PROPERTY_METRIC_COUNT
- A single integer that indicates the number of metrics associated with an API object.
- SCREEN_PROPERTY_METRICS
- A array of metrics that's associated with an API object.
- SCREEN_PROPERTY_BUTTON_COUNT
- A single integer that indicates the number of buttons on the input device.
- SCREEN_PROPERTY_VENDOR
- An integer or a string that can be used to identify the vendor of the specified API object.
- SCREEN_PROPERTY_PRODUCT
- An integer or a string that can be used to identify the product of the specified API object.
- SCREEN_PROPERTY_BRUSH_CLIP_POSITION
- A pair of integers that define the x and y position of a clipped rectangular area within the window buffers where brush strokes are allowed to be drawn.
- SCREEN_PROPERTY_BRUSH_CLIP_SIZE
- A pair of integers that define the width and height, in pixels, of a clipped rectangular area within the window buffers where brush strokes are allowed to be drawn.
- SCREEN_PROPERTY_ANALOG0
- The x, y and z values for one analog controller.
- SCREEN_PROPERTY_ANALOG1
- The x, y, and z values for a second analog controller.
- SCREEN_PROPERTY_BRUSH
- The pixmap that contains the brush to be used when the property, SCREEN_PROPERTY_SENSITIVITY, has a brush bit set, and the corresponding type of input event is delivered to the API object.
- SCREEN_PROPERTY_MAXIMUM_TOUCH_ID
- A single integer that indicates the index of the highest possible touch ID.
- SCREEN_PROPERTY_TRANSFORM
- A set of integers or float that represent the 3x3 transformation matrix used to convert buffer or device coordinates to display coordinates.
- SCREEN_PROPERTY_KEY_ALTERNATE_SYM
- A single integer that provides an alternate key symbol associated to the event.
- SCREEN_PROPERTY_TECHNOLOGY
- An integer that is used to identify the display technology used by a particular object handle.
- SCREEN_PROPERTY_PERMISSIONS
- A single integer bitmask, or a string, indicating the permissions associated with an API object.
- SCREEN_PROPERTY_STICKY_MODIFIERS
- A single integer bitmask indicating which modifiers associated with a device should have a sticky behavior.
- SCREEN_PROPERTY_INTENSITY
- A single integer in the range [-1, 100000] that controls the brightness of a display, if that display allows its brightness to be controlled.
- SCREEN_PROPERTY_SESSION
- A pointer to a session.
- SCREEN_PROPERTY_GESTURE_PARAMETERS
- A tuple of integers that indicates the minimum and maximum distance, in units produced by speed and acceleration, for swipes and a timeout value (in milliseconds).
- SCREEN_PROPERTY_DURATION
- A single
long
long
integer that indicates a time duration, in nanoseconds. - SCREEN_PROPERTY_DISPLACEMENT
- A pair of integers that define the x and y coordinates of events with relative displacement.
- SCREEN_PROPERTY_SPEED
- Two integers that represent the x, y speed of an input device.
- SCREEN_PROPERTY_ACCELERATION
- An array of six integers that define the acceleration of an input device ([A, B, C, D, E, F]).
- SCREEN_PROPERTY_BALLISTIC_COEFFICIENTS
- A set of 16 integers or floating-point values that represent coefficients to configure ballistic filtering.
- SCREEN_PROPERTY_BUTTON_MAP
- A set of 32 integers that are used to customize the mapping of the buttons on an input device.
- SCREEN_PROPERTY_CURSOR
- An integer specifying which cursor shape to display when the pointer is over a session.
- SCREEN_PROPERTY_MIRROR_MODE
- A single integer that defines whether or not the display is currently in mirror mode.
- SCREEN_PROPERTY_EVENT
- A handle to an event.
- SCREEN_PROPERTY_MANAGER_STRING
- A string used either by an object owner or its manager to identify how the object should be managed.
- SCREEN_PROPERTY_SUBTYPE
- An integer specifying the subtype for a window, input or display manager event.
- SCREEN_PROPERTY_STATUS
- An integer that indicates the status of a Screen API object.
- SCREEN_PROPERTY_FRONT_BUFFER_COUNT
- A single integer that indicates the number of front buffers that have been acquired by a consumer.
- SCREEN_PROPERTY_STREAM
- A handle to a stream.
- SCREEN_PROPERTY_PARENT
- The group name or handle that a window's parent is associated with.
- SCREEN_PROPERTY_RED_GAMMA_CURVE
- An array of 256 integers (range from 0 to 65535) that defines the red gamma mapping table of a display.
- SCREEN_PROPERTY_GREEN_GAMMA_CURVE
- An array of 256 integers (range from 0 to 65535) that defines the green gamma mapping table of a display.
- SCREEN_PROPERTY_BLUE_GAMMA_CURVE
- An array of 256 integers (range from 0 to 65535) that defines the blue gamma mapping table of a display.
- SCREEN_PROPERTY_PIXMAP
- A handle to a pixmap.
- SCREEN_PROPERTY_SESSION_COUNT
- A single integer containing the number of sessions associated with this context.
- SCREEN_PROPERTY_SESSIONS
- An array of session handles.
- SCREEN_PROPERTY_STREAM_COUNT
- A single integer containing the number of streams associated with this context.
- SCREEN_PROPERTY_STREAMS
- An array of stream handles.
- SCREEN_PROPERTY_KEY_PAGE
- A single integer that indicates the page code associated with an event.
- SCREEN_PROPERTY_BUFFERS
- A handle to the buffer or buffers associated with the object.
- SCREEN_PROPERTY_REPEAT_DELAY
- A single
long
long
integer that indicates the time (in nanoseconds) before Screen sends the first key repeat event (i.e., SCREEN_EVENT_KEYBOARD events whose SCREEN_PROPERTY_FLAGS property includes SCREEN_FLAG_KEY_REPEAT) to the context whose session or window has keyboard focus. - SCREEN_PROPERTY_REPEAT_RATE
- A single
long
long
integer that indicates the time interval (in nanoseconds) between when Screen sends key repeat events (i.e., SCREEN_EVENT_KEYBOARD events whose SCREEN_PROPERTY_FLAGS property includes SCREEN_FLAG_KEY_REPEAT) to the context whose session or window has keyboard focus. - SCREEN_PROPERTY_FRONT_BUFFERS
- A handle to the buffer or buffers that's been acquired by a consumer.
- SCREEN_PROPERTY_ANALOG_COUNT
- A single integer containing the number of analog controllers associated with this object.
- SCREEN_PROPERTY_WINDOW_MANAGER_ID
- A single integer that indicates the SCREEN_PROPERTY_ID of the context that is registered as the display's window manager.
- SCREEN_PROPERTY_FD
- A single integer that indicates the file descriptor to be used to access a buffer's memory.
- SCREEN_PROPERTY_SENSITIVITY_THRESHOLD
- A single integer that indicates the input sensitivity alpha threshold.
- SCREEN_PROPERTY_CHROMATICITY_COORDS
- A set of integers or floating-point values that define the chromaticity coordinates for a display's output in CIE 1931 color-space xy coordinate format.
- SCREEN_MAX_PROPERTY
- This MUST be the final value in the enum; do not use.
Library:
libscreenDescription:
Each property description includes the following:
- a general description of the property
- an indicator of whether the property is configurable
- Some properties are configurable through the
graphics.conf
configuration file. At each display's and window's initialization, the value that's set at configuration applies to all displays and windows of a specified class. See "Configure winmgr section" for more details.
- Some properties are configurable through the
- its default privileges
- Each property comes with default privileges that define what type of access the user, the manager, and the consumer has. See "Permissions and Privileges" for more details. The privileges are a combination of r (read), w (write), x (execute), and - (no privilege) for the user, the manager, and the consumer respectively. The API object owner can change the user privilege at any time if it chooses to do so.
- an indicator of whether the property sends a change event
- Some properties invoke a SCREEN_EVENT_PROPERTY event to be sent when their values are changed. Screen directs this event to those that are impacted by the change in the property. For example, if the visibility of a window changes, Screen notifies its manager (or parent) so that it can handle any layout adjustments accordingly.
- a list of Screen API objects that the property applies to
- When one property applies to multiple API objects, its meaning may vary between each object. Variations, if any, from the general property definition are described in correspondence with the listed API objects.
Page updated: