Commit Graph

4 Commits

Author SHA1 Message Date
Glen Whitney 07bf78c7bb More color prep: define color aspects of a cell
This change does away with separate attributes foreground and background,
  opting for an array of color "aspects", where the aspect can vary
  over an enum which can either be FOREGROUND or BACKGROUND. This will allow
  writing a single set of color-editing code which can work either on the
  foreground or background color of a cell.
2019-08-03 12:42:32 -04:00
Glen Whitney 91b5ae7e1f Further prepare for color rendering; highlight row and column
Now palettes are allocated and deallocated in fteapot as well as teapot;
  both executables have some color rendering, with fteapot using the cell
  foreground and background (there's just no way to set them at the moment).
  teapot is so far only using color in the header.
  Implements #39.
2019-08-02 23:21:58 -04:00
Glen Whitney 39c12c08e0 Implement a fill-with menu item
This new option fills the entire marked region with copies of the current cell.
  Implements #35.
2019-07-27 04:08:42 -04:00
Glen Whitney 8b95dec96d Factor Cell into its own file
THis will make adding other Cell operations easier.
2019-07-27 03:00:03 -04:00