Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
PhosphorScrollEngine::ScrollStrip::ViewOverhang Struct Reference

How far the view hangs past each end of the strip, in main-axis px: leading before the first column (a negative view offset) and trailing past the last offset that still ends on the strip. More...

#include <PhosphorScrollEngine/ScrollStrip.h>

Public Attributes

int leading = 0
int trailing = 0

Detailed Description

How far the view hangs past each end of the strip, in main-axis px: leading before the first column (a negative view offset) and trailing past the last offset that still ends on the strip.

0 on a side whose view is in range, and on both without an active column or against a degenerate work area. The centering mutators store either kind on purpose (a centered first or last column).

Member Data Documentation

◆ leading

int PhosphorScrollEngine::ScrollStrip::ViewOverhang::leading = 0

◆ trailing

int PhosphorScrollEngine::ScrollStrip::ViewOverhang::trailing = 0

The documentation for this struct was generated from the following file:
  • phosphor-scroll-engine/include/PhosphorScrollEngine/ScrollStrip.h