21 std::shared_ptr<Buffers::FormaBuffer>
buf;
46 std::shared_ptr<Buffers::FormaBuffer>
buf;
47 std::shared_ptr<Core::VKImage>
text;
65 std::vector<ValueRow>
rows;
75 for (
const auto& r :
rows) {
76 const auto rb = r.bounds();
77 b.
min = glm::min(
b.min, rb.min);
78 b.max = glm::max(
b.max, rb.max);
96 const std::shared_ptr<Core::Window>& window,
97 float x_min,
float x_max,
float row_h);
117 const ValueSpec& spec,
120 LayoutCursor& cursor,
121 float x_min,
float x_max,
float row_h,
122 glm::vec3 bg = glm::vec3(0.15F));
131 const ValueSpec& spec,
134 LayoutCursor& cursor,
136 glm::vec3 bg = glm::vec3(0.15F));
156 std::span<const ValueSpec> values,
157 RowBuffer header_buf,
158 std::span<const RowBuffer> row_bufs,
160 LayoutCursor& cursor,
161 float x_min,
float x_max,
float row_h,
162 bool initially_open =
false);
171 std::span<const ValueSpec> values,
172 RowBuffer header_buf,
173 std::span<const RowBuffer> row_bufs,
175 LayoutCursor& cursor,
177 bool initially_open =
false);
Axis-aligned bounding rectangle in a 2D coordinate space.