| 1828 | } |
| 1829 | |
| 1830 | static void paintToolBegin(Window& self) |
| 1831 | { |
| 1832 | bool active = ToolManager::toolSet(self, widx::paintBrush, CursorId::brush); |
| 1833 | self.activatedWidgets &= ~(1U << widx::paintBrush); |
| 1834 | self.activatedWidgets |= (1U << widx::paintBrush) * active; |
| 1835 | self.invalidate(); |
| 1836 | } |
| 1837 | |
| 1838 | static void paintToolAbort(Window& self) |
| 1839 | { |
no test coverage detected