* Draw a sticky box. * @param r Rectangle of the box. * @param colour Colour of the sticky box. * @param clicked Box is lowered. */
| 663 | * @param clicked Box is lowered. |
| 664 | */ |
| 665 | static inline void DrawStickyBox(const Rect &r, Colours colour, bool clicked) |
| 666 | { |
| 667 | DrawImageButtons(r, WWT_STICKYBOX, colour, clicked, clicked ? SPR_PIN_UP : SPR_PIN_DOWN, SA_CENTER); |
| 668 | } |
| 669 | |
| 670 | /** |
| 671 | * Draw a defsize box. |
no test coverage detected