| 105 | } |
| 106 | |
| 107 | void CanvasControls::DrawModule() |
| 108 | { |
| 109 | ofPushStyle(); |
| 110 | ofFill(); |
| 111 | ofSetColor(100, 100, 100); |
| 112 | ofRect(0, 0, mWidth, 19); |
| 113 | ofPopStyle(); |
| 114 | mRemoveElementButton->Draw(); |
| 115 | mNumVisibleRowsEntry->Draw(); |
| 116 | mClearButton->Draw(); |
| 117 | mDragModeSelector->Draw(); |
| 118 | if (mSelectedElement) |
| 119 | { |
| 120 | for (auto* control : mSelectedElement->GetUIControls()) |
| 121 | control->Draw(); |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | void CanvasControls::GetModuleDimensions(float& width, float& height) |
| 126 | { |
nothing calls this directly
no test coverage detected