Commit Graph

17 Commits

Author SHA1 Message Date
Kartik K. Agaram f8b3910483 screens now run 2023-12-31 16:59:34 -08:00
Kartik K. Agaram 347d863a9d rip out the canvas
Dash will only be running a well-behaved LÖVE program.
2023-12-31 16:03:23 -08:00
Kartik K. Agaram 0873264a6a escape hatch when print is overridden 2023-12-17 13:30:17 -08:00
Kartik K. Agaram 966f8a15bf simplify state management for menus 2023-12-04 22:09:47 -08:00
Kartik K. Agaram e93d43253d close all menus when tapping any button
I think I'm least likely to break something if I do this as explicitly
as possible rather than trying to figure out the right helper to put it
in once and for all. So just add some boilerplate to reset all state at
the start of each onpress1 handler. This seems like a good choice since
we aren't planning to add a lot more menus that would quadratically
explode the boilerplate.
2023-12-04 21:34:39 -08:00
Kartik K. Agaram 54ef90bca7 extract a second helper for buttons 2023-11-25 23:03:36 -08:00
Kartik K. Agaram d98bc8cc7d lay out buttons based on device dimensions 2023-11-22 12:38:16 -08:00
Kartik K. Agaram 0d4500e41d Mike's suggested button layout
* No more 'clone', now that I realize we can share definitions between
  panes.
* New 'stop' button.
2023-11-21 23:11:56 -08:00
Kartik K. Agaram 2e66d2f0fd send errors from event handlers to output editor 2023-11-21 21:22:52 -08:00
Kartik K. Agaram 3d5a116ddf ahh, got the background color sliders working
And I don't even need to rerun to update.
2023-11-21 02:31:17 -08:00
Kartik K. Agaram 76bfcba47e sliders for font size and color settings 2023-11-21 02:19:56 -08:00
Kartik K. Agaram cfb5f2dd7d clean up a debug print 2023-11-20 22:47:31 -08:00
Kartik K. Agaram f580e2efca add lots of buttons to the toolbar 2023-11-20 22:23:09 -08:00
Kartik K. Agaram e5e6193184 show current pane number 2023-11-20 18:19:50 -08:00
Kartik K. Agaram 5133d7c11f get rid of pane transition animations
It seems hard and is also liable to put pressure on the settings menu.
2023-11-20 07:29:38 -08:00
Kartik K. Agaram 5d49cd9507 some very basic animations for switching panes
In order to achieve this I'm forced to switch the default LÖVE blend
mode, which might not be a good trade-off. In particular, any use of the
alpha channel looks very different.

Even if I get rid of this commit, I'm learning how hard it's going to be
to support all possible blend modes in an app like this. So there are
some major limitations in the sorts of LÖVE programs that will be
possible.
2023-11-19 18:42:35 -08:00
Kartik K. Agaram 20f95bc766 running `print` now appends to output editor 2023-11-19 14:36:42 -08:00