mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-28 08:47:59 +01:00
Remove constructors with frame parameters from ScrollBarView class.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
using System;
|
||||
using System.Text;
|
||||
|
||||
namespace Terminal.Gui;
|
||||
namespace Terminal.Gui;
|
||||
|
||||
/// <summary>
|
||||
/// ScrollBarViews are views that display a 1-character scrollbar, either horizontal or vertical
|
||||
@@ -41,26 +41,6 @@ public class ScrollBarView : View {
|
||||
int _size, _position;
|
||||
bool _vertical;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Gui.ScrollBarView"/> class using <see cref="LayoutStyle.Absolute"/>
|
||||
/// layout.
|
||||
/// </summary>
|
||||
/// <param name="rect">Frame for the scrollbar.</param>
|
||||
public ScrollBarView (Rect rect) : this (rect, 0, 0, false) { }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Gui.ScrollBarView"/> class using <see cref="LayoutStyle.Absolute"/>
|
||||
/// layout.
|
||||
/// </summary>
|
||||
/// <param name="rect">Frame for the scrollbar.</param>
|
||||
/// <param name="size">The size that this scrollbar represents. Sets the <see cref="Size"/> property.</param>
|
||||
/// <param name="position">The position within this scrollbar. Sets the <see cref="Position"/> property.</param>
|
||||
/// <param name="isVertical">
|
||||
/// If set to <c>true</c> this is a vertical scrollbar, otherwise, the scrollbar is horizontal. Sets the
|
||||
/// <see cref="IsVertical"/> property.
|
||||
/// </param>
|
||||
public ScrollBarView (Rect rect, int size, int position, bool isVertical) : base (rect) => SetInitialProperties (size, position, isVertical);
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Gui.ScrollBarView"/> class using <see cref="LayoutStyle.Computed"/>
|
||||
/// layout.
|
||||
|
||||
Reference in New Issue
Block a user