mirror of
https://github.com/ZuneDev/MicrosoftIris.git
synced 2026-07-27 13:13:29 -07:00
Make visual tree public
This commit is contained in:
@@ -8,10 +8,10 @@ internal class Program
|
|||||||
{
|
{
|
||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
Console.WriteLine("Launching Iris app...");
|
Console.WriteLine("Initializing Iris...");
|
||||||
|
|
||||||
Application.Initialize();
|
Application.Initialize();
|
||||||
|
|
||||||
|
Console.WriteLine("Loading content...");
|
||||||
Application.Window.Caption = "Iris app";
|
Application.Window.Caption = "Iris app";
|
||||||
Application.Window.RequestLoad("clr-res://SimpleIrisApp!MainPage.uix#Frame");
|
Application.Window.RequestLoad("clr-res://SimpleIrisApp!MainPage.uix#Frame");
|
||||||
|
|
||||||
@@ -21,5 +21,8 @@ internal class Program
|
|||||||
static void OnInitialLoadComplete(object arg)
|
static void OnInitialLoadComplete(object arg)
|
||||||
{
|
{
|
||||||
Console.WriteLine("Initial load complete");
|
Console.WriteLine("Initial load complete");
|
||||||
|
|
||||||
|
var rootUi = Application.Window.Form.Zone.RootUI;
|
||||||
|
var rootView = Application.Window.Form.Zone.RootViewItem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace Microsoft.Iris.Accessibility
|
namespace Microsoft.Iris.Accessibility
|
||||||
{
|
{
|
||||||
internal enum AccRole
|
public enum AccRole
|
||||||
{
|
{
|
||||||
None,
|
None,
|
||||||
TitleBar,
|
TitleBar,
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ using Microsoft.Iris.Session;
|
|||||||
|
|
||||||
namespace Microsoft.Iris.Accessibility
|
namespace Microsoft.Iris.Accessibility
|
||||||
{
|
{
|
||||||
internal class Accessible : NotifyObjectBase
|
public class Accessible : NotifyObjectBase
|
||||||
{
|
{
|
||||||
private DynamicData _dataMap;
|
private DynamicData _dataMap;
|
||||||
private AccessibleProxy _proxy;
|
private AccessibleProxy _proxy;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace Microsoft.Iris.Accessibility
|
namespace Microsoft.Iris.Accessibility
|
||||||
{
|
{
|
||||||
internal enum AccessibleProperty
|
public enum AccessibleProperty
|
||||||
{
|
{
|
||||||
DefaultAction,
|
DefaultAction,
|
||||||
DefaultActionCommand,
|
DefaultActionCommand,
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ using System.Text;
|
|||||||
|
|
||||||
namespace Microsoft.Iris.Animations
|
namespace Microsoft.Iris.Animations
|
||||||
{
|
{
|
||||||
internal class ActiveSequence : DisposableObject
|
public class ActiveSequence : DisposableObject
|
||||||
{
|
{
|
||||||
private UISession _session;
|
private UISession _session;
|
||||||
private IAnimatable _animatableTarget;
|
private IAnimatable _animatableTarget;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ using System;
|
|||||||
namespace Microsoft.Iris.Animations
|
namespace Microsoft.Iris.Animations
|
||||||
{
|
{
|
||||||
[Flags]
|
[Flags]
|
||||||
internal enum ActiveTransitions
|
public enum ActiveTransitions
|
||||||
{
|
{
|
||||||
None = 0,
|
None = 0,
|
||||||
Move = 1,
|
Move = 1,
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using Microsoft.Iris.UI;
|
|||||||
|
|
||||||
namespace Microsoft.Iris.Animations
|
namespace Microsoft.Iris.Animations
|
||||||
{
|
{
|
||||||
internal struct AnimationArgs
|
public struct AnimationArgs
|
||||||
{
|
{
|
||||||
public ViewItem ViewItem;
|
public ViewItem ViewItem;
|
||||||
public Vector3 OldPosition;
|
public Vector3 OldPosition;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace Microsoft.Iris.Animations
|
namespace Microsoft.Iris.Animations
|
||||||
{
|
{
|
||||||
internal enum AnimationEventType
|
public enum AnimationEventType
|
||||||
{
|
{
|
||||||
Show,
|
Show,
|
||||||
Hide,
|
Hide,
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using System;
|
|||||||
|
|
||||||
namespace Microsoft.Iris.Animations
|
namespace Microsoft.Iris.Animations
|
||||||
{
|
{
|
||||||
internal class AnimationHandle : NotifyObjectBase
|
public class AnimationHandle : NotifyObjectBase
|
||||||
{
|
{
|
||||||
private int _playing;
|
private int _playing;
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using System;
|
|||||||
|
|
||||||
namespace Microsoft.Iris.Animations
|
namespace Microsoft.Iris.Animations
|
||||||
{
|
{
|
||||||
internal class AnimationManager : IDisposable
|
public class AnimationManager : IDisposable
|
||||||
{
|
{
|
||||||
private IRenderSession _session;
|
private IRenderSession _session;
|
||||||
private Vector<OrphanedVisualCollection> _orphans;
|
private Vector<OrphanedVisualCollection> _orphans;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ using Microsoft.Iris.Session;
|
|||||||
|
|
||||||
namespace Microsoft.Iris.Animations
|
namespace Microsoft.Iris.Animations
|
||||||
{
|
{
|
||||||
internal class AnimationProxy : DisposableObject
|
public class AnimationProxy : DisposableObject
|
||||||
{
|
{
|
||||||
private ActiveSequence _activeSequence;
|
private ActiveSequence _activeSequence;
|
||||||
private IKeyframeAnimation _animation;
|
private IKeyframeAnimation _animation;
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ using System.Collections.Generic;
|
|||||||
|
|
||||||
namespace Microsoft.Iris.Animations
|
namespace Microsoft.Iris.Animations
|
||||||
{
|
{
|
||||||
internal class AnimationTemplate : ICloneable
|
public class AnimationTemplate : ICloneable
|
||||||
{
|
{
|
||||||
private const float k_epsilon = 0.0001f;
|
private const float k_epsilon = 0.0001f;
|
||||||
private const StopCommand k_defaultStopCommand = StopCommand.MoveToEnd;
|
private const StopCommand k_defaultStopCommand = StopCommand.MoveToEnd;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace Microsoft.Iris.Animations
|
namespace Microsoft.Iris.Animations
|
||||||
{
|
{
|
||||||
internal enum AnimationType
|
public enum AnimationType
|
||||||
{
|
{
|
||||||
First = 0,
|
First = 0,
|
||||||
Position = 0,
|
Position = 0,
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using System.Text;
|
|||||||
|
|
||||||
namespace Microsoft.Iris.Animations
|
namespace Microsoft.Iris.Animations
|
||||||
{
|
{
|
||||||
internal abstract class BaseKeyframe : ICloneable
|
public abstract class BaseKeyframe : ICloneable
|
||||||
{
|
{
|
||||||
private Interpolation _interpolation;
|
private Interpolation _interpolation;
|
||||||
private RelativeTo _relative;
|
private RelativeTo _relative;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace Microsoft.Iris.Animations
|
namespace Microsoft.Iris.Animations
|
||||||
{
|
{
|
||||||
internal class EffectAnimation : AnimationTemplate, IAnimationProvider
|
public class EffectAnimation : AnimationTemplate, IAnimationProvider
|
||||||
{
|
{
|
||||||
AnimationEventType IAnimationProvider.Type => AnimationEventType.Idle;
|
AnimationEventType IAnimationProvider.Type => AnimationEventType.Idle;
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using Microsoft.Iris.Render;
|
|||||||
|
|
||||||
namespace Microsoft.Iris.Animations
|
namespace Microsoft.Iris.Animations
|
||||||
{
|
{
|
||||||
internal interface IAnimatableOwner
|
public interface IAnimatableOwner
|
||||||
{
|
{
|
||||||
IAnimatable AnimationTarget { get; }
|
IAnimatable AnimationTarget { get; }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace Microsoft.Iris.Animations
|
namespace Microsoft.Iris.Animations
|
||||||
{
|
{
|
||||||
internal interface IAnimationProvider
|
public interface IAnimationProvider
|
||||||
{
|
{
|
||||||
AnimationTemplate Build(ref AnimationArgs args);
|
AnimationTemplate Build(ref AnimationArgs args);
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace Microsoft.Iris.Animations
|
namespace Microsoft.Iris.Animations
|
||||||
{
|
{
|
||||||
internal class Interpolation
|
public class Interpolation
|
||||||
{
|
{
|
||||||
public static readonly Interpolation Default = new Interpolation(InterpolationType.Linear);
|
public static readonly Interpolation Default = new Interpolation(InterpolationType.Linear);
|
||||||
private InterpolationType _type;
|
private InterpolationType _type;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace Microsoft.Iris.Animations
|
namespace Microsoft.Iris.Animations
|
||||||
{
|
{
|
||||||
internal enum InterpolationType
|
public enum InterpolationType
|
||||||
{
|
{
|
||||||
Linear,
|
Linear,
|
||||||
SCurve,
|
SCurve,
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using System;
|
|||||||
|
|
||||||
namespace Microsoft.Iris.Animations
|
namespace Microsoft.Iris.Animations
|
||||||
{
|
{
|
||||||
internal class OrphanedVisualCollection : DisposableObject
|
public class OrphanedVisualCollection : DisposableObject
|
||||||
{
|
{
|
||||||
private int _countEventsRemaining;
|
private int _countEventsRemaining;
|
||||||
private Vector<IVisual> _orphansList;
|
private Vector<IVisual> _orphansList;
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user