private void MainFrm_KeyUp(object sender, KeyEventArgs e) { if (Editor.inspecterDialog.EntityPropertyGridFocus()) { return; } if (Editor.xyWndDialog.IsGamePreviewVisible()) { NativeAPI.RadiantAPI_GameWindowKeyboard(RadiantHelpers.GetKeyAscii2(e), false); return; } NativeAPI.RadaintAPI_KeyEvent(RadiantHelpers.GetKeyAscii(e), false); }
private void XYWndDialog_KeyDown(object sender, KeyEventArgs e) { NativeAPI.RadaintAPI_KeyEvent(RadiantHelpers.GetKeyAscii(e), true); }
private void CamWndDialog_KeyUp(object sender, KeyEventArgs e) { NativeAPI.RadaintAPI_KeyEvent(RadiantHelpers.GetKeyAscii(e), false); }