Esempio n. 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);
        }
Esempio n. 2
0
 private void XYWndDialog_KeyDown(object sender, KeyEventArgs e)
 {
     NativeAPI.RadaintAPI_KeyEvent(RadiantHelpers.GetKeyAscii(e), true);
 }
Esempio n. 3
0
 private void CamWndDialog_KeyUp(object sender, KeyEventArgs e)
 {
     NativeAPI.RadaintAPI_KeyEvent(RadiantHelpers.GetKeyAscii(e), false);
 }