| 239 | } |
| 240 | |
| 241 | void Push2Control::DrawDisplayModuleRect(ofRectangle rect, float thickness) |
| 242 | { |
| 243 | if (mDisplayModule->HasTitleBar()) |
| 244 | { |
| 245 | rect.y -= IDrawableModule::TitleBarHeight(); |
| 246 | rect.height += IDrawableModule::TitleBarHeight(); |
| 247 | } |
| 248 | ofSetColor(255, 255, 255, ofMap(sin(gTime / 1000 * PI * 2), -1, 1, 60, 100)); |
| 249 | ofSetLineWidth(thickness); |
| 250 | ofNoFill(); |
| 251 | ofRect(rect.x - 3, rect.y - 3, rect.width + 6, rect.height + 6); |
| 252 | } |
| 253 | |
| 254 | void Push2Control::PostRender() |
| 255 | { |
nothing calls this directly
no test coverage detected