init lserp cs 5.0

This commit is contained in:
cyf
2026-07-10 15:25:05 +08:00
commit 90f3fda86a
3799 changed files with 976868 additions and 0 deletions
@@ -0,0 +1,33 @@
namespace Cef3
{
using System;
using System.Collections.Generic;
using System.Text;
using Cef3.Interop;
public sealed class CefDraggableRegion
{
internal static unsafe CefDraggableRegion FromNative(cef_draggable_region_t* ptr)
{
return new CefDraggableRegion(ptr);
}
private readonly CefRectangle _bounds;
private readonly bool _draggable;
private unsafe CefDraggableRegion(cef_draggable_region_t* ptr)
{
_bounds = new CefRectangle(
ptr->bounds.x,
ptr->bounds.y,
ptr->bounds.width,
ptr->bounds.height
);
_draggable = ptr->draggable != 0;
}
public CefRectangle Bounds { get { return _bounds; } }
public bool Draggable { get { return _draggable; } }
}
}