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

Method setup

test/AppCocoaViewTest/src/MyCinderApp.cpp:30–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30void MyCinderApp::setup()
31{
32 testCbo.setState( TestCallbackOrder::SETUP );
33 getSignalCleanup().connect( [this] { testCbo.setState( TestCallbackOrder::CLEANUP ); } );
34
35 mRadius = 50;
36 mAnimatedRadius = 0;
37 mColor = cinder::Color::white();
38 app::WindowRef win = getWindow();
39 console() << "NSView: " << win->getNative() << std::endl;
40 win->setTitle( "Behold." );
41 console() << "Display: " << *(win->getDisplay()) << std::endl;
42}
43
44void MyCinderApp::resize()
45{

Callers

nothing calls this directly

Calls 7

whiteFunction · 0.85
getWindowFunction · 0.50
setStateMethod · 0.45
connectMethod · 0.45
getNativeMethod · 0.45
setTitleMethod · 0.45
getDisplayMethod · 0.45

Tested by

no test coverage detected