Expand description
Some utility functions that pop up all the time.
Structs§
- Some state for mouse interactions.
- Some state for mouse interactions with multiple areas.
Enums§
- Click states for double click.
Functions§
- Column at given position. This uses only the horizontal components of the given areas.
- Find a column position when dragging with the mouse. This uses positions outside the given areas to estimate an invisible column that could be meant by the mouse position. It uses the heuristic
1 column == 1 itemfor simplicity’s sake. - Which of the given rects is at the position.
- Which row of the given contains the position. This uses only the vertical components of the given areas.
- Find a row position when dragging with the mouse. This uses positions outside the given areas to estimate an invisible row that could be meant by the mouse position. It uses the heuristic
1 row == 1 itemfor simplicity’s sake. - Sets the global double click time-out between consecutive clicks. In milliseconds.