MCPcopy Create free account
hub / github.com/Raais/ImStudio / getobj

Method getobj

src/sources/ims_buffer.cpp:137–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137ImStudio::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
149ImStudio::BaseObject *ImStudio::BufferWindow::getbaseobj(int id)
150{

Callers 2

ShowSidebarMethod · 0.80
ShowPropertiesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected