Verify Views files against decompiled, extract embedded types

Fixed files:
- SkiaImageButton.cs: Added SVG support with multi-path search
- SkiaNavigationPage.cs: Added LinuxApplication.IsGtkMode check
- SkiaRefreshView.cs: Added ICommand support (Command, CommandParameter)
- SkiaTemplatedView.cs: Added missing using statements

Extracted embedded types to separate files (matching decompiled pattern):
- From SkiaMenuBar.cs: MenuBarItem, MenuItem, SkiaMenuFlyout, MenuItemClickedEventArgs
- From SkiaNavigationPage.cs: NavigationEventArgs
- From SkiaTabbedPage.cs: TabItem
- From SkiaVisualStateManager.cs: SkiaVisualStateGroupList, SkiaVisualStateGroup, SkiaVisualState, SkiaVisualStateSetter
- From SkiaSwipeView.cs: SwipeItem, SwipeStartedEventArgs, SwipeEndedEventArgs
- From SkiaFlyoutPage.cs: FlyoutLayoutBehavior (already separate)
- From SkiaIndicatorView.cs: IndicatorShape (already separate)
- From SkiaBorder.cs: SkiaFrame
- From SkiaCarouselView.cs: PositionChangedEventArgs
- From SkiaCollectionView.cs: SkiaSelectionMode, ItemsLayoutOrientation
- From SkiaContentPresenter.cs: LayoutAlignment

Verified matching decompiled:
- SkiaContextMenu.cs, SkiaFlexLayout.cs, SkiaGraphicsView.cs

Build: 0 errors

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-01 17:02:39 -05:00
parent 6007b84e7a
commit f6eadaad57
171 changed files with 4208 additions and 3913 deletions

View File

@@ -977,70 +977,3 @@ public class LinuxApplication : IDisposable
}
}
}
/// <summary>
/// Options for Linux application initialization.
/// </summary>
public class LinuxApplicationOptions
{
/// <summary>
/// Gets or sets the window title.
/// </summary>
public string? Title { get; set; } = "MAUI Application";
/// <summary>
/// Gets or sets the initial window width.
/// </summary>
public int Width { get; set; } = 800;
/// <summary>
/// Gets or sets the initial window height.
/// </summary>
public int Height { get; set; } = 600;
/// <summary>
/// Gets or sets whether to use hardware acceleration.
/// </summary>
public bool UseHardwareAcceleration { get; set; } = true;
/// <summary>
/// Gets or sets the display server type.
/// </summary>
public DisplayServerType DisplayServer { get; set; } = DisplayServerType.Auto;
/// <summary>
/// Gets or sets whether to force demo mode instead of loading the application's pages.
/// </summary>
public bool ForceDemo { get; set; } = false;
/// <summary>
/// Gets or sets whether to use GTK mode instead of X11.
/// </summary>
public bool UseGtk { get; set; } = false;
/// <summary>
/// Gets or sets the path to the application icon.
/// </summary>
public string? IconPath { get; set; }
}
/// <summary>
/// Display server type options.
/// </summary>
public enum DisplayServerType
{
/// <summary>
/// Automatically detect the display server.
/// </summary>
Auto,
/// <summary>
/// Use X11 (Xorg).
/// </summary>
X11,
/// <summary>
/// Use Wayland.
/// </summary>
Wayland
}