| 28 | } |
| 29 | |
| 30 | void 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 | |
| 44 | void MyCinderApp::resize() |
| 45 | { |