mirror of
https://github.com/ZuneDev/Xune.git
synced 2026-07-27 13:13:10 -07:00
Abstracted RenderWindow for platform-specific implementations
This commit is contained in:
@@ -8,6 +8,6 @@ namespace Microsoft.Iris.Render.Graphics
|
||||
{
|
||||
internal interface ITreeOwner
|
||||
{
|
||||
TreeNode Root { get; }
|
||||
internal TreeNode Root { get; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Microsoft.Iris.Render.Graphics
|
||||
private RemoteSprite m_remoteSprite;
|
||||
private Effect m_effect;
|
||||
|
||||
public Sprite(RenderSession session, RenderWindow window, object objOwnerData)
|
||||
public Sprite(RenderSession session, RenderWindowBase window, object objOwnerData)
|
||||
: base(session, window, objOwnerData)
|
||||
{
|
||||
this.m_remoteSprite = session.BuildRemoteSprite(this, window);
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace Microsoft.Iris.Render.Graphics
|
||||
public static readonly string RotationProperty = nameof(Rotation);
|
||||
public static readonly string ScaleProperty = nameof(Scale);
|
||||
public static readonly string SizeProperty = nameof(Size);
|
||||
protected RenderWindow m_window;
|
||||
protected RenderWindowBase m_window;
|
||||
protected RemoteVisual m_remoteVisual;
|
||||
private Vector3 m_vecPosition;
|
||||
private Vector2 m_vecSize;
|
||||
@@ -83,7 +83,7 @@ namespace Microsoft.Iris.Render.Graphics
|
||||
s_sectionPropIDMap[9] = s_bvsNineGrid;
|
||||
}
|
||||
|
||||
internal Visual(RenderSession session, RenderWindow window, object objOwnerData)
|
||||
internal Visual(RenderSession session, RenderWindowBase window, object objOwnerData)
|
||||
: base(window)
|
||||
{
|
||||
Debug2.Validate(session != null, typeof(ArgumentNullException), "Must have valid session");
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace Microsoft.Iris.Render.Graphics
|
||||
internal VisualContainer(
|
||||
bool isRoot,
|
||||
RenderSession session,
|
||||
RenderWindow window,
|
||||
RenderWindowBase window,
|
||||
object objOwnerData,
|
||||
out RemoteVisual remoteVisual)
|
||||
: base(session, window, objOwnerData)
|
||||
|
||||
Reference in New Issue
Block a user