MCPcopy Create free account
hub / github.com/cinder/Cinder / getWindowIndex

Method getWindowIndex

src/cinder/app/linux/AppImplLinuxHeadless.cpp:208–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208WindowRef AppImplLinux::getWindowIndex( size_t index ) const
209{
210 if( index >= mWindows.size() ) {
211 return cinder::app::WindowRef();
212 }
213
214 auto winIt = mWindows.begin();
215 std::advance( winIt, index );
216 return (*winIt)->mWindowRef;
217}
218
219WindowRef AppImplLinux::getForegroundWindow() const
220{

Callers

nothing calls this directly

Calls 3

advanceFunction · 0.50
sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected