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();
46 slot->constraints.push_back(Constraint((hsplit ? FAR_RIGHT_OF : RIGHT_OF), *prev));
47 slot->constraints.push_back(Constraint(ALIGN_TOP, *prev));
48 slot->constraints.push_back(Constraint(ALIGN_BOTTOM, *prev));
50 slot->constraints.push_back(Constraint(COPY_WIDTH, *prev));
52 else if(!slots.empty())
54 Slot *prev = slots.back();
55 slot->constraints.push_back(Constraint((vsplit ? FAR_BELOW : BELOW), *prev));
57 slot->constraints.push_back(Constraint(COPY_HEIGHT, *prev));