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
{
/// <summary>
/// Gets the client size of the top level.
/// Gets the client size of the toplevel.
/// </summary>
Size ClientSize { get; }
/// <summary>
/// Gets the scaling factor for the top level.
/// Gets the scaling factor for the toplevel.
/// </summary>
double Scaling { get; }
@ -42,38 +42,38 @@ namespace Avalonia.Platform
IEnumerable<object> Surfaces { get; }
/// <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>
Action<RawInputEventArgs> Input { get; set; }
/// <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>
Action<Rect> Paint { get; set; }
/// <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>
Action<Size> Resized { get; set; }
/// <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>
Action<double> ScalingChanged { get; set; }
/// <summary>
/// Creates a new renderer for the top level.
/// Creates a new renderer for the toplevel.
/// </summary>
/// <param name="root">The top level.</param>
/// <param name="root">The toplevel.</param>
IRenderer CreateRenderer(IRenderRoot root);
/// <summary>
/// Invalidates a rect on the top level.
/// Invalidates a rect on the toplevel.
/// </summary>
void Invalidate(Rect rect);
/// <summary>
/// Sets the <see cref="IInputRoot"/> for the top level.
/// Sets the <see cref="IInputRoot"/> for the toplevel.
/// </summary>
void SetInputRoot(IInputRoot inputRoot);
@ -92,7 +92,7 @@ namespace Avalonia.Platform
Point PointToScreen(Point point);
/// <summary>
/// Sets the cursor associated with the top level.
/// Sets the cursor associated with the toplevel.
/// </summary>
/// <param name="cursor">The cursor. Use null for default cursor</param>
void SetCursor(IPlatformHandle cursor);
@ -103,7 +103,7 @@ namespace Avalonia.Platform
Action Closed { get; set; }
/// <summary>
/// Gets a mouse device associated with top level
/// Gets a mouse device associated with toplevel
/// </summary>
[CanBeNull]
IMouseDevice MouseDevice { get; }

Loading…
Cancel
Save