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
332 B
C#
20 lines
332 B
C#
using SkiaSharp;
|
|
|
|
namespace Microsoft.Maui.Platform.Linux.Services;
|
|
|
|
public class TextRun
|
|
{
|
|
public string Text { get; }
|
|
|
|
public SKTypeface Typeface { get; }
|
|
|
|
public int StartIndex { get; }
|
|
|
|
public TextRun(string text, SKTypeface typeface, int startIndex)
|
|
{
|
|
Text = text;
|
|
Typeface = typeface;
|
|
StartIndex = startIndex;
|
|
}
|
|
}
|