Commit Graph

25 Commits

Author SHA1 Message Date
luz paz 36226cfd0a Fix various typos in libs/canvas 2022-08-03 12:07:46 -06:00
Paul Davis 45403dd2f1 fix may-be-used-unset warning 2022-06-22 13:31:08 -06:00
Paul Davis f913373351 canvas: change Item::bb_clean() to better named Item::set_bbox_clean() 2022-04-26 22:04:08 -06:00
Paul Davis e670acbb0d canvastable: fix logic error in ::compute_bounding_box()
Since the bbox is determined by ::compute(), do not unconditionally clear it here
2021-10-03 16:46:25 -06:00
Paul Davis 747a49006c canvastable: finish comment 2021-10-02 17:45:43 -06:00
Paul Davis a8cc0be45c canvastable: change some variable names; don't add per-col/row spacing twice 2021-10-02 17:09:01 -06:00
Paul Davis df5699b03e canvastable: fix comment to reflect split row/col homogeneity 2021-10-02 16:24:04 -06:00
Paul Davis 8130d265fd canvas table: separate out row & col homogeneity 2021-10-02 16:19:49 -06:00
Paul Davis 590866f8c1 canvas table; move computation of bounding box 2021-10-02 16:19:49 -06:00
Paul Davis 88443586ef canvas table: clean up attach API; improve comments; move use of padding.right outside loop 2021-10-02 16:19:49 -06:00
Paul Davis cc09576ef5 canvas table: dramatic fixes/extensions of table packing algorithm 2021-10-01 18:38:18 -06:00
Paul Davis 0e779fbec9 canvastable: if a cell is empty, still adjust horiz/vert coordinates so subsequent cells are aligned 2021-09-29 11:20:50 -06:00
Paul Davis 378e4e7a03 canvastable: fix typo that led to mis-sized table (row/col mixup) 2021-09-29 11:20:50 -06:00
Paul Davis d07436b15d canvas: much more work on table layout 2021-09-23 11:48:29 -06:00
Paul Davis 47f7958714 canvastable: remove unused vars; rename others 2021-09-17 14:36:09 -06:00
Paul Davis 44b1cea54a canvastable: minor optimization 2021-09-17 12:53:16 -06:00
Paul Davis 59c8b99fee canvastable: remove rows/cols members, reuse ::compute() for ::size_request() 2021-09-17 12:51:26 -06:00
Paul Davis 98e0ad901a canvas: significant design changes and implementation fixes for Table 2021-09-17 12:34:13 -06:00
Paul Davis 999fe54ab8 canvas: a few variable cleanups in Table and more use of for (auto ..) 2021-09-14 22:39:59 -06:00
Paul Davis 6aaba192a0 canvas: improve computation of Table bounding box 2021-09-14 21:39:24 -06:00
Paul Davis 1c42c733f7 canvas: remove use of Table::Index from API of Table::attach() 2021-09-14 21:18:44 -06:00
Paul Davis d6208eabd8 canvas: fix handling of expanding items in table layout 2021-09-14 18:42:59 -06:00
Paul Davis 5def36f780 canvas: somewhat functional homogenous table layout 2021-09-14 18:29:39 -06:00
Paul Davis c5fcdc1119 canvas: more work on table layout, still incomplete 2021-09-14 18:29:39 -06:00
Paul Davis 44b11802bf canvas: initial (probably incorrect) implementation of Canvas::Table 2021-09-13 22:00:33 -06:00