Defines the RevMouse class, which manages mouse interactions for the grid component. It encapsulates all logic for mouse-based cell interaction, drag operations, and UI feedback within the grid.
Main responsibilities
Hover Tracking: Tracks which cell the mouse is currently hovering over and updates the cursor and tooltip/title text accordingly.
Drag Operations: Keeps track of the current drag type (e.g., selection extension, column resizing/moving) for mouse-driven grid actions.
Event Handling: Provides event hooks for cell enter/exit and cell render invalidation, allowing integration with other grid behaviors.
Cursor and Title Management: Updates cursor and title text when hovered cell changes, mouse actions become possible or dragging commences.
Integration: Works closely with the grid's canvas and view layout to map mouse positions to grid cells and update UI feedback.