Commit graph

16 commits

Author SHA1 Message Date
bcf94cd105 Fix draw cache not redrawing after color picking
Also fix being able to draw when help window is open.
2020-07-22 19:09:05 +09:00
a6517b8982 Render to cache that only updates on click
This is to prevent slowdown when drawing per frame. Previously, the
program would draw each individual triangle each frame. Now the draws
are cached to a texture that is drawn each frame, and the cache is
recreated on click or undo/redo events.
2020-07-22 19:03:33 +09:00
3d266137d7 Impl saving image with "S" 2020-07-22 18:19:34 +09:00
099b0e65d6 Impl changing background color, with "B" 2020-07-22 17:46:20 +09:00
4a90dd41e6 Dont save window settings for help windows 2020-07-22 16:30:16 +09:00
187c52bf5f Impl choosing colors by color picker menu "C" 2020-07-22 16:26:57 +09:00
7c71ce4d1b Add starting help info, impl undo tri in progress 2020-07-22 16:12:21 +09:00
20418c9a5a Impl undo/redo with U/R keys 2020-07-22 15:33:09 +09:00
d7b8dd23a9 Impl drawing of white triangles 2020-07-22 15:28:36 +09:00
b9d7a0496d Some restructuring of State 2020-07-22 15:19:37 +09:00
2fe86ad368 Move logic/data to state
Also set "H" key to toggle help window instead of only showing when "H"
is pressed down.
2020-07-22 15:11:21 +09:00
34d1955bd1 Fix check for git submodules 2020-07-22 15:02:38 +09:00
204aeb8a9a Some work on mouse input to tri 2020-07-21 20:44:10 +09:00
1434948db9 Impl some structure to the project 2020-07-21 20:34:39 +09:00
26c7aacea0 Impl basic drawing, a basic start to the program 2020-07-21 20:15:10 +09:00
5a7f214a5d Init skeleton project 2020-07-21 20:03:22 +09:00