Commit Graph

8 Commits

Author SHA1 Message Date
nick black
1108ebb5b6
Fix up some subtle pile issues
ncplane_destroy() needs to call ncplane_reparent_family(), not
ncplane_reparent() as it was doing (closes #1291). ->absy and
->absx actually are absolute; return them directly for an O(1)
ncplane_abs_yx() (down from O(N), huzzah). Add some unit tests
related to destroying and reparenting (#1286). Add ncplane_abs_y()
and ncplane_abs_x(), document them, etc.
2021-01-15 00:32:55 -05:00
nick black
7932859b50
unit test for position update following reparent #1286 2021-01-14 23:17:24 -05:00
nick black
6cf7eca50f
unit tests for ncplane_abs_yx() #1286 2021-01-14 23:09:22 -05:00
nick black
fd2acde1b1 rename cell->nccell, keep alias #1200 2020-12-13 00:49:37 -05:00
nick black
a3220b8a73
add ncplane_descendant_p(), unit test it #1192 2020-12-09 00:18:47 -05:00
nick black
ec7bfea22d
get Piles reparent unit test working #1193 2020-12-08 23:54:10 -05:00
nick black
42ac6bb90b
more pile reparenting testing #1193 2020-12-08 14:52:41 -05:00
nick black
beed7c359c
add some pile rendering unit tests 2020-12-08 13:50:31 -05:00