| 279 | } |
| 280 | |
| 281 | void Element::create(uint64_t depth) |
| 282 | { |
| 283 | if (mState == New) |
| 284 | { |
| 285 | assert(!mRoot); |
| 286 | mRoot = createWidget(layout(), true, depth); |
| 287 | mLayer = setLayer(mRoot, layout()); |
| 288 | updateRootCoord(mRoot); |
| 289 | mState = Created; |
| 290 | checkWarnings(); |
| 291 | } |
| 292 | } |
| 293 | |
| 294 | void Element::update() |
| 295 | { |
no test coverage detected