Commit Graph

7 Commits

Author SHA1 Message Date
Alexandre Bury
1ad515e5f0 rustfmt 2018-03-22 11:04:58 -07:00
Alexandre Bury
9bc723ab4a Do not accept any return value for callbacks
It got added so we could keep using `s.pop_layer()` in single-line callbacks.
It was confusing, and the return value was ignored anyway.
2018-03-16 15:50:56 -07:00
Alexandre Bury
8ecd4fdb62 Revert colors in mines example 2018-03-14 15:48:08 -07:00
Alexandre Bury
5ac0fce363 Refactor ColorStyle
Add the notion of PaletteColor to use a color from the palette.

Breaking change: most color styles are now methods rather than enum
variants.
2018-01-17 10:22:06 -08:00
Alexandre Bury
e4cd68a4eb Rustfmt 2017-12-30 23:03:42 +01:00
Alexandre Bury
fd259bf32c Mines example: add help message 2017-12-16 14:41:15 +01:00
Alexandre Bury
70906aa5de Add mines example 2017-11-29 02:11:11 -08:00