 
 DU_Quantizer_Function * function;
 
-void trig_isr()
-{
-  triggered = true;
-}
+void trig_isr() { function->trig_callback(); }
 
 void trigger_mode_scroll_callback(int delta) { function->widget_trigger_mode_scroll_callback(delta); }
 void key_scroll_callback(int delta) { function->widget_key_scroll_callback(delta); }

    }
    container_notes_->attach_click_callback_array(notes_click_callback);

    trigger_mode = false;
    key = 0;
    scale_id = 0;

    }
  }

  void trig_callback()
  {
    triggered = true;
  }

  void widget_trigger_mode_scroll_callback(int delta)
  {
    trigger_mode = delta > 0;
