6 MixedRows::MixedRows(bool u):
16 void MixedRows::start_row(bool u)
24 void MixedRows::split_rows()
30 void MixedRows::split_columns()
36 Layout::Slot *MixedRows::create_slot(Widget &wdg)
38 Slot *slot = new Slot(*this, wdg);
40 slot->horiz_pack.gravity = hgravity;
41 slot->vert_pack.gravity = vgravity;
45 Slot *prev = slots.back();
47 slot->constraints.push_back(Constraint(RIGHT_OF, *prev));
48 slot->constraints.push_back(Constraint(ALIGN_TOP, *prev));
49 slot->constraints.push_back(Constraint(ALIGN_BOTTOM, *prev));
51 slot->constraints.push_back(Constraint(COPY_WIDTH, *prev));
53 else if(!slots.empty())
55 Slot *prev = slots.back();
57 slot->constraints.push_back(Constraint(BELOW, *prev));
59 slot->constraints.push_back(Constraint(COPY_HEIGHT, *prev));