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

Method getWindowIndex

src/cinder/app/linux/AppImplLinuxGlfw.cpp:533–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531}
532
533WindowRef AppImplLinux::getWindowIndex( size_t index ) const
534{
535 if( index >= mWindows.size() ) {
536 return cinder::app::WindowRef();
537 }
538
539 auto winIt = mWindows.begin();
540 std::advance( winIt, index );
541 return (*winIt)->mWindowRef;
542}
543
544WindowRef AppImplLinux::getForegroundWindow() const
545{

Callers

nothing calls this directly

Calls 3

advanceFunction · 0.50
sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected