|
Ultralight C API 2.0.0
|
#include <AppCore/CAPI.h>
An area of a custom-chrome window and what it does.
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). | |
| ULLayoutRect rect |
The region's bounds (in logical pixels, window content coordinates).
| int role |
What the region does, a ULHitRegionRole value.
| unsigned int struct_size |
Set to sizeof(ULHitTestRegionDesc).