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

Function getWindowIndex

include/cinder/app/AppBase.h:486–486  ·  view source on GitHub ↗

Gets a Window by index, in the range [0, getNumWindows()).

Source from the content-addressed store, hash-verified

484inline size_t getNumWindows() { return AppBase::get()->getNumWindows(); }
485//! Gets a Window by index, in the range [0, getNumWindows()).
486inline WindowRef getWindowIndex( size_t index ) { return AppBase::get()->getWindowIndex( index ); }
487
488//! Returns the width of the active App's window measured in points, or of the screen when in full-screen mode
489inline int getWindowWidth() { return AppBase::get()->getWindowWidth(); }

Callers 3

keyDownMethod · 0.85
setupMethod · 0.85
privateUpdate__Method · 0.85

Calls 2

getFunction · 0.50
getWindowIndexMethod · 0.45

Tested by 2

keyDownMethod · 0.68
setupMethod · 0.68