Ejemplo n.º 1
0
 private static void Core_Update(object sender, Engine.Core.EngineState e)
 {
     if (InputManager.CapturingStringInput())
     {
         if (WindowManager.MainWindow.Focused)
         {
             HandleStringInput(WindowManager.MainWindow.ContextID);
         }
         else
         {
             foreach (var child in WindowManager.ChildWindows)
             {
                 if (child.Focused)
                 {
                     HandleStringInput(child.ContextID);
                 }
             }
         }
     }
 }
Ejemplo n.º 2
0
 internal void ToggleCursorDraw(object sender, Engine.Core.EngineState state)
 {
     DrawCursor = !DrawCursor;
 }