30namespace CarouselHeroKeylines
41 bool single_item =
false;
42 qreal small_leading = 0;
43 qreal small_center = 0;
44 qreal large_leading = 0;
45 qreal large_center = 0;
46 qreal medium_leading = 0;
47 qreal medium_center = 0;
48 qreal scroll_step_leading = 0;
49 qreal scroll_step_center = 0;
52auto computeMetrics(
const CarouselLayoutInput& in) -> HeroMetrics;
53auto phaseKeylines(
const CarouselLayoutInput& in, HeroPhase phase,
bool keep_leading_peek)
55void computeHeroSnapOffsets(CarouselLayoutOutput& out,
const CarouselLayoutInput& in,
56 bool keep_leading_peek);
57auto keepLeadingPeek(
const CarouselLayoutInput& in) -> bool;