diff --git a/Radegast/Core/RadegastInstance.cs b/Radegast/Core/RadegastInstance.cs index 3a87dbd9..89467cf6 100644 --- a/Radegast/Core/RadegastInstance.cs +++ b/Radegast/Core/RadegastInstance.cs @@ -29,6 +29,7 @@ using Radegast.Netcom; using Radegast.Media; using OpenMetaverse; +using ScreenReaderAPIWrapper; namespace Radegast { @@ -115,6 +116,8 @@ public virtual void OnRadegastFormCreated(RadegastForm radForm) /// public ContextActionsManager ContextActionManager { get; private set; } + public ScreenReader ScreenReader { get; private set; } + /// /// Allows key emulation for moving avatar around /// @@ -250,6 +253,7 @@ public RadegastInstance(GridClient client0) Keyboard = new Keyboard(); Application.AddMessageFilter(Keyboard); + ScreenReader = new ScreenReader(); Netcom = new RadegastNetcom(this); State = new StateManager(this); MediaManager = new MediaManager(this); @@ -304,6 +308,7 @@ private void InitializeClient(GridClient client) client.Self.Movement.UpdateInterval = 250; RegisterClientEvents(client); + ScreenReader.SapiEnabled = false; // TODO: add optional support } public string ComputeCacheName(string cacheDir, UUID assetID) diff --git a/Radegast/Radegast.csproj b/Radegast/Radegast.csproj index 7dd9404e..b2baa904 100644 --- a/Radegast/Radegast.csproj +++ b/Radegast/Radegast.csproj @@ -103,6 +103,7 @@ +