DVUI

MultiSelectMouse

Manage multi-selection. supports single-click and shift-click selection.

  • must persist accross frames
  • call processEvents after the "selectables" have been deinit()-ed.

Fields

#
first_selected_id:?usize
?usize
second_selected_id:?usize
?usize
should_select:bool
bool
shift_held:bool
bool
selection_changed:bool
bool

Functions

#
processEvents

Process any selection events

selectionChanged

Returns true if any selections changed this frame.