| 135 | } |
| 136 | |
| 137 | ImStudio::Object *ImStudio::BufferWindow::getobj(int id) |
| 138 | { |
| 139 | for (Object &o : objects) |
| 140 | { |
| 141 | if (o.id == id) |
| 142 | { |
| 143 | return &o; |
| 144 | } |
| 145 | } |
| 146 | return nullptr; |
| 147 | } |
| 148 | |
| 149 | ImStudio::BaseObject *ImStudio::BufferWindow::getbaseobj(int id) |
| 150 | { |
no outgoing calls
no test coverage detected