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
35 lines
650 B
C#
35 lines
650 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Microsoft.Maui.Platform.Linux.Interop;
|
|
|
|
[StructLayout(LayoutKind.Explicit, Size = 192)]
|
|
public struct XEvent
|
|
{
|
|
[FieldOffset(0)]
|
|
public int Type;
|
|
|
|
[FieldOffset(0)]
|
|
public XKeyEvent KeyEvent;
|
|
|
|
[FieldOffset(0)]
|
|
public XButtonEvent ButtonEvent;
|
|
|
|
[FieldOffset(0)]
|
|
public XMotionEvent MotionEvent;
|
|
|
|
[FieldOffset(0)]
|
|
public XConfigureEvent ConfigureEvent;
|
|
|
|
[FieldOffset(0)]
|
|
public XExposeEvent ExposeEvent;
|
|
|
|
[FieldOffset(0)]
|
|
public XClientMessageEvent ClientMessageEvent;
|
|
|
|
[FieldOffset(0)]
|
|
public XCrossingEvent CrossingEvent;
|
|
|
|
[FieldOffset(0)]
|
|
public XFocusChangeEvent FocusChangeEvent;
|
|
}
|