| 224 | } |
| 225 | |
| 226 | void Push2Control::DrawModuleUnclipped() |
| 227 | { |
| 228 | if (mDisplayModule != nullptr && !mDisplayModule->IsDeleted() && !sDrawingPush2Display && |
| 229 | mDisplayModule->GetOwningContainer() != nullptr && mDisplayModule->IsShowing()) |
| 230 | { |
| 231 | ofPushMatrix(); |
| 232 | ofPushStyle(); |
| 233 | ofVec2f pos = GetPosition(); |
| 234 | ofTranslate(-pos.x, -pos.y); |
| 235 | DrawDisplayModuleRect(mDisplayModule->GetRect(), 3); |
| 236 | ofPopMatrix(); |
| 237 | ofPopStyle(); |
| 238 | } |
| 239 | } |
| 240 | |
| 241 | void Push2Control::DrawDisplayModuleRect(ofRectangle rect, float thickness) |
| 242 | { |
nothing calls this directly
no test coverage detected