Given a point (a mouse position), a box, and a possible indent, returns information regarding it's position.
For example if we "zoom" in on a list section like this where the mouse is hovering at the level of B1 (not neccesarily inside it):
... - C1 - B1- A1... Copy
... - C1 - B1- A1...
We are interested in the following:
outside-left \ inside \ inside-indent \ outside-right \ \ \outside-top \ \ \-----------------┌──────────────┬───────────────┐ │B1 │ │ │ │ │top │ │ │-----------------├──────────────┼───────────────┤ │<---indent--->│ │ │ │ │bottom │ │ │-----------------└──────────────┴───────────────┘outside-bottom Copy
outside-left \ inside \ inside-indent \ outside-right \ \ \outside-top \ \ \-----------------┌──────────────┬───────────────┐ │B1 │ │ │ │ │top │ │ │-----------------├──────────────┼───────────────┤ │<---indent--->│ │ │ │ │bottom │ │ │-----------------└──────────────┴───────────────┘outside-bottom
We can use this information to determine where we want to drop something.
Given a point (a mouse position), a box, and a possible indent, returns information regarding it's position.
For example if we "zoom" in on a list section like this where the mouse is hovering at the level of B1 (not neccesarily inside it):
We are interested in the following:
We can use this information to determine where we want to drop something.