| 2815 | } |
| 2816 | |
| 2817 | void UIControlConnection::PreDraw() |
| 2818 | { |
| 2819 | SetShowing(true); |
| 2820 | |
| 2821 | if (mUIOwner->GetLayoutControl(mControl, mMessageType).mControlCable) |
| 2822 | mUIOwner->GetLayoutControl(mControl, mMessageType).mControlCable->SetEnabled(sDrawCables); |
| 2823 | |
| 2824 | mControlEntry->SetShowing(mMessageType != kMidiMessage_PitchBend); |
| 2825 | mValueEntry->SetShowing((mType == kControlType_SetValue || mType == kControlType_SetValueOnRelease) && mIncrementAmount == 0); |
| 2826 | m14BitModeCheckbox->SetShowing(mMessageType == kMidiMessage_Control && mControl >= 32); |
| 2827 | mIncrementalEntry->SetShowing(mType == kControlType_Slider || mType == kControlType_SetValue || mType == kControlType_SetValueOnRelease); |
| 2828 | } |
| 2829 | |
| 2830 | void UIControlConnection::DrawList(int index) |
| 2831 | { |
nothing calls this directly
no test coverage detected