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)
|
||||
{
|
||||
Console.WriteLine("Launching Iris app...");
|
||||
|
||||
Console.WriteLine("Initializing Iris...");
|
||||
Application.Initialize();
|
||||
|
||||
Console.WriteLine("Loading content...");
|
||||
Application.Window.Caption = "Iris app";
|
||||
Application.Window.RequestLoad("clr-res://SimpleIrisApp!MainPage.uix#Frame");
|
||||
|
||||
@@ -21,5 +21,8 @@ internal class Program
|
||||
static void OnInitialLoadComplete(object arg)
|
||||
{
|
||||
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
|
||||
{
|
||||
internal enum AccRole
|
||||
public enum AccRole
|
||||
{
|
||||
None,
|
||||
TitleBar,
|
||||
|
||||
@@ -11,7 +11,7 @@ using Microsoft.Iris.Session;
|
||||
|
||||
namespace Microsoft.Iris.Accessibility
|
||||
{
|
||||
internal class Accessible : NotifyObjectBase
|
||||
public class Accessible : NotifyObjectBase
|
||||
{
|
||||
private DynamicData _dataMap;
|
||||
private AccessibleProxy _proxy;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
namespace Microsoft.Iris.Accessibility
|
||||
{
|
||||
internal enum AccessibleProperty
|
||||
public enum AccessibleProperty
|
||||
{
|
||||
DefaultAction,
|
||||
DefaultActionCommand,
|
||||
|
||||
@@ -12,7 +12,7 @@ using System.Text;
|
||||
|
||||
namespace Microsoft.Iris.Animations
|
||||
{
|
||||
internal class ActiveSequence : DisposableObject
|
||||
public class ActiveSequence : DisposableObject
|
||||
{
|
||||
private UISession _session;
|
||||
private IAnimatable _animatableTarget;
|
||||
|
||||
@@ -9,7 +9,7 @@ using System;
|
||||
namespace Microsoft.Iris.Animations
|
||||
{
|
||||
[Flags]
|
||||
internal enum ActiveTransitions
|
||||
public enum ActiveTransitions
|
||||
{
|
||||
None = 0,
|
||||
Move = 1,
|
||||
|
||||
@@ -10,7 +10,7 @@ using Microsoft.Iris.UI;
|
||||
|
||||
namespace Microsoft.Iris.Animations
|
||||
{
|
||||
internal struct AnimationArgs
|
||||
public struct AnimationArgs
|
||||
{
|
||||
public ViewItem ViewItem;
|
||||
public Vector3 OldPosition;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
namespace Microsoft.Iris.Animations
|
||||
{
|
||||
internal enum AnimationEventType
|
||||
public enum AnimationEventType
|
||||
{
|
||||
Show,
|
||||
Hide,
|
||||
|
||||
@@ -10,7 +10,7 @@ using System;
|
||||
|
||||
namespace Microsoft.Iris.Animations
|
||||
{
|
||||
internal class AnimationHandle : NotifyObjectBase
|
||||
public class AnimationHandle : NotifyObjectBase
|
||||
{
|
||||
private int _playing;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ using System;
|
||||
|
||||
namespace Microsoft.Iris.Animations
|
||||
{
|
||||
internal class AnimationManager : IDisposable
|
||||
public class AnimationManager : IDisposable
|
||||
{
|
||||
private IRenderSession _session;
|
||||
private Vector<OrphanedVisualCollection> _orphans;
|
||||
|
||||
@@ -11,7 +11,7 @@ using Microsoft.Iris.Session;
|
||||
|
||||
namespace Microsoft.Iris.Animations
|
||||
{
|
||||
internal class AnimationProxy : DisposableObject
|
||||
public class AnimationProxy : DisposableObject
|
||||
{
|
||||
private ActiveSequence _activeSequence;
|
||||
private IKeyframeAnimation _animation;
|
||||
|
||||
@@ -13,7 +13,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace Microsoft.Iris.Animations
|
||||
{
|
||||
internal class AnimationTemplate : ICloneable
|
||||
public class AnimationTemplate : ICloneable
|
||||
{
|
||||
private const float k_epsilon = 0.0001f;
|
||||
private const StopCommand k_defaultStopCommand = StopCommand.MoveToEnd;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
namespace Microsoft.Iris.Animations
|
||||
{
|
||||
internal enum AnimationType
|
||||
public enum AnimationType
|
||||
{
|
||||
First = 0,
|
||||
Position = 0,
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Text;
|
||||
|
||||
namespace Microsoft.Iris.Animations
|
||||
{
|
||||
internal abstract class BaseKeyframe : ICloneable
|
||||
public abstract class BaseKeyframe : ICloneable
|
||||
{
|
||||
private Interpolation _interpolation;
|
||||
private RelativeTo _relative;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
namespace Microsoft.Iris.Animations
|
||||
{
|
||||
internal class EffectAnimation : AnimationTemplate, IAnimationProvider
|
||||
public class EffectAnimation : AnimationTemplate, IAnimationProvider
|
||||
{
|
||||
AnimationEventType IAnimationProvider.Type => AnimationEventType.Idle;
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ using Microsoft.Iris.Render;
|
||||
|
||||
namespace Microsoft.Iris.Animations
|
||||
{
|
||||
internal interface IAnimatableOwner
|
||||
public interface IAnimatableOwner
|
||||
{
|
||||
IAnimatable AnimationTarget { get; }
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
namespace Microsoft.Iris.Animations
|
||||
{
|
||||
internal interface IAnimationProvider
|
||||
public interface IAnimationProvider
|
||||
{
|
||||
AnimationTemplate Build(ref AnimationArgs args);
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
namespace Microsoft.Iris.Animations
|
||||
{
|
||||
internal class Interpolation
|
||||
public class Interpolation
|
||||
{
|
||||
public static readonly Interpolation Default = new Interpolation(InterpolationType.Linear);
|
||||
private InterpolationType _type;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
namespace Microsoft.Iris.Animations
|
||||
{
|
||||
internal enum InterpolationType
|
||||
public enum InterpolationType
|
||||
{
|
||||
Linear,
|
||||
SCurve,
|
||||
|
||||
@@ -10,7 +10,7 @@ using System;
|
||||
|
||||
namespace Microsoft.Iris.Animations
|
||||
{
|
||||
internal class OrphanedVisualCollection : DisposableObject
|
||||
public class OrphanedVisualCollection : DisposableObject
|
||||
{
|
||||
private int _countEventsRemaining;
|
||||
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