40 lines
778 B
C#
40 lines
778 B
C#
namespace Cef3
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Cef3.Interop;
|
|
|
|
public struct CefPageRange
|
|
{
|
|
internal static unsafe CefPageRange Create(cef_page_range_t* pageRange)
|
|
{
|
|
return new CefPageRange(
|
|
pageRange->from,
|
|
pageRange->to
|
|
);
|
|
}
|
|
|
|
private int _from;
|
|
private int _to;
|
|
|
|
public CefPageRange(int from, int to)
|
|
{
|
|
_from = from;
|
|
_to = to;
|
|
}
|
|
|
|
public int From
|
|
{
|
|
get { return _from; }
|
|
set { _from = value; }
|
|
}
|
|
|
|
public int To
|
|
{
|
|
get { return _to; }
|
|
set { _to = value; }
|
|
}
|
|
}
|
|
}
|