docs
Loading...
Searching...
No Matches
ULDividerStyleDesc

#include <AppCore/CAPI/CAPI_Layout.h>

Overview

Styling for the dividers between a resizable container's children.

Fields left unset fall back to the window's style, then to the built-in defaults.

See also
ulWindowSetDividerStyle(), ulContainerSetDividerStyle()

Public Attributes

uint32_t struct_size
 Must be sizeof(ULDividerStyleDesc).
double hit_width
 The width of the divider's pointer target, in logical px.
double visual_thickness
 The thickness of the painted divider line, in logical px.
ULColor color
 The color of the divider line.
ULColor hover_color
 The hover highlight color, shown over the divider while the pointer rests on it or drags it.

Member Data Documentation

◆ color

ULColor color

The color of the divider line.

Unset means no line is painted (the window background shows through).

◆ hit_width

double hit_width

The width of the divider's pointer target, in logical px.

Zero means the default (6).

◆ hover_color

ULColor hover_color

The hover highlight color, shown over the divider while the pointer rests on it or drags it.

Unset means the default (a half-opacity gray).

◆ struct_size

uint32_t struct_size

Must be sizeof(ULDividerStyleDesc).

◆ visual_thickness

double visual_thickness

The thickness of the painted divider line, in logical px.

Zero means the default (1).


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