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(); }
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(); }
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); m_accTable = generator.Create(); }
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(); }