diff options
Diffstat (limited to 'src/render.rs')
-rw-r--r-- | src/render.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/render.rs b/src/render.rs new file mode 100644 index 0000000..f642a04 --- /dev/null +++ b/src/render.rs | |||
@@ -0,0 +1,19 @@ | |||
1 | use sdl2::pixels::Color; | ||
2 | use sdl2::rect::{Point, Rect}; | ||
3 | |||
4 | pub enum Signal { | ||
5 | Redraw, | ||
6 | Request(RequestData), | ||
7 | DrawStatusline, | ||
8 | DrawCommandBox, | ||
9 | DrawBrush, | ||
10 | DrawLineToGrid, | ||
11 | DrawSymmetry, | ||
12 | DrawApp, | ||
13 | Quit, | ||
14 | } | ||
15 | |||
16 | pub enum RequestData { | ||
17 | WinSize, | ||
18 | MouseLoc, | ||
19 | } | ||