示例#1
0
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());
}
示例#2
0
ClearDefaultKeyframe::ClearDefaultKeyframe(MWindow *mwindow)
 : BC_MenuItem(_("Clear default keyframe"), "Alt-Del", DELETE)
{
	set_alt(); 
	this->mwindow = mwindow; 
}
示例#3
0
CopyDefaultKeyframe::CopyDefaultKeyframe(MWindow *mwindow)
 : BC_MenuItem(_("Copy default keyframe"), "Alt-c", 'c')
{ 
	set_alt(); 
	this->mwindow = mwindow; 
}
示例#4
0
PasteDefaultKeyframe::PasteDefaultKeyframe(MWindow *mwindow)
 : BC_MenuItem(_("Paste default keyframe"), "Alt-v", 'v')
{
	set_alt(); 
	this->mwindow = mwindow; 
}
示例#5
0
CutDefaultKeyframe::CutDefaultKeyframe(MWindow *mwindow)
 : BC_MenuItem(_("Cut default keyframe"), "Alt-X", 'X')
{ 
	set_alt(); 
	this->mwindow = mwindow; 
}