mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-26 07:52:05 +03:00
9533c10137
The main button API only allows re-writing one color of the image. Since we need to rewrite multiple colors for the switch, I introduced a `image_batch` for buttons which lets you do all kinds of manual fanciness, and pass the result into the button API.
6 lines
220 B
XML
6 lines
220 B
XML