| 123456789101112131415161718192021222324252627282930313233 |
- // Copyright (c) The Perspex Project. All rights reserved.
- // Licensed under the MIT license. See licence.md file in the project root for full license information.
- using System;
- using Moq;
- using Perspex.Layout;
- using Perspex.Platform;
- using Perspex.Rendering;
- namespace Perspex.Controls.UnitTests
- {
- internal class TestRoot : Decorator, ILayoutRoot, IRenderRoot
- {
- public Size ClientSize => new Size(100, 100);
- public ILayoutManager LayoutManager => new Mock<ILayoutManager>().Object;
- public IRenderTarget RenderTarget
- {
- get { throw new NotImplementedException(); }
- }
- public IRenderQueueManager RenderQueueManager
- {
- get { throw new NotImplementedException(); }
- }
- public Point TranslatePointToScreen(Point p)
- {
- return new Point();
- }
- }
- }
|