bool empty() { return widgets.empty(); }
void clear();
void add(Widget &, bool);
+ void align();
};
Layout &layout;
const Edge &get_edge(Side s) const { return edges[s]; }
void add_constraint(Widget &, Layout::ConstraintType, Side);
void add_constraint(Widget &, Layout::ConstraintType, const Edge &);
+
+ static Layout::ConstraintType get_order_constraint(Side, bool);
+ static Layout::ConstraintType get_align_constraint(Side);
};
} // namespace GLtk