void InputEventWithModifiers::set_modifiers_from_event(const InputEventWithModifiers *event) { set_alt(event->get_alt()); set_shift(event->get_shift()); set_control(event->get_control()); set_metakey(event->get_metakey()); }
ClearDefaultKeyframe::ClearDefaultKeyframe(MWindow *mwindow) : BC_MenuItem(_("Clear default keyframe"), "Alt-Del", DELETE) { set_alt(); this->mwindow = mwindow; }
CopyDefaultKeyframe::CopyDefaultKeyframe(MWindow *mwindow) : BC_MenuItem(_("Copy default keyframe"), "Alt-c", 'c') { set_alt(); this->mwindow = mwindow; }
PasteDefaultKeyframe::PasteDefaultKeyframe(MWindow *mwindow) : BC_MenuItem(_("Paste default keyframe"), "Alt-v", 'v') { set_alt(); this->mwindow = mwindow; }
CutDefaultKeyframe::CutDefaultKeyframe(MWindow *mwindow) : BC_MenuItem(_("Cut default keyframe"), "Alt-X", 'X') { set_alt(); this->mwindow = mwindow; }