about summary refs log tree commit diff stats
path: root/drawing.lua
Commit message (Expand)AuthorAgeFilesLines
* hoist couple of variables outKartik K. Agaram2022-07-131-3/+6
* use available variablesKartik K. Agaram2022-07-131-1/+1
* more idiomatic variable namesKartik K. Agaram2022-07-131-5/+5
* chunking by simple local variableKartik K. Agaram2022-07-131-4/+6
* make local functions look differentKartik K. Agaram2022-07-131-6/+6
* more chunks, same approachKartik K. Agaram2022-07-131-3/+6
* chunk up some long linesKartik K. Agaram2022-07-131-32/+32
* drop final mention of state global beyond main.luaKartik K. Agaram2022-07-121-29/+28
* replace globals with args in a few functionsKartik K. Agaram2022-07-121-71/+74
* correct a mis-named thresholdKartik K. Agaram2022-07-121-2/+2
* drop heavyweight near check on file load/storeKartik K. Agaram2022-07-121-19/+25
* left/right margin -> left/right coordinatesKartik K. Agaram2022-07-121-34/+34
* add state arg to a few functionsKartik K. Agaram2022-07-121-25/+25
* add state arg to few functionsKartik K. Agaram2022-07-121-2/+2
* add state arg to Drawing.updateKartik K. Agaram2022-07-121-7/+7
* add state arg to Drawing.drawKartik K. Agaram2022-07-121-15/+15
* add state arg to Drawing.mouse_releasedKartik K. Agaram2022-07-121-20/+20
* add state arg to Drawing.keychord_pressedKartik K. Agaram2022-07-121-32/+32
* add state arg to Drawing.mouse_pressedKartik K. Agaram2022-07-121-15/+15
* group all editor globalsKartik K. Agaram2022-07-121-94/+94
* make colors easier to editKartik K. Agaram2022-07-111-7/+7
* stop pretending globals are localKartik K. Agaram2022-07-111-4/+0
* make freehand drawings smootherKartik K. Agaram2022-07-051-1/+17
* bugfix: 'escape' to cancel a strokeKartik K. Agaram2022-07-051-1/+6
* right marginKartik K. Agaram2022-06-301-7/+7
* rip out notion of Line_widthKartik K. Agaram2022-06-301-7/+7
* keep drawings within the line width slider as wellKartik K. Agaram2022-06-221-7/+7
* clean upKartik K. Agaram2022-06-171-17/+0
* more precise shape selectionKartik K. Agaram2022-06-171-0/+17
* correct commit f3abc2cbf2Kartik K. Agaram2022-06-171-7/+22
* better handle moving pointsKartik K. Agaram2022-06-171-0/+5
* dead codeKartik K. Agaram2022-06-151-45/+0
* moveKartik K. Agaram2022-06-151-28/+28
* .Kartik K. Agaram2022-06-151-6/+3
* stop recording points for arcsKartik K. Agaram2022-06-151-1/+0
* move current mode indicator slightlyKartik K. Agaram2022-06-151-2/+2
* standardize on ordering of casesKartik K. Agaram2022-06-151-9/+9
* test: moving a pointKartik K. Agaram2022-06-141-13/+4
* tests for drawing polygonsKartik K. Agaram2022-06-141-1/+9
* start writing some tests for drawingsKartik K. Agaram2022-06-141-1/+3
* .Kartik K. Agaram2022-06-141-2/+2
* extract variable Margin_leftKartik K. Agaram2022-06-141-30/+30
* mouse buttons are integers, not stringsKartik K. Agaram2022-06-141-23/+23
* override mouse state lookups in testsKartik K. Agaram2022-06-121-41/+41
* set current_drawing_index with current_drawingKartik K. Agaram2022-06-101-3/+6
* include drawing index in a few placesKartik K. Agaram2022-06-101-15/+15
* stop saving the entire file when modifying drawingsKartik K. Agaram2022-06-101-7/+0
* yet another key conflictKartik K. Agaram2022-06-041-1/+1
* switch circles to 'o' to avoid conflicting with copyKartik K. Agaram2022-06-041-2/+2
* try to maintain a reasonable line widthKartik K. Agaram2022-06-041-1/+1