| 532 | } |
| 533 | |
| 534 | void TitleBar::GetModuleDimensions(float& width, float& height) |
| 535 | { |
| 536 | if (HiddenByZoom()) |
| 537 | { |
| 538 | width = 0; |
| 539 | height = 0; |
| 540 | return; |
| 541 | } |
| 542 | |
| 543 | width = ofGetWidth() / GetOwningContainer()->GetDrawScale() + 5; |
| 544 | if (GetPixelWidth() < kDoubleHeightThreshold) |
| 545 | height = 36 * 2; |
| 546 | else |
| 547 | height = 36; |
| 548 | } |
| 549 | |
| 550 | void TitleBar::CheckboxUpdated(Checkbox* checkbox, double time) |
| 551 | { |
nothing calls this directly
no test coverage detected