bjrnt/littlebobbytables

Implement Indicator + Interaction Functionality with Minimap

Closed this issue · 1 comments

Implement mouse_leave, mouse_enter and indicator_rect so that gaze interaction can be used to e.g. move around the minimap.

Created a fake_minimap object (remember to add the fakeminimap.cpp & .hpp file to the project, located inside of gui/widgets) which allows us access its indicator_rect object from interaction_controller via mouse_enter. User will only have one "click" once minimap is entered (thus avoiding issue with user clicking everywhere in dwell mode) This indicator_rect is then updated (in mouse_handler_base.cpp) each time the mouse is moved inside of the minimap. The indicator is changed to a shrinking circle once the minimap is entered (it is then changed back to the original clock type when a cursor/gaze is outside of minimap).