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); } } } } }
internal void ToggleCursorDraw(object sender, Engine.Core.EngineState state) { DrawCursor = !DrawCursor; }