Fork me on GitHub
#off-topic
<
2020-03-27
>
danielstockton17:03:13

Any recommendations?

jaihindhreddy09:03:05

@U0DHDNZR9 I found the Malli, Bob and "How to Solve it?" talks to be very informative. I enjoyed every single one of them TBH.

👍 1
Mitch13:03:39

naively, I would say that each node would have a "selected" kid, and that your current selected window is determined by following the path of selected kids from the root node to the bottom

Mitch13:03:22

and then your navigation is just manipulating those paths?

jjttjj20:03:28

Thanks for the help! I think I solved it by just storing each rectangle height/width/x/y, and keeping a sorted map of sorted maps {x {y <leaf>}} and using [x y] as a cursor.