Пример #1
0
        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);
        }
Пример #2
0
 private void XYWndDialog_KeyDown(object sender, KeyEventArgs e)
 {
     NativeAPI.RadaintAPI_KeyEvent(RadiantHelpers.GetKeyAscii(e), true);
 }
Пример #3
0
 private void CamWndDialog_KeyUp(object sender, KeyEventArgs e)
 {
     NativeAPI.RadaintAPI_KeyEvent(RadiantHelpers.GetKeyAscii(e), false);
 }