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

Layout properties for an IR container node. More...

#include <design_ir.hpp>

Public Attributes

std::optional< std::string > display
LayoutDirection direction = LayoutDirection::column
float gap = 0.0f
std::optional< float > row_gap
std::optional< float > column_gap
float padding_top = 0.0f
float padding_right = 0.0f
float padding_bottom = 0.0f
float padding_left = 0.0f
std::optional< float > margin_top
std::optional< float > margin_right
std::optional< float > margin_bottom
std::optional< float > margin_left
LayoutAlign justify = LayoutAlign::flex_start
LayoutAlign align = LayoutAlign::stretch
std::optional< std::string > align_self
std::optional< std::string > align_content
bool wrap = false
std::optional< float > flex_grow
std::optional< float > flex_shrink
std::optional< std::string > flex_basis
std::optional< int > order
std::optional< float > aspect_ratio
std::optional< std::string > overflow_x
std::optional< std::string > overflow_y
SizingMode width_mode = SizingMode::fixed
SizingMode height_mode = SizingMode::fixed
std::optional< std::string > h_constraint
std::optional< std::string > v_constraint
std::optional< std::string > grid_template_columns
std::optional< std::string > grid_template_rows
std::optional< std::string > grid_auto_flow
std::optional< std::string > grid_column
std::optional< std::string > grid_row

Detailed Description

Layout properties for an IR container node.

Member Data Documentation

◆ align

LayoutAlign pulp::view::IRLayout::align = LayoutAlign::stretch

◆ align_content

std::optional<std::string> pulp::view::IRLayout::align_content

◆ align_self

std::optional<std::string> pulp::view::IRLayout::align_self

◆ aspect_ratio

std::optional<float> pulp::view::IRLayout::aspect_ratio

◆ column_gap

std::optional<float> pulp::view::IRLayout::column_gap

◆ direction

LayoutDirection pulp::view::IRLayout::direction = LayoutDirection::column

◆ display

std::optional<std::string> pulp::view::IRLayout::display

◆ flex_basis

std::optional<std::string> pulp::view::IRLayout::flex_basis

◆ flex_grow

std::optional<float> pulp::view::IRLayout::flex_grow

◆ flex_shrink

std::optional<float> pulp::view::IRLayout::flex_shrink

◆ gap

float pulp::view::IRLayout::gap = 0.0f

◆ grid_auto_flow

std::optional<std::string> pulp::view::IRLayout::grid_auto_flow

◆ grid_column

std::optional<std::string> pulp::view::IRLayout::grid_column

◆ grid_row

std::optional<std::string> pulp::view::IRLayout::grid_row

◆ grid_template_columns

std::optional<std::string> pulp::view::IRLayout::grid_template_columns

◆ grid_template_rows

std::optional<std::string> pulp::view::IRLayout::grid_template_rows

◆ h_constraint

std::optional<std::string> pulp::view::IRLayout::h_constraint

◆ height_mode

SizingMode pulp::view::IRLayout::height_mode = SizingMode::fixed

◆ justify

LayoutAlign pulp::view::IRLayout::justify = LayoutAlign::flex_start

◆ margin_bottom

std::optional<float> pulp::view::IRLayout::margin_bottom

◆ margin_left

std::optional<float> pulp::view::IRLayout::margin_left

◆ margin_right

std::optional<float> pulp::view::IRLayout::margin_right

◆ margin_top

std::optional<float> pulp::view::IRLayout::margin_top

◆ order

std::optional<int> pulp::view::IRLayout::order

◆ overflow_x

std::optional<std::string> pulp::view::IRLayout::overflow_x

◆ overflow_y

std::optional<std::string> pulp::view::IRLayout::overflow_y

◆ padding_bottom

float pulp::view::IRLayout::padding_bottom = 0.0f

◆ padding_left

float pulp::view::IRLayout::padding_left = 0.0f

◆ padding_right

float pulp::view::IRLayout::padding_right = 0.0f

◆ padding_top

float pulp::view::IRLayout::padding_top = 0.0f

◆ row_gap

std::optional<float> pulp::view::IRLayout::row_gap

◆ v_constraint

std::optional<std::string> pulp::view::IRLayout::v_constraint

◆ width_mode

SizingMode pulp::view::IRLayout::width_mode = SizingMode::fixed

◆ wrap

bool pulp::view::IRLayout::wrap = false

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/view/include/pulp/view/design_ir.hpp