Lines Matching refs:layouts
51 /* The layouts. */
52 static std::vector<std::unique_ptr<tui_layout_split>> layouts;
60 /* The two special "regs" layouts. Note that these aren't registered
175 /* Find LAYOUT in the "layouts" global and return its index. */
180 for (size_t i = 0; i < layouts.size (); ++i)
182 if (layout == layouts[i].get ())
207 if (index == layouts.size ())
209 tui_set_layout (layouts[index].get ());
226 tui_set_layout (layouts[0].get ());
237 index = layouts.size ();
239 tui_set_layout (layouts[index].get ());
821 Fixed-sized layouts are given their desired size, and then the
917 /* If we didn't find any sub-layouts that were of a non-fixed size, but
932 the loop in case we can't find any sub-layouts to resize. */
953 this indicates that the fixed-sized sub-layouts claimed
957 shrink this enough to fit the rest of the sub-layouts in.
1109 layouts.erase (layouts.begin () + index);
1147 layouts.emplace_back (layout);
1152 /* Initialize the standard layouts. */
1183 layouts.emplace_back (layout);
1191 layouts.emplace_back (layout);