committed by
GitHub
197 changed files with 7560 additions and 919 deletions
@ -1,7 +1,9 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
|
|||
<configuration> |
|||
<packageSources> |
|||
<clear /> |
|||
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" /> |
|||
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" /> |
|||
</packageSources> |
|||
</configuration> |
|||
|
|||
@ -0,0 +1,12 @@ |
|||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<PropertyGroup> |
|||
<ApiContractPackageVersion>0.10.0-preview3</ApiContractPackageVersion> |
|||
<NugetPackageName Condition="'$(PackageId)' != ''">$(PackageId)</NugetPackageName> |
|||
<NugetPackageName Condition="'$(PackageId)' == ''">Avalonia</NugetPackageName> |
|||
</PropertyGroup> |
|||
<ItemGroup> |
|||
<PackageDownload Include="$(NugetPackageName)" Version="[$(ApiContractPackageVersion)]" /> |
|||
<PackageReference Include="Microsoft.DotNet.ApiCompat" Version="5.0.0-beta.20372.2" PrivateAssets="All" /> |
|||
<ResolvedMatchingContract Include="$(NuGetPackageRoot)\$(NugetPackageName.ToLower())\$(ApiContractPackageVersion)\lib\$(TargetFramework)\$(AssemblyName).dll" /> |
|||
</ItemGroup> |
|||
</Project> |
|||
@ -1,5 +1,5 @@ |
|||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<ItemGroup> |
|||
<PackageReference Include="ReactiveUI" Version="10.3.6" /> |
|||
<PackageReference Include="ReactiveUI" Version="11.5.17" /> |
|||
</ItemGroup> |
|||
</Project> |
|||
|
|||
@ -1,6 +1,6 @@ |
|||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
|||
<ItemGroup> |
|||
<PackageReference Include="SkiaSharp" Version="2.80.0" /> |
|||
<PackageReference Include="SkiaSharp" Version="2.80.1" /> |
|||
<PackageReference Condition="'$(IncludeLinuxSkia)' == 'true'" Include="SkiaSharp.NativeAssets.Linux" Version="2.80.0" /> |
|||
</ItemGroup> |
|||
</Project> |
|||
|
|||
@ -0,0 +1,65 @@ |
|||
using System; |
|||
using System.Collections.ObjectModel; |
|||
using System.Linq; |
|||
using System.Reactive; |
|||
using Avalonia.Controls; |
|||
using ReactiveUI; |
|||
|
|||
namespace ControlCatalog.ViewModels |
|||
{ |
|||
public class ListBoxPageViewModel : ReactiveObject |
|||
{ |
|||
private int _counter; |
|||
private SelectionMode _selectionMode; |
|||
|
|||
public ListBoxPageViewModel() |
|||
{ |
|||
Items = new ObservableCollection<string>(Enumerable.Range(1, 10000).Select(i => GenerateItem())); |
|||
Selection = new SelectionModel(); |
|||
Selection.Select(1); |
|||
|
|||
AddItemCommand = ReactiveCommand.Create(() => Items.Add(GenerateItem())); |
|||
|
|||
RemoveItemCommand = ReactiveCommand.Create(() => |
|||
{ |
|||
while (Selection.SelectedItems.Count > 0) |
|||
{ |
|||
Items.Remove((string)Selection.SelectedItems.First()); |
|||
} |
|||
}); |
|||
|
|||
SelectRandomItemCommand = ReactiveCommand.Create(() => |
|||
{ |
|||
var random = new Random(); |
|||
|
|||
using (Selection.Update()) |
|||
{ |
|||
Selection.ClearSelection(); |
|||
Selection.Select(random.Next(Items.Count - 1)); |
|||
} |
|||
}); |
|||
} |
|||
|
|||
public ObservableCollection<string> Items { get; } |
|||
|
|||
public SelectionModel Selection { get; } |
|||
|
|||
public ReactiveCommand<Unit, Unit> AddItemCommand { get; } |
|||
|
|||
public ReactiveCommand<Unit, Unit> RemoveItemCommand { get; } |
|||
|
|||
public ReactiveCommand<Unit, Unit> SelectRandomItemCommand { get; } |
|||
|
|||
public SelectionMode SelectionMode |
|||
{ |
|||
get => _selectionMode; |
|||
set |
|||
{ |
|||
Selection.ClearSelection(); |
|||
this.RaiseAndSetIfChanged(ref _selectionMode, value); |
|||
} |
|||
} |
|||
|
|||
private string GenerateItem() => $"Item {_counter++.ToString()}"; |
|||
} |
|||
} |
|||
@ -0,0 +1,92 @@ |
|||
using System.Diagnostics; |
|||
using System.Runtime.InteropServices; |
|||
using Avalonia; |
|||
using Avalonia.Controls; |
|||
using Avalonia.LogicalTree; |
|||
using Avalonia.Media; |
|||
using Avalonia.Media.Imaging; |
|||
using Avalonia.Media.Immutable; |
|||
using Avalonia.Platform; |
|||
using Avalonia.Threading; |
|||
|
|||
namespace RenderDemo.Pages |
|||
{ |
|||
public class WriteableBitmapPage : Control |
|||
{ |
|||
private WriteableBitmap _unpremulBitmap; |
|||
private WriteableBitmap _premulBitmap; |
|||
private readonly Stopwatch _st = Stopwatch.StartNew(); |
|||
|
|||
protected override void OnAttachedToLogicalTree(LogicalTreeAttachmentEventArgs e) |
|||
{ |
|||
_unpremulBitmap = new WriteableBitmap(new PixelSize(256, 256), new Vector(96, 96), PixelFormat.Bgra8888, AlphaFormat.Unpremul); |
|||
_premulBitmap = new WriteableBitmap(new PixelSize(256, 256), new Vector(96, 96), PixelFormat.Bgra8888, AlphaFormat.Premul); |
|||
|
|||
base.OnAttachedToLogicalTree(e); |
|||
} |
|||
|
|||
protected override void OnDetachedFromLogicalTree(LogicalTreeAttachmentEventArgs e) |
|||
{ |
|||
base.OnDetachedFromLogicalTree(e); |
|||
|
|||
_unpremulBitmap?.Dispose(); |
|||
_unpremulBitmap = null; |
|||
|
|||
_premulBitmap?.Dispose(); |
|||
_unpremulBitmap = null; |
|||
} |
|||
|
|||
public override void Render(DrawingContext context) |
|||
{ |
|||
void FillPixels(WriteableBitmap bitmap, byte fillAlpha, bool premul) |
|||
{ |
|||
using (var fb = bitmap.Lock()) |
|||
{ |
|||
var data = new int[fb.Size.Width * fb.Size.Height]; |
|||
|
|||
for (int y = 0; y < fb.Size.Height; y++) |
|||
{ |
|||
for (int x = 0; x < fb.Size.Width; x++) |
|||
{ |
|||
var color = new Color(fillAlpha, 0, 255, 0); |
|||
|
|||
if (premul) |
|||
{ |
|||
byte r = (byte) (color.R * color.A / 255); |
|||
byte g = (byte) (color.G * color.A / 255); |
|||
byte b = (byte) (color.B * color.A / 255); |
|||
|
|||
color = new Color(fillAlpha, r, g, b); |
|||
} |
|||
|
|||
data[y * fb.Size.Width + x] = (int) color.ToUint32(); |
|||
} |
|||
} |
|||
|
|||
Marshal.Copy(data, 0, fb.Address, fb.Size.Width * fb.Size.Height); |
|||
} |
|||
} |
|||
|
|||
base.Render(context); |
|||
|
|||
byte alpha = (byte)((_st.ElapsedMilliseconds / 10) % 256); |
|||
|
|||
FillPixels(_unpremulBitmap, alpha, false); |
|||
FillPixels(_premulBitmap, alpha, true); |
|||
|
|||
context.FillRectangle(Brushes.Red, new Rect(0, 0, 256 * 3, 256)); |
|||
|
|||
context.DrawImage(_unpremulBitmap, |
|||
new Rect(0, 0, 256, 256), |
|||
new Rect(0, 0, 256, 256)); |
|||
|
|||
context.DrawImage(_premulBitmap, |
|||
new Rect(0, 0, 256, 256), |
|||
new Rect(256, 0, 256, 256)); |
|||
|
|||
context.FillRectangle(new ImmutableSolidColorBrush(Colors.Lime, alpha / 255d), new Rect(512, 0, 256, 256)); |
|||
|
|||
Dispatcher.UIThread.Post(InvalidateVisual, DispatcherPriority.Background); |
|||
} |
|||
} |
|||
} |
|||
@ -1,9 +1,10 @@ |
|||
<Project Sdk="Microsoft.NET.Sdk"> |
|||
<PropertyGroup> |
|||
<TargetFramework>netstandard2.0</TargetFramework> |
|||
<TargetFramework>netstandard2.0</TargetFramework> |
|||
</PropertyGroup> |
|||
<ItemGroup> |
|||
<ProjectReference Include="..\Avalonia.Base\Avalonia.Base.csproj" /> |
|||
</ItemGroup> |
|||
<Import Project="..\..\build\Rx.props" /> |
|||
<Import Project="..\..\build\ApiDiff.props" /> |
|||
</Project> |
|||
|
|||
@ -0,0 +1,61 @@ |
|||
using System; |
|||
using System.Linq; |
|||
using Avalonia.Controls.Templates; |
|||
using Avalonia.Input; |
|||
using Avalonia.Rendering; |
|||
using Avalonia.Styling; |
|||
using Avalonia.VisualTree; |
|||
|
|||
#nullable enable |
|||
|
|||
namespace Avalonia.Controls.Primitives |
|||
{ |
|||
/// <summary>
|
|||
/// A layer that is used to dismiss a <see cref="Popup"/> when the user clicks outside.
|
|||
/// </summary>
|
|||
public class LightDismissOverlayLayer : Border, ICustomHitTest |
|||
{ |
|||
public IInputElement? InputPassThroughElement { get; set; } |
|||
|
|||
/// <summary>
|
|||
/// Returns the light dismiss overlay for a specified visual.
|
|||
/// </summary>
|
|||
/// <param name="visual">The visual.</param>
|
|||
/// <returns>The light dismiss overlay, or null if none found.</returns>
|
|||
public static LightDismissOverlayLayer? GetLightDismissOverlayLayer(IVisual visual) |
|||
{ |
|||
visual = visual ?? throw new ArgumentNullException(nameof(visual)); |
|||
|
|||
VisualLayerManager? manager; |
|||
|
|||
if (visual is TopLevel topLevel) |
|||
{ |
|||
manager = topLevel.GetTemplateChildren() |
|||
.OfType<VisualLayerManager>() |
|||
.FirstOrDefault(); |
|||
} |
|||
else |
|||
{ |
|||
manager = visual.FindAncestorOfType<VisualLayerManager>(); |
|||
} |
|||
|
|||
return manager?.LightDismissOverlayLayer; |
|||
} |
|||
|
|||
public bool HitTest(Point point) |
|||
{ |
|||
if (InputPassThroughElement is object) |
|||
{ |
|||
var p = point.Transform(this.TransformToVisual(VisualRoot)!.Value); |
|||
var hit = VisualRoot.GetVisualAt(p, x => x != this); |
|||
|
|||
if (hit is object) |
|||
{ |
|||
return !InputPassThroughElement.IsVisualAncestorOf(hit); |
|||
} |
|||
} |
|||
|
|||
return true; |
|||
} |
|||
} |
|||
} |
|||
@ -1,33 +0,0 @@ |
|||
using System; |
|||
using Avalonia.Interactivity; |
|||
|
|||
#nullable enable |
|||
|
|||
namespace Avalonia.Controls.Primitives |
|||
{ |
|||
/// <summary>
|
|||
/// Holds data for the <see cref="Popup.Closed"/> event.
|
|||
/// </summary>
|
|||
public class PopupClosedEventArgs : EventArgs |
|||
{ |
|||
/// <summary>
|
|||
/// Initializes a new instance of the <see cref="PopupClosedEventArgs"/> class.
|
|||
/// </summary>
|
|||
/// <param name="closeEvent"></param>
|
|||
public PopupClosedEventArgs(EventArgs? closeEvent) |
|||
{ |
|||
CloseEvent = closeEvent; |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// Gets the event that closed the popup, if any.
|
|||
/// </summary>
|
|||
/// <remarks>
|
|||
/// If <see cref="Popup.StaysOpen"/> is false, then this property will hold details of the
|
|||
/// interaction that caused the popup to close if the close was caused by e.g. a pointer press
|
|||
/// outside the popup. It can be used to mark the event as handled if the event should not
|
|||
/// be propagated.
|
|||
/// </remarks>
|
|||
public EventArgs? CloseEvent { get; } |
|||
} |
|||
} |
|||
@ -1,8 +1,9 @@ |
|||
<Project Sdk="Microsoft.NET.Sdk"> |
|||
<PropertyGroup> |
|||
<TargetFramework>netstandard2.0</TargetFramework> |
|||
|
|||
</PropertyGroup> |
|||
<ItemGroup> |
|||
<ProjectReference Include="..\..\packages\Avalonia\Avalonia.csproj" /> |
|||
</ItemGroup> |
|||
</ItemGroup> |
|||
</Project> |
|||
|
|||
@ -0,0 +1,628 @@ |
|||
// <auto-generated/>
|
|||
|
|||
namespace Avalonia.Native.Interop |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnDragDropEffects</unmanaged>
|
|||
/// <unmanaged-short>AvnDragDropEffects</unmanaged-short>
|
|||
public enum AvnDragDropEffects : System.Int32 |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>None</unmanaged>
|
|||
/// <unmanaged-short>None</unmanaged-short>
|
|||
None = unchecked ((System.Int32)(0)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Copy</unmanaged>
|
|||
/// <unmanaged-short>Copy</unmanaged-short>
|
|||
Copy = unchecked ((System.Int32)(1)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Move</unmanaged>
|
|||
/// <unmanaged-short>Move</unmanaged-short>
|
|||
Move = unchecked ((System.Int32)(2)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Link</unmanaged>
|
|||
/// <unmanaged-short>Link</unmanaged-short>
|
|||
Link = unchecked ((System.Int32)(4))} |
|||
|
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnDragEventType</unmanaged>
|
|||
/// <unmanaged-short>AvnDragEventType</unmanaged-short>
|
|||
public enum AvnDragEventType : System.Int32 |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Enter</unmanaged>
|
|||
/// <unmanaged-short>Enter</unmanaged-short>
|
|||
Enter = unchecked ((System.Int32)(0)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Over</unmanaged>
|
|||
/// <unmanaged-short>Over</unmanaged-short>
|
|||
Over = unchecked ((System.Int32)(1)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Leave</unmanaged>
|
|||
/// <unmanaged-short>Leave</unmanaged-short>
|
|||
Leave = unchecked ((System.Int32)(2)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Drop</unmanaged>
|
|||
/// <unmanaged-short>Drop</unmanaged-short>
|
|||
Drop = unchecked ((System.Int32)(3))} |
|||
|
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnExtendClientAreaChromeHints</unmanaged>
|
|||
/// <unmanaged-short>AvnExtendClientAreaChromeHints</unmanaged-short>
|
|||
public enum AvnExtendClientAreaChromeHints : System.Int32 |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnNoChrome</unmanaged>
|
|||
/// <unmanaged-short>AvnNoChrome</unmanaged-short>
|
|||
AvnNoChrome = unchecked ((System.Int32)(0)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnSystemChrome</unmanaged>
|
|||
/// <unmanaged-short>AvnSystemChrome</unmanaged-short>
|
|||
AvnSystemChrome = unchecked ((System.Int32)(1)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnPreferSystemChrome</unmanaged>
|
|||
/// <unmanaged-short>AvnPreferSystemChrome</unmanaged-short>
|
|||
AvnPreferSystemChrome = unchecked ((System.Int32)(2)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnOSXThickTitleBar</unmanaged>
|
|||
/// <unmanaged-short>AvnOSXThickTitleBar</unmanaged-short>
|
|||
AvnOSXThickTitleBar = unchecked ((System.Int32)(8)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnDefaultChrome</unmanaged>
|
|||
/// <unmanaged-short>AvnDefaultChrome</unmanaged-short>
|
|||
AvnDefaultChrome = unchecked ((System.Int32)(1))} |
|||
|
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnInputModifiers</unmanaged>
|
|||
/// <unmanaged-short>AvnInputModifiers</unmanaged-short>
|
|||
public enum AvnInputModifiers : System.Int32 |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnInputModifiersNone</unmanaged>
|
|||
/// <unmanaged-short>AvnInputModifiersNone</unmanaged-short>
|
|||
AvnInputModifiersNone = unchecked ((System.Int32)(0)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Alt</unmanaged>
|
|||
/// <unmanaged-short>Alt</unmanaged-short>
|
|||
Alt = unchecked ((System.Int32)(1)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Control</unmanaged>
|
|||
/// <unmanaged-short>Control</unmanaged-short>
|
|||
Control = unchecked ((System.Int32)(2)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Shift</unmanaged>
|
|||
/// <unmanaged-short>Shift</unmanaged-short>
|
|||
Shift = unchecked ((System.Int32)(4)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Windows</unmanaged>
|
|||
/// <unmanaged-short>Windows</unmanaged-short>
|
|||
Windows = unchecked ((System.Int32)(8)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>LeftMouseButton</unmanaged>
|
|||
/// <unmanaged-short>LeftMouseButton</unmanaged-short>
|
|||
LeftMouseButton = unchecked ((System.Int32)(16)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>RightMouseButton</unmanaged>
|
|||
/// <unmanaged-short>RightMouseButton</unmanaged-short>
|
|||
RightMouseButton = unchecked ((System.Int32)(32)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>MiddleMouseButton</unmanaged>
|
|||
/// <unmanaged-short>MiddleMouseButton</unmanaged-short>
|
|||
MiddleMouseButton = unchecked ((System.Int32)(64)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>XButton1MouseButton</unmanaged>
|
|||
/// <unmanaged-short>XButton1MouseButton</unmanaged-short>
|
|||
XButton1MouseButton = unchecked ((System.Int32)(128)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>XButton2MouseButton</unmanaged>
|
|||
/// <unmanaged-short>XButton2MouseButton</unmanaged-short>
|
|||
XButton2MouseButton = unchecked ((System.Int32)(256))} |
|||
|
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnMenuItemToggleType</unmanaged>
|
|||
/// <unmanaged-short>AvnMenuItemToggleType</unmanaged-short>
|
|||
public enum AvnMenuItemToggleType : System.Int32 |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>None</unmanaged>
|
|||
/// <unmanaged-short>None</unmanaged-short>
|
|||
None = unchecked ((System.Int32)(0)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CheckMark</unmanaged>
|
|||
/// <unmanaged-short>CheckMark</unmanaged-short>
|
|||
CheckMark = unchecked ((System.Int32)(1)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Radio</unmanaged>
|
|||
/// <unmanaged-short>Radio</unmanaged-short>
|
|||
Radio = unchecked ((System.Int32)(2))} |
|||
|
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnPixelFormat</unmanaged>
|
|||
/// <unmanaged-short>AvnPixelFormat</unmanaged-short>
|
|||
public enum AvnPixelFormat : System.Int32 |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>kAvnRgb565</unmanaged>
|
|||
/// <unmanaged-short>kAvnRgb565</unmanaged-short>
|
|||
KAvnRgb565 = unchecked ((System.Int32)(0)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>kAvnRgba8888</unmanaged>
|
|||
/// <unmanaged-short>kAvnRgba8888</unmanaged-short>
|
|||
KAvnRgba8888 = unchecked ((System.Int32)(1)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>kAvnBgra8888</unmanaged>
|
|||
/// <unmanaged-short>kAvnBgra8888</unmanaged-short>
|
|||
KAvnBgra8888 = unchecked ((System.Int32)(2))} |
|||
|
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnRawKeyEventType</unmanaged>
|
|||
/// <unmanaged-short>AvnRawKeyEventType</unmanaged-short>
|
|||
public enum AvnRawKeyEventType : System.Int32 |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>KeyDown</unmanaged>
|
|||
/// <unmanaged-short>KeyDown</unmanaged-short>
|
|||
KeyDown = unchecked ((System.Int32)(0)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>KeyUp</unmanaged>
|
|||
/// <unmanaged-short>KeyUp</unmanaged-short>
|
|||
KeyUp = unchecked ((System.Int32)(1))} |
|||
|
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnRawMouseEventType</unmanaged>
|
|||
/// <unmanaged-short>AvnRawMouseEventType</unmanaged-short>
|
|||
public enum AvnRawMouseEventType : System.Int32 |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>LeaveWindow</unmanaged>
|
|||
/// <unmanaged-short>LeaveWindow</unmanaged-short>
|
|||
LeaveWindow = unchecked ((System.Int32)(0)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>LeftButtonDown</unmanaged>
|
|||
/// <unmanaged-short>LeftButtonDown</unmanaged-short>
|
|||
LeftButtonDown = unchecked ((System.Int32)(1)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>LeftButtonUp</unmanaged>
|
|||
/// <unmanaged-short>LeftButtonUp</unmanaged-short>
|
|||
LeftButtonUp = unchecked ((System.Int32)(2)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>RightButtonDown</unmanaged>
|
|||
/// <unmanaged-short>RightButtonDown</unmanaged-short>
|
|||
RightButtonDown = unchecked ((System.Int32)(3)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>RightButtonUp</unmanaged>
|
|||
/// <unmanaged-short>RightButtonUp</unmanaged-short>
|
|||
RightButtonUp = unchecked ((System.Int32)(4)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>MiddleButtonDown</unmanaged>
|
|||
/// <unmanaged-short>MiddleButtonDown</unmanaged-short>
|
|||
MiddleButtonDown = unchecked ((System.Int32)(5)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>MiddleButtonUp</unmanaged>
|
|||
/// <unmanaged-short>MiddleButtonUp</unmanaged-short>
|
|||
MiddleButtonUp = unchecked ((System.Int32)(6)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>XButton1Down</unmanaged>
|
|||
/// <unmanaged-short>XButton1Down</unmanaged-short>
|
|||
XButton1Down = unchecked ((System.Int32)(7)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>XButton1Up</unmanaged>
|
|||
/// <unmanaged-short>XButton1Up</unmanaged-short>
|
|||
XButton1Up = unchecked ((System.Int32)(8)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>XButton2Down</unmanaged>
|
|||
/// <unmanaged-short>XButton2Down</unmanaged-short>
|
|||
XButton2Down = unchecked ((System.Int32)(9)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>XButton2Up</unmanaged>
|
|||
/// <unmanaged-short>XButton2Up</unmanaged-short>
|
|||
XButton2Up = unchecked ((System.Int32)(10)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Move</unmanaged>
|
|||
/// <unmanaged-short>Move</unmanaged-short>
|
|||
Move = unchecked ((System.Int32)(11)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Wheel</unmanaged>
|
|||
/// <unmanaged-short>Wheel</unmanaged-short>
|
|||
Wheel = unchecked ((System.Int32)(12)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>NonClientLeftButtonDown</unmanaged>
|
|||
/// <unmanaged-short>NonClientLeftButtonDown</unmanaged-short>
|
|||
NonClientLeftButtonDown = unchecked ((System.Int32)(13)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>TouchBegin</unmanaged>
|
|||
/// <unmanaged-short>TouchBegin</unmanaged-short>
|
|||
TouchBegin = unchecked ((System.Int32)(14)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>TouchUpdate</unmanaged>
|
|||
/// <unmanaged-short>TouchUpdate</unmanaged-short>
|
|||
TouchUpdate = unchecked ((System.Int32)(15)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>TouchEnd</unmanaged>
|
|||
/// <unmanaged-short>TouchEnd</unmanaged-short>
|
|||
TouchEnd = unchecked ((System.Int32)(16)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>TouchCancel</unmanaged>
|
|||
/// <unmanaged-short>TouchCancel</unmanaged-short>
|
|||
TouchCancel = unchecked ((System.Int32)(17))} |
|||
|
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnStandardCursorType</unmanaged>
|
|||
/// <unmanaged-short>AvnStandardCursorType</unmanaged-short>
|
|||
public enum AvnStandardCursorType : System.Int32 |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorArrow</unmanaged>
|
|||
/// <unmanaged-short>CursorArrow</unmanaged-short>
|
|||
CursorArrow = unchecked ((System.Int32)(0)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorIbeam</unmanaged>
|
|||
/// <unmanaged-short>CursorIbeam</unmanaged-short>
|
|||
CursorIbeam = unchecked ((System.Int32)(1)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorWait</unmanaged>
|
|||
/// <unmanaged-short>CursorWait</unmanaged-short>
|
|||
CursorWait = unchecked ((System.Int32)(2)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorCross</unmanaged>
|
|||
/// <unmanaged-short>CursorCross</unmanaged-short>
|
|||
CursorCross = unchecked ((System.Int32)(3)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorUpArrow</unmanaged>
|
|||
/// <unmanaged-short>CursorUpArrow</unmanaged-short>
|
|||
CursorUpArrow = unchecked ((System.Int32)(4)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorSizeWestEast</unmanaged>
|
|||
/// <unmanaged-short>CursorSizeWestEast</unmanaged-short>
|
|||
CursorSizeWestEast = unchecked ((System.Int32)(5)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorSizeNorthSouth</unmanaged>
|
|||
/// <unmanaged-short>CursorSizeNorthSouth</unmanaged-short>
|
|||
CursorSizeNorthSouth = unchecked ((System.Int32)(6)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorSizeAll</unmanaged>
|
|||
/// <unmanaged-short>CursorSizeAll</unmanaged-short>
|
|||
CursorSizeAll = unchecked ((System.Int32)(7)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorNo</unmanaged>
|
|||
/// <unmanaged-short>CursorNo</unmanaged-short>
|
|||
CursorNo = unchecked ((System.Int32)(8)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorHand</unmanaged>
|
|||
/// <unmanaged-short>CursorHand</unmanaged-short>
|
|||
CursorHand = unchecked ((System.Int32)(9)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorAppStarting</unmanaged>
|
|||
/// <unmanaged-short>CursorAppStarting</unmanaged-short>
|
|||
CursorAppStarting = unchecked ((System.Int32)(10)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorHelp</unmanaged>
|
|||
/// <unmanaged-short>CursorHelp</unmanaged-short>
|
|||
CursorHelp = unchecked ((System.Int32)(11)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorTopSide</unmanaged>
|
|||
/// <unmanaged-short>CursorTopSide</unmanaged-short>
|
|||
CursorTopSide = unchecked ((System.Int32)(12)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorBottomSize</unmanaged>
|
|||
/// <unmanaged-short>CursorBottomSize</unmanaged-short>
|
|||
CursorBottomSize = unchecked ((System.Int32)(13)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorLeftSide</unmanaged>
|
|||
/// <unmanaged-short>CursorLeftSide</unmanaged-short>
|
|||
CursorLeftSide = unchecked ((System.Int32)(14)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorRightSide</unmanaged>
|
|||
/// <unmanaged-short>CursorRightSide</unmanaged-short>
|
|||
CursorRightSide = unchecked ((System.Int32)(15)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorTopLeftCorner</unmanaged>
|
|||
/// <unmanaged-short>CursorTopLeftCorner</unmanaged-short>
|
|||
CursorTopLeftCorner = unchecked ((System.Int32)(16)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorTopRightCorner</unmanaged>
|
|||
/// <unmanaged-short>CursorTopRightCorner</unmanaged-short>
|
|||
CursorTopRightCorner = unchecked ((System.Int32)(17)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorBottomLeftCorner</unmanaged>
|
|||
/// <unmanaged-short>CursorBottomLeftCorner</unmanaged-short>
|
|||
CursorBottomLeftCorner = unchecked ((System.Int32)(18)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorBottomRightCorner</unmanaged>
|
|||
/// <unmanaged-short>CursorBottomRightCorner</unmanaged-short>
|
|||
CursorBottomRightCorner = unchecked ((System.Int32)(19)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorDragMove</unmanaged>
|
|||
/// <unmanaged-short>CursorDragMove</unmanaged-short>
|
|||
CursorDragMove = unchecked ((System.Int32)(20)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorDragCopy</unmanaged>
|
|||
/// <unmanaged-short>CursorDragCopy</unmanaged-short>
|
|||
CursorDragCopy = unchecked ((System.Int32)(21)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorDragLink</unmanaged>
|
|||
/// <unmanaged-short>CursorDragLink</unmanaged-short>
|
|||
CursorDragLink = unchecked ((System.Int32)(22)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>CursorNone</unmanaged>
|
|||
/// <unmanaged-short>CursorNone</unmanaged-short>
|
|||
CursorNone = unchecked ((System.Int32)(23))} |
|||
|
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnWindowEdge</unmanaged>
|
|||
/// <unmanaged-short>AvnWindowEdge</unmanaged-short>
|
|||
public enum AvnWindowEdge : System.Int32 |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>WindowEdgeNorthWest</unmanaged>
|
|||
/// <unmanaged-short>WindowEdgeNorthWest</unmanaged-short>
|
|||
WindowEdgeNorthWest = unchecked ((System.Int32)(0)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>WindowEdgeNorth</unmanaged>
|
|||
/// <unmanaged-short>WindowEdgeNorth</unmanaged-short>
|
|||
WindowEdgeNorth = unchecked ((System.Int32)(1)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>WindowEdgeNorthEast</unmanaged>
|
|||
/// <unmanaged-short>WindowEdgeNorthEast</unmanaged-short>
|
|||
WindowEdgeNorthEast = unchecked ((System.Int32)(2)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>WindowEdgeWest</unmanaged>
|
|||
/// <unmanaged-short>WindowEdgeWest</unmanaged-short>
|
|||
WindowEdgeWest = unchecked ((System.Int32)(3)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>WindowEdgeEast</unmanaged>
|
|||
/// <unmanaged-short>WindowEdgeEast</unmanaged-short>
|
|||
WindowEdgeEast = unchecked ((System.Int32)(4)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>WindowEdgeSouthWest</unmanaged>
|
|||
/// <unmanaged-short>WindowEdgeSouthWest</unmanaged-short>
|
|||
WindowEdgeSouthWest = unchecked ((System.Int32)(5)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>WindowEdgeSouth</unmanaged>
|
|||
/// <unmanaged-short>WindowEdgeSouth</unmanaged-short>
|
|||
WindowEdgeSouth = unchecked ((System.Int32)(6)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>WindowEdgeSouthEast</unmanaged>
|
|||
/// <unmanaged-short>WindowEdgeSouthEast</unmanaged-short>
|
|||
WindowEdgeSouthEast = unchecked ((System.Int32)(7))} |
|||
|
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnWindowState</unmanaged>
|
|||
/// <unmanaged-short>AvnWindowState</unmanaged-short>
|
|||
public enum AvnWindowState : System.Int32 |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Normal</unmanaged>
|
|||
/// <unmanaged-short>Normal</unmanaged-short>
|
|||
Normal = unchecked ((System.Int32)(0)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Minimized</unmanaged>
|
|||
/// <unmanaged-short>Minimized</unmanaged-short>
|
|||
Minimized = unchecked ((System.Int32)(1)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Maximized</unmanaged>
|
|||
/// <unmanaged-short>Maximized</unmanaged-short>
|
|||
Maximized = unchecked ((System.Int32)(2)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>FullScreen</unmanaged>
|
|||
/// <unmanaged-short>FullScreen</unmanaged-short>
|
|||
FullScreen = unchecked ((System.Int32)(3))} |
|||
|
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>SystemDecorations</unmanaged>
|
|||
/// <unmanaged-short>SystemDecorations</unmanaged-short>
|
|||
public enum SystemDecorations : System.Int32 |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>SystemDecorationsNone</unmanaged>
|
|||
/// <unmanaged-short>SystemDecorationsNone</unmanaged-short>
|
|||
SystemDecorationsNone = unchecked ((System.Int32)(0)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>SystemDecorationsBorderOnly</unmanaged>
|
|||
/// <unmanaged-short>SystemDecorationsBorderOnly</unmanaged-short>
|
|||
SystemDecorationsBorderOnly = unchecked ((System.Int32)(1)), |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>SystemDecorationsFull</unmanaged>
|
|||
/// <unmanaged-short>SystemDecorationsFull</unmanaged-short>
|
|||
SystemDecorationsFull = unchecked ((System.Int32)(2))} |
|||
} |
|||
@ -0,0 +1,5 @@ |
|||
// <auto-generated/>
|
|||
|
|||
namespace Avalonia.Native.Interop |
|||
{ |
|||
} |
|||
File diff suppressed because it is too large
@ -0,0 +1,202 @@ |
|||
// <auto-generated/>
|
|||
|
|||
namespace Avalonia.Native |
|||
{ |
|||
internal static partial class LocalInterop |
|||
{ |
|||
public static unsafe int CalliThisCallint(void *thisObject, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe void CalliThisCallvoid(void *thisObject, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe void CalliThisCallvoid(void *thisObject, void *param0, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe void CalliThisCallvoid0(void *thisObject, Avalonia.Native.Interop.AvnPoint param0, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe void CalliThisCallvoid0(void *thisObject, int param0, System.UInt32 param1, int param2, Avalonia.Native.Interop.AvnPoint param3, Avalonia.Native.Interop.AvnVector param4, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe System.Byte CalliThisCallSystemByte(void *thisObject, int param0, System.UInt32 param1, int param2, System.UInt32 param3, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe System.Byte CalliThisCallSystemByte(void *thisObject, System.UInt32 param0, void *param1, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe void CalliThisCallvoid(void *thisObject, double param0, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe Avalonia.Native.Interop.AvnDragDropEffects CalliThisCallAvaloniaNativeInteropAvnDragDropEffects0(void *thisObject, int param0, Avalonia.Native.Interop.AvnPoint param1, int param2, int param3, void *param4, void *param5, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe System.Byte CalliThisCallSystemByte(void *thisObject, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe void CalliThisCallvoid(void *thisObject, int param0, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe int CalliThisCallint(void *thisObject, void *param0, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe int CalliThisCallint0(void *thisObject, Avalonia.Native.Interop.AvnSize param0, Avalonia.Native.Interop.AvnSize param1, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe int CalliThisCallint(void *thisObject, double param0, double param1, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe int CalliThisCallint0(void *thisObject, Avalonia.Native.Interop.AvnRect param0, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe int CalliThisCallint(void *thisObject, int param0, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe int CalliThisCallint0(void *thisObject, Avalonia.Native.Interop.AvnPoint param0, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe int CalliThisCallint0(void *thisObject, Avalonia.Native.Interop.AvnPoint param0, void *param1, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe int CalliThisCallint(void *thisObject, void *param0, void *param1, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe int CalliThisCallint(void *thisObject, System.Byte param0, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe int CalliThisCallint0(void *thisObject, int param0, Avalonia.Native.Interop.AvnPoint param1, void *param2, void *param3, void *param4, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe int CalliThisCallint0(void *thisObject, Avalonia.Native.Interop.AvnColor param0, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe int CalliThisCallint(void *thisObject, double param0, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe System.IntPtr CalliThisCallSystemIntPtr(void *thisObject, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe System.IntPtr CalliThisCallSystemIntPtr(void *thisObject, int param0, int param1, void *param2, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe void CalliThisCallvoid(void *thisObject, int param0, void *param1, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe void CalliThisCallvoid(void *thisObject, void *param0, void *param1, void *param2, void *param3, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe void CalliThisCallvoid(void *thisObject, void *param0, void *param1, System.Byte param2, void *param3, void *param4, void *param5, void *param6, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe void CalliThisCallvoid(void *thisObject, void *param0, void *param1, void *param2, void *param3, void *param4, void *param5, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe int CalliThisCallint(void *thisObject, int param0, void *param1, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe int CalliThisCallint(void *thisObject, void *param0, void *param1, int param2, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe System.IntPtr CalliThisCallSystemIntPtr(void *thisObject, void *param0, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe int CalliThisCallint(void *thisObject, void *param0, int param1, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe System.UInt32 CalliThisCallSystemUInt32(void *thisObject, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe int CalliThisCallint(void *thisObject, System.UInt32 param0, void *param1, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe void CalliThisCallvoid(void *thisObject, float param0, float param1, float param2, float param3, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe void CalliThisCallvoid(void *thisObject, float param0, float param1, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe int CalliThisCallint(void *thisObject, void *param0, void *param1, void *param2, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
|
|||
public static unsafe void CalliThisCallvoid(void *thisObject, int param0, System.Byte param1, void *methodPtr) |
|||
{ |
|||
throw null; |
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,246 @@ |
|||
// <auto-generated/>
|
|||
|
|||
namespace Avalonia.Native.Interop |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnColor</unmanaged>
|
|||
/// <unmanaged-short>AvnColor</unmanaged-short>
|
|||
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 0, CharSet = System.Runtime.InteropServices.CharSet.Unicode)] |
|||
public partial struct AvnColor |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Alpha</unmanaged>
|
|||
/// <unmanaged-short>Alpha</unmanaged-short>
|
|||
public System.Byte Alpha; |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Red</unmanaged>
|
|||
/// <unmanaged-short>Red</unmanaged-short>
|
|||
public System.Byte Red; |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Green</unmanaged>
|
|||
/// <unmanaged-short>Green</unmanaged-short>
|
|||
public System.Byte Green; |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Blue</unmanaged>
|
|||
/// <unmanaged-short>Blue</unmanaged-short>
|
|||
public System.Byte Blue; |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnFramebuffer</unmanaged>
|
|||
/// <unmanaged-short>AvnFramebuffer</unmanaged-short>
|
|||
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 0, CharSet = System.Runtime.InteropServices.CharSet.Unicode)] |
|||
public partial struct AvnFramebuffer |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Data</unmanaged>
|
|||
/// <unmanaged-short>Data</unmanaged-short>
|
|||
public System.IntPtr Data; |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Width</unmanaged>
|
|||
/// <unmanaged-short>Width</unmanaged-short>
|
|||
public System.Int32 Width; |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Height</unmanaged>
|
|||
/// <unmanaged-short>Height</unmanaged-short>
|
|||
public System.Int32 Height; |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Stride</unmanaged>
|
|||
/// <unmanaged-short>Stride</unmanaged-short>
|
|||
public System.Int32 Stride; |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Dpi</unmanaged>
|
|||
/// <unmanaged-short>Dpi</unmanaged-short>
|
|||
public Avalonia.Native.Interop.AvnVector Dpi; |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>PixelFormat</unmanaged>
|
|||
/// <unmanaged-short>PixelFormat</unmanaged-short>
|
|||
public Avalonia.Native.Interop.AvnPixelFormat PixelFormat; |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnPixelSize</unmanaged>
|
|||
/// <unmanaged-short>AvnPixelSize</unmanaged-short>
|
|||
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 0, CharSet = System.Runtime.InteropServices.CharSet.Unicode)] |
|||
public partial struct AvnPixelSize |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Width</unmanaged>
|
|||
/// <unmanaged-short>Width</unmanaged-short>
|
|||
public System.Int32 Width; |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Height</unmanaged>
|
|||
/// <unmanaged-short>Height</unmanaged-short>
|
|||
public System.Int32 Height; |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnPoint</unmanaged>
|
|||
/// <unmanaged-short>AvnPoint</unmanaged-short>
|
|||
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 0, CharSet = System.Runtime.InteropServices.CharSet.Unicode)] |
|||
public partial struct AvnPoint |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>X</unmanaged>
|
|||
/// <unmanaged-short>X</unmanaged-short>
|
|||
public System.Double X; |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Y</unmanaged>
|
|||
/// <unmanaged-short>Y</unmanaged-short>
|
|||
public System.Double Y; |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnRect</unmanaged>
|
|||
/// <unmanaged-short>AvnRect</unmanaged-short>
|
|||
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 0, CharSet = System.Runtime.InteropServices.CharSet.Unicode)] |
|||
public partial struct AvnRect |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>X</unmanaged>
|
|||
/// <unmanaged-short>X</unmanaged-short>
|
|||
public System.Double X; |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Y</unmanaged>
|
|||
/// <unmanaged-short>Y</unmanaged-short>
|
|||
public System.Double Y; |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Width</unmanaged>
|
|||
/// <unmanaged-short>Width</unmanaged-short>
|
|||
public System.Double Width; |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Height</unmanaged>
|
|||
/// <unmanaged-short>Height</unmanaged-short>
|
|||
public System.Double Height; |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnScreen</unmanaged>
|
|||
/// <unmanaged-short>AvnScreen</unmanaged-short>
|
|||
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 0, CharSet = System.Runtime.InteropServices.CharSet.Unicode)] |
|||
public partial struct AvnScreen |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Bounds</unmanaged>
|
|||
/// <unmanaged-short>Bounds</unmanaged-short>
|
|||
public Avalonia.Native.Interop.AvnRect Bounds; |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>WorkingArea</unmanaged>
|
|||
/// <unmanaged-short>WorkingArea</unmanaged-short>
|
|||
public Avalonia.Native.Interop.AvnRect WorkingArea; |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>PixelDensity</unmanaged>
|
|||
/// <unmanaged-short>PixelDensity</unmanaged-short>
|
|||
public System.Single PixelDensity; |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Primary</unmanaged>
|
|||
/// <unmanaged-short>Primary</unmanaged-short>
|
|||
public bool Primary |
|||
{ |
|||
get => 0 != _Primary; |
|||
set => _Primary = (System.Byte)(value ? 1 : 0); |
|||
} |
|||
|
|||
internal System.Byte _Primary; |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnSize</unmanaged>
|
|||
/// <unmanaged-short>AvnSize</unmanaged-short>
|
|||
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 0, CharSet = System.Runtime.InteropServices.CharSet.Unicode)] |
|||
public partial struct AvnSize |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Width</unmanaged>
|
|||
/// <unmanaged-short>Width</unmanaged-short>
|
|||
public System.Double Width; |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Height</unmanaged>
|
|||
/// <unmanaged-short>Height</unmanaged-short>
|
|||
public System.Double Height; |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>AvnVector</unmanaged>
|
|||
/// <unmanaged-short>AvnVector</unmanaged-short>
|
|||
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential, Pack = 0, CharSet = System.Runtime.InteropServices.CharSet.Unicode)] |
|||
public partial struct AvnVector |
|||
{ |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>X</unmanaged>
|
|||
/// <unmanaged-short>X</unmanaged-short>
|
|||
public System.Double X; |
|||
/// <summary>
|
|||
/// No documentation.
|
|||
/// </summary>
|
|||
/// <unmanaged>Y</unmanaged>
|
|||
/// <unmanaged-short>Y</unmanaged-short>
|
|||
public System.Double Y; |
|||
} |
|||
} |
|||
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue