| 59 | } |
| 60 | |
| 61 | Layer* Layer::getNext() const |
| 62 | { |
| 63 | if (m_parent != NULL) { |
| 64 | LayerConstIterator it = |
| 65 | std::find(m_parent->getLayerBegin(), |
| 66 | m_parent->getLayerEnd(), this); |
| 67 | |
| 68 | if (it != m_parent->getLayerEnd()) { |
| 69 | it++; |
| 70 | if (it != m_parent->getLayerEnd()) |
| 71 | return *it; |
| 72 | } |
| 73 | } |
| 74 | return NULL; |
| 75 | } |
| 76 | |
| 77 | std::shared_ptr<Cel> Layer::cel(frame_t frame) const |
| 78 | { |
no test coverage detected