* Set additional pre/inter/post space for the container. * * @param pip_pre Additional space in front of the first child widget (above * for the vertical container, at the left for the horizontal container). * @param pip_inter Additional space between two child widgets. * @param pip_post Additional space after the last child widget (below for the * vertic
| 1534 | * vertical container, at the right for the horizontal container). |
| 1535 | */ |
| 1536 | void NWidgetPIPContainer::SetPIP(uint8_t pip_pre, uint8_t pip_inter, uint8_t pip_post) |
| 1537 | { |
| 1538 | this->uz_pip_pre = pip_pre; |
| 1539 | this->uz_pip_inter = pip_inter; |
| 1540 | this->uz_pip_post = pip_post; |
| 1541 | |
| 1542 | this->pip_pre = ScaleGUITrad(this->uz_pip_pre); |
| 1543 | this->pip_inter = ScaleGUITrad(this->uz_pip_inter); |
| 1544 | this->pip_post = ScaleGUITrad(this->uz_pip_post); |
| 1545 | } |
| 1546 | |
| 1547 | /** |
| 1548 | * Set additional pre/inter/post space for the container. |
no test coverage detected