Browse Source

Reverts 'top level' comment back to 'toplevel'

pull/1851/head
Miha Markič 8 years ago
parent
commit
47b78a413b
  1. 24
      src/Avalonia.Controls/Platform/ITopLevelImpl.cs

24
src/Avalonia.Controls/Platform/ITopLevelImpl.cs

@ -20,12 +20,12 @@ namespace Avalonia.Platform
public interface ITopLevelImpl : IDisposable public interface ITopLevelImpl : IDisposable
{ {
/// <summary> /// <summary>
/// Gets the client size of the top level. /// Gets the client size of the toplevel.
/// </summary> /// </summary>
Size ClientSize { get; } Size ClientSize { get; }
/// <summary> /// <summary>
/// Gets the scaling factor for the top level. /// Gets the scaling factor for the toplevel.
/// </summary> /// </summary>
double Scaling { get; } double Scaling { get; }
@ -42,38 +42,38 @@ namespace Avalonia.Platform
IEnumerable<object> Surfaces { get; } IEnumerable<object> Surfaces { get; }
/// <summary> /// <summary>
/// Gets or sets a method called when the top level receives input. /// Gets or sets a method called when the toplevel receives input.
/// </summary> /// </summary>
Action<RawInputEventArgs> Input { get; set; } Action<RawInputEventArgs> Input { get; set; }
/// <summary> /// <summary>
/// Gets or sets a method called when the top level requires painting. /// Gets or sets a method called when the toplevel requires painting.
/// </summary> /// </summary>
Action<Rect> Paint { get; set; } Action<Rect> Paint { get; set; }
/// <summary> /// <summary>
/// Gets or sets a method called when the top level is resized. /// Gets or sets a method called when the toplevel is resized.
/// </summary> /// </summary>
Action<Size> Resized { get; set; } Action<Size> Resized { get; set; }
/// <summary> /// <summary>
/// Gets or sets a method called when the top level's scaling changes. /// Gets or sets a method called when the toplevel's scaling changes.
/// </summary> /// </summary>
Action<double> ScalingChanged { get; set; } Action<double> ScalingChanged { get; set; }
/// <summary> /// <summary>
/// Creates a new renderer for the top level. /// Creates a new renderer for the toplevel.
/// </summary> /// </summary>
/// <param name="root">The top level.</param> /// <param name="root">The toplevel.</param>
IRenderer CreateRenderer(IRenderRoot root); IRenderer CreateRenderer(IRenderRoot root);
/// <summary> /// <summary>
/// Invalidates a rect on the top level. /// Invalidates a rect on the toplevel.
/// </summary> /// </summary>
void Invalidate(Rect rect); void Invalidate(Rect rect);
/// <summary> /// <summary>
/// Sets the <see cref="IInputRoot"/> for the top level. /// Sets the <see cref="IInputRoot"/> for the toplevel.
/// </summary> /// </summary>
void SetInputRoot(IInputRoot inputRoot); void SetInputRoot(IInputRoot inputRoot);
@ -92,7 +92,7 @@ namespace Avalonia.Platform
Point PointToScreen(Point point); Point PointToScreen(Point point);
/// <summary> /// <summary>
/// Sets the cursor associated with the top level. /// Sets the cursor associated with the toplevel.
/// </summary> /// </summary>
/// <param name="cursor">The cursor. Use null for default cursor</param> /// <param name="cursor">The cursor. Use null for default cursor</param>
void SetCursor(IPlatformHandle cursor); void SetCursor(IPlatformHandle cursor);
@ -103,7 +103,7 @@ namespace Avalonia.Platform
Action Closed { get; set; } Action Closed { get; set; }
/// <summary> /// <summary>
/// Gets a mouse device associated with top level /// Gets a mouse device associated with toplevel
/// </summary> /// </summary>
[CanBeNull] [CanBeNull]
IMouseDevice MouseDevice { get; } IMouseDevice MouseDevice { get; }

Loading…
Cancel
Save