Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::NumericPresetPopupPlacement Struct Reference

Where a numeric preset popup opens relative to the control it belongs to. More...

#include "donner/editor/AttachedNumericStepper.h"

Public Attributes

Vector2d anchor
 Screen-space anchor: the popup's top-left corner when it opens below the control, or its bottom-left corner when it opens above.
bool opensAbove = false
 True when the popup opens above the control.
double maximumHeight = 0.0
 Tallest popup that fits on the chosen side; contents scroll.

Detailed Description

Where a numeric preset popup opens relative to the control it belongs to.

Member Data Documentation

◆ anchor

Vector2d donner::editor::NumericPresetPopupPlacement::anchor

Screen-space anchor: the popup's top-left corner when it opens below the control, or its bottom-left corner when it opens above.

◆ maximumHeight

double donner::editor::NumericPresetPopupPlacement::maximumHeight = 0.0

Tallest popup that fits on the chosen side; contents scroll.

◆ opensAbove

bool donner::editor::NumericPresetPopupPlacement::opensAbove = false

True when the popup opens above the control.


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