| 207 | } |
| 208 | |
| 209 | void MultiListBox::updateOnlyEmpty() |
| 210 | { |
| 211 | if (nullptr == mWidgetEmpty) |
| 212 | return; |
| 213 | |
| 214 | // кнопка, для заполнения пустоты |
| 215 | if (mWidthBar >= _getClientWidget()->getWidth()) |
| 216 | mWidgetEmpty->setVisible(false); |
| 217 | else |
| 218 | { |
| 219 | mWidgetEmpty->setCoord(mWidthBar, 0, _getClientWidget()->getWidth() - mWidthBar, getButtonHeight()); |
| 220 | mWidgetEmpty->setVisible(true); |
| 221 | } |
| 222 | } |
| 223 | |
| 224 | void MultiListBox::notifyListChangePosition(ListBox* _sender, size_t _position) |
| 225 | { |
nothing calls this directly
no test coverage detected