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
20 lines
361 B
C#
20 lines
361 B
C#
using System;
|
|
|
|
namespace Microsoft.Maui.Platform.Linux.Services;
|
|
|
|
public class ScaleChangedEventArgs : EventArgs
|
|
{
|
|
public float OldScale { get; }
|
|
|
|
public float NewScale { get; }
|
|
|
|
public float NewDpi { get; }
|
|
|
|
public ScaleChangedEventArgs(float oldScale, float newScale, float newDpi)
|
|
{
|
|
OldScale = oldScale;
|
|
NewScale = newScale;
|
|
NewDpi = newDpi;
|
|
}
|
|
}
|