docs
Loading...
Searching...
No Matches
ULHitTestRegionDesc

#include <AppCore/CAPI.h>

Overview

An area of a custom-chrome window and what it does.

See also
ulWindowSetHitTestRegions()

Zero-initialize the struct and set struct_size to sizeof(ULHitTestRegionDesc). Every element of an array passed to ulWindowSetHitTestRegions() must use the same struct_size: it doubles as the array stride, so fields can be appended in later versions.

Public Attributes

unsigned int struct_size
 Set to sizeof(ULHitTestRegionDesc).
int role
 What the region does, a ULHitRegionRole value.
ULLayoutRect rect
 The region's bounds (in logical pixels, window content coordinates).

Member Data Documentation

◆ rect

The region's bounds (in logical pixels, window content coordinates).

◆ role

int role

What the region does, a ULHitRegionRole value.

◆ struct_size

unsigned int struct_size

Set to sizeof(ULHitTestRegionDesc).


The documentation for this struct was generated from the following file: