31 struct anchor_not_found : std::runtime_error {
anchor_not_found(std::string
const& aAnchor) : std::runtime_error{
"neoGFX: Anchor '" + aAnchor +
"' not found." } {} };
53 return anchor_to(aRhs,
string{ aLhsAnchor }, aLhsFunction,
string{ aRhsAnchor }, aRhsFunction);
i_anchorable abstract_type
neolib::i_map< i_string, i_anchor * > anchor_map_type
virtual anchor_map_type & anchors()=0
virtual const anchor_map_type & anchors() const =0
virtual i_object & as_object()=0
virtual i_anchor & anchor_to(i_anchorable &aRhs, const i_string &aLhsAnchor, anchor_constraint_function aLhsFunction, const i_string &aRhsAnchor, anchor_constraint_function aRhsFunction)=0
i_anchor & anchor_to(i_anchorable &aRhs, std::string const &aLhsAnchor, anchor_constraint_function aLhsFunction, std::string const &aRhsAnchor, anchor_constraint_function aRhsFunction)
anchor_constraint_function
void layout_as_same_width_min_max(i_anchorable &aFirst, i_anchorable &aSecond)
void layout_as_same_height_min_max(i_anchorable &aFirst, i_anchorable &aSecond)
void layout_as_same_size(i_anchorable &aFirst, i_anchorable &aSecond)
void layout_as_same_height(i_anchorable &aFirst, i_anchorable &aSecond)
void layout_as_same_width(i_anchorable &aFirst, i_anchorable &aSecond)
void layout_as_same_size_min_max(i_anchorable &aFirst, i_anchorable &aSecond)
anchor_not_found(std::string const &aAnchor)