about summary refs log tree commit diff stats
path: root/help.lua
Commit message (Collapse)AuthorAgeFilesLines
* get rid of to_textKartik K. Agaram2023-04-011-1/+1
| | | | | | | | | | | | | I've been misunderstanding what Text objects are. They can render a lot of text with a given line height, word wrap, colors in various places. And I've been creating one for every word :facepalm: Unwinding this will take some time. This is just a first baby step for ad hoc text objects. Turns out I don't need to convert to Text to get something's rendered width, just the Font can do that. Thanks to the LÖVE Discord for educating me: https://discord.com/channels/329400828920070144/330089431379869708/1091535487333826580
* infrastructure for caching LÖVE text objectsKartik K. Agaram2022-08-241-6/+1
|
* bugfix: online helpKartik K. Agaram2022-07-221-6/+10
| | | | Broken in the commit before last.
* replace globals with args in a few functionsKartik K. Agaram2022-07-121-2/+2
| | | | | | | | | - Drawing.draw_shape - Drawing.draw_pending_shape - Drawing.in_drawing - Drawing.find_or_insert_point - Drawing.near - Drawing.pixels
* left/right margin -> left/right coordinatesKartik K. Agaram2022-07-121-39/+39
| | | | | Editor state initialization now depends on window dimensions, so we have to more carefully orchestrate startup.
* add state arg to few functionsKartik K. Agaram2022-07-121-110/+110
| | | | | | - draw_help_without_mouse_pressed - draw_help_with_mouse_pressed - current_shape
* group all editor globalsKartik K. Agaram2022-07-121-107/+107
| | | | We're still accessing them through a global. But we'll change that next.
* make colors easier to editKartik K. Agaram2022-07-111-4/+4
|
* keep online help inside of drawingKartik K. Agaram2022-07-041-2/+2
|
* rip out notion of Line_widthKartik K. Agaram2022-06-301-2/+2
|
* typosKartik K. Agaram2022-06-191-2/+2
|
* fix help for rectangles and squaresKartik K. Agaram2022-06-181-0/+20
| | | | Thanks John Blommers (https://github.com/akkartik/lines.love/issues/1#issuecomment-1159582457)
* bugfix: alignment of help screenKartik K. Agaram2022-06-151-33/+33
|
* make online help fit within a drawingKartik K. Agaram2022-06-041-9/+3
|
* yet another key conflictKartik K. Agaram2022-06-041-2/+2
|
* switch circles to 'o' to avoid conflicting with copyKartik K. Agaram2022-06-041-2/+2
|
* bugfix in helpKartik K. Agaram2022-06-041-2/+2
|
* 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-70/+70
|
* help tweakKartik K. Agaram2022-05-211-1/+3
|
* support for naming pointsKartik K. Agaram2022-05-211-0/+2
| | | | There's still an absence of affordance showing when you're in naming mode.
* bugfix: missed rename in one fileKartik K. Agaram2022-05-211-2/+2
|
* a few more integer coordinatesKartik K. Agaram2022-05-191-33/+33
|
* rectangle and square shapesKartik K. Agaram2022-05-181-0/+16
|
* several more modulesKartik K. Agaram2022-05-171-0/+118
This is probably not ideal; let's see how it goes..