| 778 | } |
| 779 | |
| 780 | void TransactionControl::postRender() |
| 781 | { |
| 782 | Control::postRender(); |
| 783 | |
| 784 | // Draw shade if inactive |
| 785 | static Vec2<int> shadePos = {0, 0}; |
| 786 | if (tradeState.getLeftIndex() == tradeState.getRightIndex() || |
| 787 | (tradeState.getLeftStock() == 0 && tradeState.getRightStock() == 0)) |
| 788 | { |
| 789 | fw().renderer->draw(transactionShade, shadePos); |
| 790 | } |
| 791 | } |
| 792 | |
| 793 | void TransactionControl::unloadResources() |
| 794 | { |
nothing calls this directly
no test coverage detected