Kartik K. Agaram
6e89f6c63f
make text and drawings the same width
2022-05-19 22:02:18 -07:00
Kartik K. Agaram
f69e17d350
another integer coordinate
2022-05-19 05:49:32 -07:00
Kartik K. Agaram
d482694a2a
delete unused arg
2022-05-19 05:41:12 -07:00
Kartik K. Agaram
f91e520124
scroll past first page
...
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.
2022-05-18 17:42:08 -07:00
Kartik K. Agaram
e27165cb9f
rectangle and square shapes
2022-05-18 15:29:18 -07:00
Kartik K. Agaram
28c29eecde
lighter color for in-progress strokes
2022-05-18 13:09:06 -07:00
Kartik K. Agaram
d0eeb8586f
use the provided args everywhere
...
This will be important when we implement scrolling..
2022-05-18 07:38:02 -07:00
Kartik K. Agaram
bdf9b27260
casting about for more helpers to extract..
2022-05-18 07:34:18 -07:00
Kartik K. Agaram
0fc3ed212e
move
2022-05-18 07:21:50 -07:00
Kartik K. Agaram
b544e8c357
forgot to move this special case out
2022-05-17 23:23:26 -07:00
Kartik K. Agaram
c1ba40ac70
delegate update events to drawings
2022-05-17 23:16:08 -07:00
Kartik K. Agaram
10bc32e2f0
DRY some code
2022-05-17 23:10:58 -07:00
Kartik K. Agaram
4818672c11
move mouse_released events to Drawing
2022-05-17 22:55:45 -07:00
Kartik K. Agaram
92bd6839c7
split mouse_pressed events between Text and Drawing
2022-05-17 22:53:09 -07:00
Kartik K. Agaram
222a11a8dd
split keyboard handling between Text and Drawing
2022-05-17 22:43:41 -07:00
Kartik K. Agaram
de495ae0f1
several more modules
...
This is probably not ideal; let's see how it goes..
2022-05-17 21:34:55 -07:00
Kartik K. Agaram
2aa8c67a22
extract a module
...
I want to use `drawing` for locals, so I'll use uppercase the module
name just like globals.
2022-05-17 19:41:42 -07:00