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

Method Monitor

test/DisplayTest/src/DisplayTestApp.cpp:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11struct Monitor {
12 public:
13 Monitor( DisplayRef display, Colorf color, bool mainDisplay )
14 : mArea( display->getBounds() ), mColor( color ), mMainDisplay( mainDisplay )
15 {
16 app::console() << display->getName() << ": " << mArea << " contentScale: " << display->getContentScale() << std::endl;
17 }
18
19 void draw() {
20 gl::color( mColor * 0.25f );

Callers

nothing calls this directly

Calls 3

getBoundsMethod · 0.45
getNameMethod · 0.45
getContentScaleMethod · 0.45

Tested by

no test coverage detected