Recovered from decompiled OpenMaui.Controls.Linux.dll: - SkiaShell.cs: FlyoutHeader, FlyoutFooter, scroll support (918 -> 1325 lines) - X11Window.cs: Cursor support (XCreateFontCursor, XDefineCursor) - All handlers with dark mode support - All services with latest implementations - LinuxApplication with theme change handling
39 lines
682 B
C#
39 lines
682 B
C#
namespace Microsoft.Maui.Platform.Linux.Services;
|
|
|
|
public class NullAccessibilityService : IAccessibilityService
|
|
{
|
|
public bool IsEnabled => false;
|
|
|
|
public void Initialize()
|
|
{
|
|
}
|
|
|
|
public void Register(IAccessible accessible)
|
|
{
|
|
}
|
|
|
|
public void Unregister(IAccessible accessible)
|
|
{
|
|
}
|
|
|
|
public void NotifyFocusChanged(IAccessible? accessible)
|
|
{
|
|
}
|
|
|
|
public void NotifyPropertyChanged(IAccessible accessible, AccessibleProperty property)
|
|
{
|
|
}
|
|
|
|
public void NotifyStateChanged(IAccessible accessible, AccessibleState state, bool value)
|
|
{
|
|
}
|
|
|
|
public void Announce(string text, AnnouncementPriority priority = AnnouncementPriority.Polite)
|
|
{
|
|
}
|
|
|
|
public void Shutdown()
|
|
{
|
|
}
|
|
}
|