about summary refs log tree commit diff stats
path: root/drawing.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* renameKartik K. Agaram2022-06-031-10/+10
|
* local varKartik K. Agaram2022-06-031-60/+61
|
* switch freehand hotkey to eliminate conflict with searchKartik K. Agaram2022-06-021-1/+1
| | | | I'm now following Inkscape, and the mnemonic is 'pencil'.
* crisp font renderingKartik K. Agaram2022-06-021-15/+3
|
* renameKartik K. Agaram2022-06-021-2/+2
|
* bugfix: undo drawing creationKartik K. Agaram2022-06-021-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 undoKartik K. Agaram2022-06-021-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 placesKartik K. Agaram2022-05-301-2/+4
|
* missing shape modes in a couple more placesKartik K. Agaram2022-05-301-1/+1
|
* more robust transitions to temporary modesKartik K. Agaram2022-05-301-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 modeKartik K. Agaram2022-05-301-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 namesKartik K. Agaram2022-05-301-3/+3
|
* ignore 'name' mode in a few placesKartik K. Agaram2022-05-301-0/+4
|
* go through App in a couple more placesKartik K. Agaram2022-05-291-3/+3
|
* few more transitions between shapesKartik K. Agaram2022-05-251-2/+10
|
* couple of TODOsKartik K. Agaram2022-05-211-0/+1
|
* bugfix: escape key to hide online helpKartik K. Agaram2022-05-211-6/+0
|
* show when we're naming a pointKartik K. Agaram2022-05-211-2/+14
|
* support for naming pointsKartik K. Agaram2022-05-211-0/+16
| | | | There's still an absence of affordance showing when you're in naming mode.
* one missing transition between shape modesKartik K. Agaram2022-05-211-1/+3
|
* several bugfixesKartik K. Agaram2022-05-211-2/+5
| | | | All introduced when I built rectangles and squares in commit e27165cb.
* bugfixKartik K. Agaram2022-05-211-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 widthKartik K. Agaram2022-05-191-13/+15
|
* another integer coordinateKartik K. Agaram2022-05-191-1/+1
|
* delete unused argKartik K. Agaram2022-05-191-1/+1
|
* scroll past first pageKartik K. Agaram2022-05-181-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 shapesKartik K. Agaram2022-05-181-6/+162
|
* lighter color for in-progress strokesKartik K. Agaram2022-05-181-0/+1
|
* use the provided args everywhereKartik K. Agaram2022-05-181-4/+4
| | | | This will be important when we implement scrolling..
* casting about for more helpers to extract..Kartik K. Agaram2022-05-181-3/+3
|
* moveKartik K. Agaram2022-05-181-91/+92
|
* forgot to move this special case outKartik K. Agaram2022-05-171-3/+0
|
* delegate update events to drawingsKartik K. Agaram2022-05-171-0/+25
|
* DRY some codeKartik K. Agaram2022-05-171-6/+6
|
* move mouse_released events to DrawingKartik K. Agaram2022-05-171-0/+60
|
* split mouse_pressed events between Text and DrawingKartik K. Agaram2022-05-171-0/+20
|
* split keyboard handling between Text and DrawingKartik K. Agaram2022-05-171-2/+163
|
* several more modulesKartik K. Agaram2022-05-171-12/+244
| | | | This is probably not ideal; let's see how it goes..
* extract a moduleKartik K. Agaram2022-05-171-0/+51
I want to use `drawing` for locals, so I'll use uppercase the module name just like globals.