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
17 lines
325 B
C#
17 lines
325 B
C#
using System;
|
|
|
|
namespace Microsoft.Maui.Platform.Linux.Services;
|
|
|
|
public class HighContrastChangedEventArgs : EventArgs
|
|
{
|
|
public bool IsEnabled { get; }
|
|
|
|
public HighContrastTheme Theme { get; }
|
|
|
|
public HighContrastChangedEventArgs(bool isEnabled, HighContrastTheme theme)
|
|
{
|
|
IsEnabled = isEnabled;
|
|
Theme = theme;
|
|
}
|
|
}
|