Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::ResizableShellConfig Struct Reference

#include <resizable_shell.hpp>

Public Attributes

Size min_size {200, 150}
Size max_size {4096, 4096}
Size initial_size {640, 480}
double aspect_ratio = 0.0
 When > 0, aspect ratio = width / height is held during resize.

Member Data Documentation

◆ aspect_ratio

double pulp::view::ResizableShellConfig::aspect_ratio = 0.0

When > 0, aspect ratio = width / height is held during resize.

Typical values: 16.0/9.0, 4.0/3.0, initial_size.width/height.

◆ initial_size

Size pulp::view::ResizableShellConfig::initial_size {640, 480}

◆ max_size

Size pulp::view::ResizableShellConfig::max_size {4096, 4096}

◆ min_size

Size pulp::view::ResizableShellConfig::min_size {200, 150}

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