| 238 | } |
| 239 | |
| 240 | sptr<HorizontalBox> HorizontalBox::cloneBox() { |
| 241 | HorizontalBox* b = new HorizontalBox(_foreground, _background); |
| 242 | b->_shift = _shift; |
| 243 | |
| 244 | return sptr<HorizontalBox>(b); |
| 245 | } |
| 246 | |
| 247 | void HorizontalBox::add(const sptr<Box>& b) { |
| 248 | recalculate(*b); |
nothing calls this directly
no outgoing calls
no test coverage detected