예제 #1
0
HACCEL CMainWindow::CreateAccelerators()
{
	Framework::Win32::CAcceleratorTableGenerator tableGenerator;
	tableGenerator.Insert(ID_FILE_PAUSE, VK_F5, FVIRTKEY);
	tableGenerator.Insert(ID_FILE_ENABLEREVERB, 'R', FVIRTKEY | FCONTROL);
	return tableGenerator.Create();
}
예제 #2
0
void CMiniDebugger::CreateAccelerators()
{
	Framework::Win32::CAcceleratorTableGenerator generator;
	generator.Insert(ID_VIEW_FUNCTIONS,			'F',	FCONTROL | FVIRTKEY);
	generator.Insert(ID_VM_STEP,				VK_F10,	FVIRTKEY);
	generator.Insert(ID_VM_RESUME,				VK_F5,	FVIRTKEY);
	m_acceleratorTable = generator.Create();
}
예제 #3
0
파일: Debugger.cpp 프로젝트: bigianb/Play-
void CDebugger::CreateAccelerators()
{
	Framework::Win32::CAcceleratorTableGenerator generator;
	generator.Insert(ID_VIEW_FUNCTIONS,			'F',	FCONTROL | FVIRTKEY);
	generator.Insert(ID_VIEW_THREADS,			'T',	FCONTROL | FVIRTKEY);
	generator.Insert(ID_VM_STEP,				VK_F10,	FVIRTKEY);
	generator.Insert(ID_VM_RESUME,				VK_F5,	FVIRTKEY);
	generator.Insert(ID_VIEW_CALLSTACK,			'A',	FCONTROL | FVIRTKEY);
	generator.Insert(ID_VIEW_EEVIEW,			'1',	FALT | FVIRTKEY);
	generator.Insert(ID_VIEW_VU0VIEW,			'2',	FALT | FVIRTKEY);
	generator.Insert(ID_VIEW_VU1VIEW,			'3',	FALT | FVIRTKEY);
	generator.Insert(ID_VIEW_IOPVIEW,			'4',	FALT | FVIRTKEY);
	m_nAccTable = generator.Create();
}
예제 #4
0
void CMainWindow::CreateAccelerators()
{
	Framework::Win32::CAcceleratorTableGenerator generator;
	generator.Insert(ID_MAIN_FILE_LOADELF,				'O',			FVIRTKEY | FCONTROL);
	generator.Insert(ID_MAIN_VM_RESUME,					VK_F5,			FVIRTKEY);
	generator.Insert(ID_MAIN_VM_SAVESTATE,				VK_F7,			FVIRTKEY);
	generator.Insert(ID_MAIN_VM_LOADSTATE,				VK_F8,			FVIRTKEY);
	generator.Insert(ID_MAIN_VIEW_FITTOSCREEN,			'J',			FVIRTKEY | FCONTROL);
	generator.Insert(ID_MAIN_VIEW_FILLSCREEN,			'K',			FVIRTKEY | FCONTROL);
	generator.Insert(ID_MAIN_VIEW_ACTUALSIZE,			'L',			FVIRTKEY | FCONTROL);
	generator.Insert(ID_MAIN_DEBUG_DUMPFRAME,			VK_F11,			FVIRTKEY);
#ifdef PROFILE
	generator.Insert(ID_MAIN_PROFILE_RESETSTATS,		VK_F3,			FVIRTKEY);
#endif
	m_accTable = generator.Create();
}