Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | . | Kartik K. Agaram | 2022-06-14 | 1 | -2/+2 | |
| | ||||||
* | extract variable Margin_left | Kartik K. Agaram | 2022-06-14 | 1 | -30/+30 | |
| | ||||||
* | mouse buttons are integers, not strings | Kartik K. Agaram | 2022-06-14 | 1 | -23/+23 | |
| | | | | | | Not sure where that idiom comes from or why strings work in some places (auto-coercion?). I picked it up off some example apps. But https://love2d.org/wiki/love.mouse.isDown says it should be an integer. | |||||
* | override mouse state lookups in tests | Kartik K. Agaram | 2022-06-12 | 1 | -41/+41 | |
| | | | | | | | If I'd had this stuff in my test harness earlier, two recent commits would have failed tests and given me early warning: ff88238ff1 ff88a2a927 | |||||
* | set current_drawing_index with current_drawing | Kartik K. Agaram | 2022-06-10 | 1 | -3/+6 | |
| | ||||||
* | include drawing index in a few places | Kartik K. Agaram | 2022-06-10 | 1 | -15/+15 | |
| | ||||||
* | stop saving the entire file when modifying drawings | Kartik K. Agaram | 2022-06-10 | 1 | -7/+0 | |
| | | | | Now we just disallow that entirely. | |||||
* | yet another key conflict | Kartik K. Agaram | 2022-06-04 | 1 | -1/+1 | |
| | ||||||
* | switch circles to 'o' to avoid conflicting with copy | Kartik K. Agaram | 2022-06-04 | 1 | -2/+2 | |
| | ||||||
* | try to maintain a reasonable line width | Kartik K. Agaram | 2022-06-04 | 1 | -1/+1 | |
| | ||||||
* | rename | Kartik K. Agaram | 2022-06-03 | 1 | -10/+10 | |
| | ||||||
* | local var | Kartik K. Agaram | 2022-06-03 | 1 | -60/+61 | |
| | ||||||
* | switch freehand hotkey to eliminate conflict with search | Kartik K. Agaram | 2022-06-02 | 1 | -1/+1 | |
| | | | | I'm now following Inkscape, and the mnemonic is 'pencil'. | |||||
* | crisp font rendering | Kartik K. Agaram | 2022-06-02 | 1 | -15/+3 | |
| | ||||||
* | rename | Kartik K. Agaram | 2022-06-02 | 1 | -2/+2 | |
| | ||||||
* | bugfix: undo drawing creation | Kartik K. Agaram | 2022-06-02 | 1 | -1/+4 | |
| | | | | | Also clean up drawing state to make sure we don't get into hard-to-debug situations. | |||||
* | after much struggle, a brute-force undo | Kartik K. Agaram | 2022-06-02 | 1 | -0/+2 | |
| | | | | | | | | | Incredibly inefficient, but I don't yet know how to efficiently encode undo mutations that can span multiple lines. There seems to be one bug related to creating new drawings; they're not spawning events and undoing past drawing creation has some weird artifacts. Redo seems to consistently work, though. | |||||
* | missing temporary modes in a couple more places | Kartik K. Agaram | 2022-05-30 | 1 | -2/+4 | |
| | ||||||
* | missing shape modes in a couple more places | Kartik K. Agaram | 2022-05-30 | 1 | -1/+1 | |
| | ||||||
* | more robust transitions to temporary modes | Kartik K. Agaram | 2022-05-30 | 1 | -3/+10 | |
| | | | | | | I seem to often accidentally press C-n twice to go into name mode. Now doing so overrides the previous temporary mode (name/move/delete point) without clobbering the real shape-drawing mode. | |||||
* | experiment: give up on changing shape mode | Kartik K. Agaram | 2022-05-30 | 1 | -9/+1 | |
| | | | | | | | | I often find myself accidentally hovering over some shape or other when switching modes. One additional reason to do this: I never included it in the help. So it hasn't been very high-priority. | |||||
* | bugfix: function names | Kartik K. Agaram | 2022-05-30 | 1 | -3/+3 | |
| | ||||||
* | ignore 'name' mode in a few places | Kartik K. Agaram | 2022-05-30 | 1 | -0/+4 | |
| | ||||||
* | go through App in a couple more places | Kartik K. Agaram | 2022-05-29 | 1 | -3/+3 | |
| | ||||||
* | few more transitions between shapes | Kartik K. Agaram | 2022-05-25 | 1 | -2/+10 | |
| | ||||||
* | couple of TODOs | Kartik K. Agaram | 2022-05-21 | 1 | -0/+1 | |
| | ||||||
* | bugfix: escape key to hide online help | Kartik K. Agaram | 2022-05-21 | 1 | -6/+0 | |
| | ||||||
* | show when we're naming a point | Kartik K. Agaram | 2022-05-21 | 1 | -2/+14 | |
| | ||||||
* | support for naming points | Kartik K. Agaram | 2022-05-21 | 1 | -0/+16 | |
| | | | | There's still an absence of affordance showing when you're in naming mode. | |||||
* | one missing transition between shape modes | Kartik K. Agaram | 2022-05-21 | 1 | -1/+3 | |
| | ||||||
* | several bugfixes | Kartik K. Agaram | 2022-05-21 | 1 | -2/+5 | |
| | | | | All introduced when I built rectangles and squares in commit e27165cb. | |||||
* | bugfix | Kartik K. Agaram | 2022-05-21 | 1 | -10/+2 | |
| | | | | | Looks like I never retested rectangles after I implemented drawing squares, even though I made changes to the rectangle implementation :/ | |||||
* | make text and drawings the same width | Kartik K. Agaram | 2022-05-19 | 1 | -13/+15 | |
| | ||||||
* | another integer coordinate | Kartik K. Agaram | 2022-05-19 | 1 | -1/+1 | |
| | ||||||
* | delete unused arg | Kartik K. Agaram | 2022-05-19 | 1 | -1/+1 | |
| | ||||||
* | scroll past first page | Kartik K. Agaram | 2022-05-18 | 1 | -0/+1 | |
| | | | | | | Still some limitations. The text cursor has to be visible on screen, so if you have a long series of drawings without intervening lines of text you won't be able to scroll through them all. | |||||
* | rectangle and square shapes | Kartik K. Agaram | 2022-05-18 | 1 | -6/+162 | |
| | ||||||
* | lighter color for in-progress strokes | Kartik K. Agaram | 2022-05-18 | 1 | -0/+1 | |
| | ||||||
* | use the provided args everywhere | Kartik K. Agaram | 2022-05-18 | 1 | -4/+4 | |
| | | | | This will be important when we implement scrolling.. | |||||
* | casting about for more helpers to extract.. | Kartik K. Agaram | 2022-05-18 | 1 | -3/+3 | |
| | ||||||
* | move | Kartik K. Agaram | 2022-05-18 | 1 | -91/+92 | |
| | ||||||
* | forgot to move this special case out | Kartik K. Agaram | 2022-05-17 | 1 | -3/+0 | |
| | ||||||
* | delegate update events to drawings | Kartik K. Agaram | 2022-05-17 | 1 | -0/+25 | |
| | ||||||
* | DRY some code | Kartik K. Agaram | 2022-05-17 | 1 | -6/+6 | |
| | ||||||
* | move mouse_released events to Drawing | Kartik K. Agaram | 2022-05-17 | 1 | -0/+60 | |
| | ||||||
* | split mouse_pressed events between Text and Drawing | Kartik K. Agaram | 2022-05-17 | 1 | -0/+20 | |
| | ||||||
* | split keyboard handling between Text and Drawing | Kartik K. Agaram | 2022-05-17 | 1 | -2/+163 | |
| | ||||||
* | several more modules | Kartik K. Agaram | 2022-05-17 | 1 | -12/+244 | |
| | | | | This is probably not ideal; let's see how it goes.. | |||||
* | extract a module | Kartik K. Agaram | 2022-05-17 | 1 | -0/+51 | |
I want to use `drawing` for locals, so I'll use uppercase the module name just like globals. |